public interface Selectable<T>
Modifier and Type | Method and Description |
---|---|
void |
addToSelected(T obj) |
void |
clearSelection() |
T |
getActiveObject() |
java.awt.Point |
getActivePoint() |
java.util.List<T> |
getSelectedObjects() |
java.awt.Rectangle |
getSelectedRegion() |
java.awt.Point |
getSelectionEndPoint() |
java.awt.Point |
getSelectionStartPoint() |
boolean |
isSelecting() |
void |
removeFromSelected(T obj) |
void |
setActiveObject(T obj) |
void |
setActivePoint(java.awt.Point point) |
void |
setSelectedRegion(java.awt.Rectangle selectedRegion) |
void |
setSelecting(boolean selecting) |
void |
setSelectionEndPoint(java.awt.Point point) |
void |
setSelectionStartPoint(java.awt.Point point) |
java.util.List<T> getSelectedObjects()
void setSelectionStartPoint(java.awt.Point point)
void setSelectionEndPoint(java.awt.Point point)
void setActivePoint(java.awt.Point point)
void setSelectedRegion(java.awt.Rectangle selectedRegion)
java.awt.Point getSelectionStartPoint()
java.awt.Point getSelectionEndPoint()
java.awt.Point getActivePoint()
java.awt.Rectangle getSelectedRegion()
void addToSelected(T obj)
void removeFromSelected(T obj)
boolean isSelecting()
void setSelecting(boolean selecting)
void clearSelection()
void setActiveObject(T obj)
T getActiveObject()