public class SelectorDisplayer extends FeatureModel implements Displayable
Constructor and Description |
---|
SelectorDisplayer(SelectorModel model)
Create a selector.
|
Modifier and Type | Method and Description |
---|---|
void |
prepare(FeatureProvider provider,
Services services)
Prepare the feature.
|
void |
render(Graphic g) |
void |
setSelectionColor(ColorRgba color)
Set the selection color.
|
checkListener, getFeature, getFeatures, getFeaturesType, hasFeature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkListener
getFeature, getFeatures, getFeaturesType, hasFeature
public SelectorDisplayer(SelectorModel model)
model
- The model reference.public void setSelectionColor(ColorRgba color)
color
- The selection color.public void prepare(FeatureProvider provider, Services services)
Feature
Services
are required.prepare
in interface Feature
prepare
in class FeatureModel
provider
- The owner reference.services
- The services reference.public void render(Graphic g)
render
in interface Renderable
Copyright © 2016 Byron 3D Games Studio. All rights reserved.