fr.ove.openmath.jome.behaviour
Interface Selectable

All Known Implementing Classes:
Display

public interface Selectable

The interface to implement if we want selection abilities.

Version:
2.0 29/06/1999
Author:
© 1999 DIRAT Laurent

Method Summary
 void deselect()
          Deselects the instance.
 boolean gotSelectedElements()
          In the case of an instance composed by different elements (for example trees), this method checks if there are some selected elements.
 boolean isSelected()
          Checks if the instance is selected.
 void select()
          Selects the instance.
 void setNotSelected()
          Marks the instance as not selected.
 void setSelected()
          Marks the instance as selected.
 

Method Detail

select

public void select()
Selects the instance.
In the case of an instance composed by different elements (for example trees), this method is recursive, and then selects the different elements.


setSelected

public void setSelected()
Marks the instance as selected.


deselect

public void deselect()
Deselects the instance.
In the case of an instance composed by different elements (for example trees), this method is recursive, and then deselects the different elements.


setNotSelected

public void setNotSelected()
Marks the instance as not selected.


isSelected

public boolean isSelected()
Checks if the instance is selected.


gotSelectedElements

public boolean gotSelectedElements()
In the case of an instance composed by different elements (for example trees), this method checks if there are some selected elements.



Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.