org.xith3d.selection
Class AbstractNodeSelectable<NodeType extends Node>
java.lang.Object
org.xith3d.selection.AbstractNodeSelectable<NodeType>
- All Implemented Interfaces:
- Selectable
- Direct Known Subclasses:
- BoundingBoxSelectable, InvisibleSelectable
public abstract class AbstractNodeSelectable<NodeType extends Node>
- extends java.lang.Object
- implements Selectable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNodeSelectable
public AbstractNodeSelectable(NodeType node)
get
public <T> T get(java.lang.Class<T> type)
- Specified by:
get in interface Selectable
lookup
public <T> java.util.List<T> lookup(java.lang.Class<T> type)
- Specified by:
lookup in interface Selectable
register
public void register(java.lang.Object object)
deregister
public void deregister(java.lang.Object object)
getNode
public NodeType getNode()
- Specified by:
getNode in interface Selectable
isSelectionBound
public boolean isSelectionBound()
- Specified by:
isSelectionBound in interface Selectable
isSelected
public boolean isSelected()
- Specified by:
isSelected in interface Selectable
isSelectedContext
public boolean isSelectedContext()
- Specified by:
isSelectedContext in interface Selectable
setSelected
public void setSelected(SelectionManager selectionManager,
boolean selected)
- Specified by:
setSelected in interface Selectable
setSelectedContext
public void setSelectedContext(SelectionManager selectionManager,
boolean selected)
- Specified by:
setSelectedContext in interface Selectable