org.opensourcephysics.display
Interface Selectable

All Superinterfaces:
Drawable, Interactive, Measurable
All Known Implementing Classes:
BoundedImage, BoundedShape, BoundedTextLine, CartesianInteractive, InteractiveArrow, InteractiveCenteredArrow

public interface Selectable
extends Interactive

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

Version:
1.0
Author:
Wolfgang Christian

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

void setSelected(boolean selectable)

toggleSelected

void toggleSelected()

isSelected

boolean isSelected()

getPreferredCursor

java.awt.Cursor getPreferredCursor()