-
public interface HandleSelectionAn interface that describe an object that can handle selection state.- Since:
- 1.0.11
- Version:
- "1.0.13" - b202005081200L
- Author:
- Julien Seinturier - COMEX S.A. - contact@jorigin.org - https://github.com/jorigin/jeometry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisStateSelectable()Get if the object can be selected.booleanisStateSelected()Get if the object is selected.voidsetStateSelectable(boolean selectable)Set if the object can be selected.voidsetStateSelected(boolean selected)Set if the object is selected.
-
-
-
Method Detail
-
isStateSelected
boolean isStateSelected()
Get if the object is selected.- Returns:
trueif the object is selected andfalseotherwise.- See Also:
isStateSelectable(),setStateSelected(boolean)
-
setStateSelected
void setStateSelected(boolean selected)
Set if the object is selected. This method has to modify the selection state only if itsselectabilityis set totrue.- Parameters:
selected-trueif the object can be selected andfalseotherwise.- See Also:
setStateSelectable(boolean),isStateSelected()
-
isStateSelectable
boolean isStateSelectable()
Get if the object can be selected.- Returns:
trueif the object selection state can be modified andfalseotherwise.- See Also:
isStateSelected(),setStateSelectable(boolean)
-
setStateSelectable
void setStateSelectable(boolean selectable)
Set if the object can be selected.- Parameters:
selectable-trueif the object selection state can be modified andfalseotherwise.- See Also:
setStateSelected(boolean),isStateSelectable()
-
-