|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.psnc.vlab.util.gui.action.helper.ActionHelper
public final class ActionHelper
Class contains a set of utility methods for the Swing components
| Constructor Summary | |
|---|---|
ActionHelper()
|
|
| Method Summary | |
|---|---|
static void |
addObserver(ActionType observable,
ActionType observer)
Add action observer to the given observable object |
static void |
setAction(javax.swing.AbstractButton component,
AbstractActionDefault action,
boolean enabled)
Set action for the given component. |
static void |
setAction(javax.swing.AbstractButton component,
ActionType actionType,
boolean enabled)
Set action for the given component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionHelper()
| Method Detail |
|---|
public static void setAction(javax.swing.AbstractButton component,
AbstractActionDefault action,
boolean enabled)
component - swing component, instance of AbstractButtonaction - instance of action AbstractActionDefaultenabled - specifies whether action is enabled
public static void setAction(javax.swing.AbstractButton component,
ActionType actionType,
boolean enabled)
component - swing component, instance of AbstractButtonactionType - action type, instance ActionTypeenabled - specifies whether action is enabled
public static void addObserver(ActionType observable,
ActionType observer)
observable - observable instance Observableobserver - observer instance Observer
|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||