Back to index

wims  3.65+svn20090927
Public Member Functions
fr.ove.openmath.jome.behaviour.Selectable Interface Reference

The interface to implement if we want selection abilities. More...

List of all members.

Public Member Functions

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

Detailed Description

The interface to implement if we want selection abilities.

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

Definition at line 37 of file Selectable.java.


Member Function Documentation

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.

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

Returns:
true if the instance has selected elements. false otherwise.

Checks if the instance is selected.

Returns:
true if the instance is selected. false otherwise.

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.

Marks the instance as not selected.

Marks the instance as selected.


The documentation for this interface was generated from the following file: