gov.noaa.pmel.sgt
Interface Selectable

All Known Subinterfaces:
LayerChild
All Known Implementing Classes:
Axis

public interface Selectable

Interface indicates that object can be selected with a mouse click. To be moveable the object must implement the Moveable interface.

Since:
1.0
Version:
$Revision: 1.3 $, $Date: 2001/01/31 23:41:05 $
Author:
Donald Denbo
See Also:
Moveable

Method Summary
 java.awt.Rectangle getBounds()
          Gets the bounding rectangle in device coordinates.
 boolean isSelectable()
          Returns true if the current state is selectable.
 boolean isSelected()
          Returns true if the object's selected property is set.
 void setSelectable(boolean select)
          Set the Selectable property.
 void setSelected(boolean sel)
          Sets the selected property.
 

Method Detail

setSelected

public void setSelected(boolean sel)
Sets the selected property.
Parameters:
sel - true if selected, false if not.

isSelected

public boolean isSelected()
Returns true if the object's selected property is set.
Returns:
true if selected, false if not.

getBounds

public java.awt.Rectangle getBounds()
Gets the bounding rectangle in device coordinates.
Returns:
bounding rectangle

isSelectable

public boolean isSelectable()
Returns true if the current state is selectable.
Returns:
true if selectable

setSelectable

public void setSelectable(boolean select)
Set the Selectable property.
Parameters:
select - if true object is selectable


Send comments about the Scientific Graphics toolkit to dwd@pmel.noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on December 13 2001