com.inline.feature.example
Class FieldListAction
java.lang.Object
|
+--com.inline.feature.ui.AbstractDisplayable
|
+--com.inline.feature.common.AbstractFeatureAction
|
+--com.inline.feature.example.FieldListAction
- public class FieldListAction
- extends AbstractFeatureAction
Method Summary |
java.lang.String |
getDisplayType()
Displayable objects are bound to their display properties using
an abstract identifier called display type. |
java.awt.Component |
getUI(com.sun.java.util.collections.List messages)
|
boolean |
isEnabled()
Calls featureModel.isFeatureActionEnabled(feature, this) to allow
the feature model to participat in the management of FeatureActions. |
void |
perform()
Executes the action. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
NAME
public static final java.lang.String NAME
DISPLAY_TYPE
public static final java.lang.String DISPLAY_TYPE
FieldListAction
public FieldListAction(Feature feature)
getDisplayType
public java.lang.String getDisplayType()
- Description copied from interface: Displayable
- Displayable objects are bound to their display properties using
an abstract identifier called display type. Ask a displayable object
for its display type, then go find a DisplayPropertyFactory that accepts
that display type. That is the sole purpose of display type.
- Overrides:
- getDisplayType in class AbstractDisplayable
isEnabled
public boolean isEnabled()
- Description copied from class: AbstractFeatureAction
- Calls
featureModel.isFeatureActionEnabled(feature, this)
to allow
the feature model to participat in the management of FeatureActions.
- Overrides:
- isEnabled in class AbstractFeatureAction
- Tags copied from class: AbstractFeatureAction
- See Also:
FeatureModel.isFeatureActionEnabled(Feature,FeatureAction)
perform
public void perform()
- Description copied from interface: FeatureAction
- Executes the action.
getUI
public java.awt.Component getUI(com.sun.java.util.collections.List messages)