public class SelectableModel extends FeatureModel implements Selectable
Constructor and Description |
---|
SelectableModel()
Create selectable.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelected()
Check if is selected.
|
void |
onSelection(boolean selected)
Called when has been selected.
|
checkListener, getFeature, getFeatures, getFeaturesType, hasFeature, prepare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkListener, prepare
getFeature, getFeatures, getFeaturesType, hasFeature
public void onSelection(boolean selected)
Selectable
onSelection
in interface Selectable
selected
- true
if selected, false
if unselected.public boolean isSelected()
Selectable
isSelected
in interface Selectable
true
if selected, false
else.Copyright © 2017 Byron 3D Games Studio. All rights reserved.