org.opensourcephysics.display
Interface Selectable

All Superinterfaces:
Drawable, Interactive, Measurable
All Known Implementing Classes:
BoundedShape

public interface Selectable
extends Interactive

Selectable defines methods that enable a user to select an object and then vary the postion, height, and width.


Method Summary
 java.awt.Cursor getPreferredCursor()
           
 boolean isSelected()
           
 void setSelected(boolean selectable)
           
 void toggleSelected()
           
 
Methods inherited from interface org.opensourcephysics.display.Interactive
findInteractive, getX, getY, isEnabled, setEnabled, setX, setXY, setY
 
Methods inherited from interface org.opensourcephysics.display.Measurable
getXMax, getXMin, getYMax, getYMin, isMeasured
 
Methods inherited from interface org.opensourcephysics.display.Drawable
draw
 

Method Detail

setSelected

public void setSelected(boolean selectable)

toggleSelected

public void toggleSelected()

isSelected

public boolean isSelected()

getPreferredCursor

public java.awt.Cursor getPreferredCursor()