com.oculustech.layout
Class ActionIdentifier
java.lang.Object
|
+--com.oculustech.layout.ActionIdentifier
- public class ActionIdentifier
- extends java.lang.Object
An instance of this class represents an unique identifier for an Action to
be used in conjunction with the SelectionActions dynamically over-ridable
actions system.
The instances of this class collectively form a type-safe enumeration in
Java. Instances are data-less; their only purpose is to be a distinct
entity which can be treated as a constant value. The Strings which are
passed to the constructor are for debugging purposes only (to make it
easier to differentiate instances when debugging). equals and hashcode
are based on the object identity, independent of this string.
For convenience, a variety of public static final ActionIdentifiers are
defined in this class. Should you wish to add to the enumeration, simply
extend this class, and define more public static final variables. Your
new enumeration class will inherit all the constants from
ActionIdentifier, plus have your own. Note that you do not have to define
a constructor on your class; the new instances you create can be of
ActionIdentifiers.
- See Also:
SelectionActions
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActionIdentifierProperty
public static final java.lang.String ActionIdentifierProperty
- Property name to which action identifier may be stored so as to be
compatible with SelectionActions constructor.
CopyAction
public static final ActionIdentifier CopyAction
CutAction
public static final ActionIdentifier CutAction
PasteAction
public static final ActionIdentifier PasteAction
DuplicateAction
public static final ActionIdentifier DuplicateAction
DeleteAction
public static final ActionIdentifier DeleteAction
SelectAllAction
public static final ActionIdentifier SelectAllAction
PasteAliasAction
public static final ActionIdentifier PasteAliasAction
SaveAction
public static final ActionIdentifier SaveAction
CloseAction
public static final ActionIdentifier CloseAction
RevertAction
public static final ActionIdentifier RevertAction
HelpAction
public static final ActionIdentifier HelpAction
ExecuteAction
public static final ActionIdentifier ExecuteAction
OpenAction
public static final ActionIdentifier OpenAction
OpenInNewWindowAction
public static final ActionIdentifier OpenInNewWindowAction
ValidateAction
public static final ActionIdentifier ValidateAction
ShowAction
public static final ActionIdentifier ShowAction
HideAction
public static final ActionIdentifier HideAction
PropertiesAction
public static final ActionIdentifier PropertiesAction
RenameAction
public static final ActionIdentifier RenameAction
PasteSpecialAction
public static final ActionIdentifier PasteSpecialAction
FormatAction
public static final ActionIdentifier FormatAction
NewWindowAction
public static final ActionIdentifier NewWindowAction
ActionIdentifier
public ActionIdentifier(java.lang.String debugName)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 2001-2002 Oculus Technologies Corporation. 103 Broad Street, 5th Floor,
Boston, Massachusetts, 02110, U.S.A. All Rights Reserved.