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


Field Summary
static java.lang.String DISPLAY_TYPE
           
static java.lang.String NAME
           
 
Fields inherited from class com.inline.feature.common.AbstractFeatureAction
feature
 
Fields inherited from class com.inline.feature.ui.AbstractDisplayable
displayProperties, featureModel
 
Constructor Summary
FieldListAction(Feature feature)
           
 
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 com.inline.feature.common.AbstractFeatureAction
getFeature, toString
 
Methods inherited from class com.inline.feature.ui.AbstractDisplayable
getDisplayProperties, getFeatureModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME

DISPLAY_TYPE

public static final java.lang.String DISPLAY_TYPE
Constructor Detail

FieldListAction

public FieldListAction(Feature feature)
Method Detail

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)