org.xith3d.selection
Class AbstractAction

java.lang.Object
  extended by org.xith3d.selection.AbstractAction
All Implemented Interfaces:
Action
Direct Known Subclasses:
Separator

public abstract class AbstractAction
extends java.lang.Object
implements Action


Constructor Summary
AbstractAction(java.lang.String id)
           
AbstractAction(java.lang.String id, java.lang.String displayName)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDisplayName()
           
 java.lang.String getID()
           
 int hashCode()
           
 void setDisplayName(java.lang.String displayName)
           
 boolean testEnabledState(org.openmali.vecmath2.Tuple2i mouseCoords, org.openmali.vecmath2.Tuple3f worldCoords, java.util.List<Selectable> selection, java.util.List<Selectable> selectedContext)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xith3d.selection.Action
performAction
 

Constructor Detail

AbstractAction

public AbstractAction(java.lang.String id,
                      java.lang.String displayName)

AbstractAction

public AbstractAction(java.lang.String id)
Method Detail

getID

public java.lang.String getID()
Specified by:
getID in interface Action

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface Action

setDisplayName

public void setDisplayName(java.lang.String displayName)

testEnabledState

public boolean testEnabledState(org.openmali.vecmath2.Tuple2i mouseCoords,
                                org.openmali.vecmath2.Tuple3f worldCoords,
                                java.util.List<Selectable> selection,
                                java.util.List<Selectable> selectedContext)
Specified by:
testEnabledState in interface Action

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object