|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.binding.beans.Model
com.jgoodies.jdiskreport.model.settings.ChartSettings
public final class ChartSettings
Provides bound properties for chart related settings.
Field Summary | |
---|---|
static float |
MAX_BRIGHTNESS
|
static int |
MAX_DEPTH
|
static int |
MAX_ELEMENT_LIMIT
|
static float |
MAX_ELEMENT_THRESHOLD
|
static float |
MAX_SATURATION
|
static float |
MIN_BRIGHTNESS
|
static int |
MIN_DEPTH
|
static int |
MIN_ELEMENT_LIMIT
The default value for property 'elementLimit'. |
static float |
MIN_ELEMENT_THRESHOLD
|
static float |
MIN_SATURATION
|
static String |
PROPERTYNAME_BRIGHTNESS
|
static String |
PROPERTYNAME_DEPTH
|
static String |
PROPERTYNAME_ELEMENT_LIMIT
|
static String |
PROPERTYNAME_ELEMENT_THRESHOLD
|
static String |
PROPERTYNAME_SATURATION
|
Method Summary | |
---|---|
float |
getBrightness()
Returns the brightness of the colors used in the charts. |
int |
getDepth()
Returns the depth of hierachical charts. |
int |
getElementLimit()
Returns the maximum number of individual elements per chart. |
float |
getElementThreshold()
Returns the threshold for elements to be displayed in a chart. |
float |
getSaturation()
Returns the saturation of the colors used for the chart elements. |
void |
restoreFrom(Preferences prefs)
Restores the persistent properties from the specified Preferences. |
void |
setBrightness(float newBrightness)
Sets a new chart color brightness. |
void |
setDepth(int newDepth)
Sets a new depth for the hierachical charts. |
void |
setElementLimit(int newValue)
Sets a new upper bound for the number of individual elements per chart. |
void |
setElementThreshold(float newThreshold)
Sets a new threshold for elements to be displayed in charts. |
void |
setSaturation(float newSaturation)
Sets a new saturation for the colors used for the chart elements. |
void |
storeIn(Preferences prefs)
Stores the persistent properties in the specified Preferences. |
Methods inherited from class com.jgoodies.binding.beans.Model |
---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROPERTYNAME_BRIGHTNESS
public static final String PROPERTYNAME_DEPTH
public static final String PROPERTYNAME_SATURATION
public static final String PROPERTYNAME_ELEMENT_LIMIT
public static final String PROPERTYNAME_ELEMENT_THRESHOLD
public static final float MIN_BRIGHTNESS
public static final float MAX_BRIGHTNESS
public static final int MIN_DEPTH
public static final int MAX_DEPTH
public static final int MIN_ELEMENT_LIMIT
public static final int MAX_ELEMENT_LIMIT
public static final float MIN_ELEMENT_THRESHOLD
public static final float MAX_ELEMENT_THRESHOLD
public static final float MIN_SATURATION
public static final float MAX_SATURATION
Method Detail |
---|
public float getBrightness()
public void setBrightness(float newBrightness)
newBrightness
- the brightness to be setpublic int getDepth()
public void setDepth(int newDepth)
newDepth
- the depth to be setpublic int getElementLimit()
public void setElementLimit(int newValue)
newValue
- the new upper bound to be setpublic float getElementThreshold()
public void setElementThreshold(float newThreshold)
newThreshold
- the threshold to be setpublic float getSaturation()
public void setSaturation(float newSaturation)
newSaturation
- the satuation to be setpublic void restoreFrom(Preferences prefs)
prefs
- the Preferences object that holds the property valuespublic void storeIn(Preferences prefs)
prefs
- the Preferences object that holds the property values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |