- java.lang.Object
-
- util.settings.Property
-
- Direct Known Subclasses:
BooleanProperty
,ByteProperty
,ChannelArrayProperty
,ChoiceProperty
,ColorProperty
,ContextMenuMouseActionArrayProperty
,DateProperty
,EncodedStringProperty
,FontProperty
,IntArrayProperty
,IntProperty
,ProgramFieldTypeArrayProperty
,ShortProperty
,StringArrayProperty
,StringProperty
,VersionProperty
,ViewProperty
public abstract class Property extends java.lang.Object
- Author:
- Til Schneider, www.murfman.de
-
-
Constructor Summary
Constructors Constructor Description Property(PropertyManager manager, java.lang.String key)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addChangeListener(javax.swing.event.ChangeListener l)
Add a ChangeListener to this Property.protected abstract void
clearCache()
void
fireChangeEvent()
Fire ChangeEvent and inform every Listener about changes in this Propertyjava.lang.String
getKey()
protected java.lang.String
getProperty()
void
removeChangeListener(javax.swing.event.ChangeListener l)
Remove a ChangeListener from this Propertyprotected void
setProperty(java.lang.String value)
-
-
-
Constructor Detail
-
Property
public Property(PropertyManager manager, java.lang.String key)
-
-
Method Detail
-
setProperty
protected void setProperty(java.lang.String value)
-
getProperty
protected java.lang.String getProperty()
-
getKey
public java.lang.String getKey()
-
addChangeListener
public void addChangeListener(javax.swing.event.ChangeListener l)
Add a ChangeListener to this Property. Everytime this Property is changed, a event will be fired- Parameters:
l
- Listener to add
-
removeChangeListener
public void removeChangeListener(javax.swing.event.ChangeListener l)
Remove a ChangeListener from this Property- Parameters:
l
- Listener to remove
-
fireChangeEvent
public void fireChangeEvent()
Fire ChangeEvent and inform every Listener about changes in this Property
-
clearCache
protected abstract void clearCache()
-
-