|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.erichseifert.gral.plots.points.AbstractPointRenderer
public abstract class AbstractPointRenderer
Abstract class implementing functions for the administration of settings.
Field Summary |
---|
Fields inherited from interface de.erichseifert.gral.plots.points.PointRenderer |
---|
COLOR, ERROR_COLOR, ERROR_DISPLAYED, ERROR_SHAPE, ERROR_STROKE, SHAPE, VALUE_ALIGNMENT_X, VALUE_ALIGNMENT_Y, VALUE_COLOR, VALUE_DISPLAYED, VALUE_FORMAT |
Constructor Summary | |
---|---|
AbstractPointRenderer()
Creates a new AbstractPointRenderer object with default shape and color. |
Method Summary | ||
---|---|---|
|
getSetting(Settings.Key key)
Returns the setting with the specified key. |
|
|
removeSetting(Settings.Key key)
Removes the setting with the specified key. |
|
|
removeSettingDefault(Settings.Key key)
Removes the default setting with the specified key. |
|
|
setSetting(Settings.Key key,
T value)
Sets the setting with the specified key to the specified value. |
|
|
setSettingDefault(Settings.Key key,
T value)
Sets a default value for the setting with the specified key. |
|
void |
settingChanged(SettingChangeEvent event)
Invoked if a setting has changed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.erichseifert.gral.plots.points.PointRenderer |
---|
getPoint, getPointPath |
Constructor Detail |
---|
public AbstractPointRenderer()
Method Detail |
---|
public <T> T getSetting(Settings.Key key)
SettingsStorage
getSetting
in interface SettingsStorage
T
- Type of setting.key
- Key.
public <T> void setSetting(Settings.Key key, T value)
SettingsStorage
setSetting
in interface SettingsStorage
T
- Type of setting.key
- Key.value
- Value to be set.public <T> void removeSetting(Settings.Key key)
SettingsStorage
removeSetting
in interface SettingsStorage
T
- Type of setting.key
- Key.public <T> void setSettingDefault(Settings.Key key, T value)
SettingsStorage
setSettingDefault
in interface SettingsStorage
T
- Type of setting.key
- Key.value
- Value to be set.public <T> void removeSettingDefault(Settings.Key key)
SettingsStorage
removeSettingDefault
in interface SettingsStorage
T
- Type of setting.key
- Key.public void settingChanged(SettingChangeEvent event)
SettingsListener
settingChanged
in interface SettingsListener
event
- Event containing information about the changed setting.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |