public abstract class DefaultTransformsAction extends TransformAction
ACCELERATOR, ACTION, ACTION_MENU_ACTIONS, ACTION_MENU_HAS_DEFAULT_ACTION, BUTTON_GROUP_NAME, CAN_BE_PLACED_ON_MAIN_TOOLBAR, CATEGORY, CONTEXT_INDEPENDENT_NAME, DISABLED_ICON, HIDDEN, MENU_WEIGHT, MENU_WEIGHT_UNASSIGNED, MNEMONIC, PERFORM_ACTION_LATER, RADIO, STATE, TOGGLES, USER_DATA| Modifier | Constructor and Description |
|---|---|
protected |
DefaultTransformsAction(java.lang.String label,
javax.swing.Icon icon,
Transform transform) |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getApplicableModelCount()
Gets the number of models for which this action has applicable transforms.
|
abstract java.util.Collection<ModelAdapter> |
getApplicableModels()
Gets the models for which this action has applicable transforms.
|
abstract int |
getApplicableTransformCount()
Gets the number of transforms of this action that are applicable.
|
abstract int |
getAppliedTransformCount()
Gets the number of transforms applied by this action.
|
abstract int |
getModifiedModelCount()
Gets the number models modified by this action.
|
abstract java.util.Collection<java.lang.String> |
getTransformDescriptions()
Gets descriptions of the transforms of this action.
|
apply, getTransformaddPropertyResolver, freezeKeyboard, getBooleanValue, getMenuWeight, getState, getValue, isActionMenu, isRadio, isToggle, listenForItemEvent, putValue, removePropertyResolver, setBooleanValue, setMenuWeight, setName, setState, toStringaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, isEnabled, removePropertyChangeListener, setEnabledprotected DefaultTransformsAction(java.lang.String label,
javax.swing.Icon icon,
Transform transform)
public abstract java.util.Collection<java.lang.String> getTransformDescriptions()
public abstract int getApplicableTransformCount()
public abstract int getApplicableModelCount()
public abstract java.util.Collection<ModelAdapter> getApplicableModels()
public abstract int getAppliedTransformCount()
public abstract int getModifiedModelCount()