|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeMapSettings
Keep track of all the settings that can be applied to a treemap.
Field Summary | |
---|---|
static String |
PROPERTY_BACKGROUND_FIELD
|
static String |
PROPERTY_COLOR_FIELD
|
static String |
PROPERTY_DEPTH
|
static String |
PROPERTY_DIMENSION
|
static String |
PROPERTY_DIMENSION_FIXED
|
static String |
PROPERTY_GROUP_BY_FIELD
|
static String |
PROPERTY_HEIGHT_FIELD
|
static String |
PROPERTY_HIDE_FILTER_RESULTS
|
static String |
PROPERTY_HIDE_SEARCH_RESULTS
|
static String |
PROPERTY_LABELS_FIELD
|
static String |
PROPERTY_PROBING_COLOR
|
static String |
PROPERTY_RENDERING
|
static String |
PROPERTY_SELECTION_COLOR
|
static String |
PROPERTY_SIZE_FIELD
|
static String |
PROPERTY_TOOLTIP_BACKGROUND
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
void |
addTreeMapSettingsListener(TreeMapSettingsListener listener)
Add a listener for receiving interesting events about changes in the settings. |
Aggregation |
getAggregation()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Algorithm |
getAlgorithm()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
TreeMapField |
getBackgroundTreeMapField()
Gets the model used to hold the field used to display the background label. |
Color |
getBorderColor()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
double |
getBorderThickness()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
TreeMapField |
getColorTreeMapField()
Gets the model used to hold the field used to represent the color. |
TreeMapFieldSettings |
getDefaultFieldSettings()
|
Depth |
getDepth()
Returns the depth to use to lay out the treemap. |
Dimension |
getDimension()
Gets the size of the treemap. |
TreeMapFieldSettings |
getFieldSettings(TreeMapField field)
|
TreeMapField[] |
getGroupByTreeMapFields()
Gets the model used to hold the list of fields to be use for grouping. |
Color |
getHeaderBackground()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Color |
getHeaderEffectColor()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Font |
getHeaderFont()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Color |
getHeaderForeground()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
TreeMapField |
getHeightTreeMapField()
Gets the model used to hold the field used to represent the height. |
Color |
getLabelingEffectColor()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Font |
getLabelingFont()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Color |
getLabelingForeground()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
List<TreeMapField> |
getLabelsTreeMapFields()
Gets the list of fields to be used for labeling. |
TreeMapField[] |
getLabelTreeMapFields()
Gets the model used to hold the list of fields to be use for labeling. |
double |
getLightSourceAmbient()
Returns the light source ambient intensity used for drawing the cushions. |
double |
getLightSourceHeight()
Returns the light source height used for drawing the cushions. |
double |
getLightSourceX()
Returns the light source X position used for drawing the cushions. |
double |
getLightSourceY()
Returns the light source Y position used for drawing the cushions. |
double |
getLightSourceZ()
Returns the light source Z position used for drawing the cushions. |
double |
getMaximumHeight()
Gets the maximum height. |
Nesting |
getNesting()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Ordering |
getOrdering()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
List<TreeMapField> |
getPopupTreeMapFields()
Gets the list of fields to be used in the popup. |
Color |
getProbingColor()
Returns the color to use for drawing the borders. |
TreeMapView.Progressive |
getProgressive()
|
Rendering |
getRendering()
Returns the rendering scheme to use to draw the treemap. |
Scale |
getScale()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Color |
getSelectionColor()
Returns the color to use for drawing the borders. |
boolean |
getShowPopup(TreeMapField field)
Tells whether the specified field should be shown in the popup. |
TreeMapField |
getSizeTreeMapField()
Gets the model used to hold the field used to represent the size. |
Color |
getTooltipBackground()
Returns the background color to use for drawing the tooltips. |
Font |
getTooltipFont()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Color |
getTooltipForeground()
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Object |
getValue(String key)
Gets the value of the specified property. |
Boolean |
isDimensionFixed()
|
Boolean |
isHideFilterResults()
Gets the model used to indicate whether filtered nodes should be hidden. |
Boolean |
isHideSearchResults()
Gets the model used to indicate whether nodes that do not match the search criteria should be hidden. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
void |
removeTreeMapSettingsListener()
Remove all the listener from the list of listeners that should be notified about changes in the settings. |
void |
removeTreeMapSettingsListener(TreeMapSettingsListener listener)
Remove a listener from the list of listeners that should be notified about changes in the settings. |
void |
resetToDefaults()
|
void |
setAggregation(Aggregation aggregation)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setAlgorithm(Algorithm algorithm)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setBackground(int column)
Defines the field to use for background labeling. |
void |
setBackgroundByName(String columnName)
Defines the field to use for background labeling. |
void |
setBackgroundTreeMapField(TreeMapField field)
|
void |
setBorderColor(Color color)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setBorderThickness(double value)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setColor(int column)
Defines the field to use for coloring. |
void |
setColorByName(String columnName)
Defines the field to use for coloring. |
void |
setColorTreeMapField(TreeMapField field)
|
void |
setDepth(Depth depth)
Defines the depth to use to lay out the treemap. |
void |
setDimension(Dimension dimension)
Sets the size of the treemap. |
void |
setDimensionFixed(Boolean fixed)
|
void |
setGroupBy(int... columns)
Defines the fields to be use for grouping. |
void |
setGroupByByNames(String... columnNames)
Defines the fields to be use for grouping. |
void |
setGroupByTreeMapFields(TreeMapField[] fields)
|
void |
setHeaderBackground(Color color)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setHeaderEffectColor(Color color)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setHeaderFont(Font font)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setHeaderForeground(Color color)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setHeight(int column)
Defines the field to use for mapping the height. |
void |
setHeightByName(String columnName)
Defines the field to use for mapping the height. |
void |
setHeightTreeMapField(TreeMapField field)
|
void |
setHideFilterResults(Boolean hideFilterResults)
|
void |
setHideSearchResults(Boolean hideSearchResults)
|
void |
setLabelingEffectColor(Color color)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setLabelingFont(Font font)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setLabelingForeground(Color color)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setLabels(int... columns)
Defines the fields to be use for labeling. |
void |
setLabelsByNames(String... columnNames)
Defines the fields to be use for labeling. |
void |
setLabelsTreeMapFields(TreeMapField[] fields)
|
void |
setLightSourceAmbient(double value)
Sets the light source ambient intensity used for drawing the cushions. |
void |
setLightSourceHeight(double value)
Sets the light source height used for drawing the cushions. |
void |
setLightSourceX(double value)
Sets the light source X position used for drawing the cushions. |
void |
setLightSourceY(double value)
Sets the light source Y position used for drawing the cushions. |
void |
setLightSourceZ(double value)
Sets the light source Z position used for drawing the cushions. |
void |
setMaximumHeight(double height)
Sets the maximum height. |
void |
setNesting(Nesting nesting)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setOrdering(Ordering ordering)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setProbingColor(Color color)
Sets the color to use for drawing the borders. |
void |
setProgressive(TreeMapView.Progressive progressive)
|
void |
setRendering(Rendering rendering)
Defines the rendering scheme to use to draw the treemap. |
void |
setScale(Scale scale)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setSelectionColor(Color color)
Sets the color to use for drawing the borders. |
void |
setShowPopup(TreeMapField field,
boolean show)
Sets whether the specified field should be displayed or no in the popup. |
void |
setSize(int column)
Defines the field to use to represent the size. |
void |
setSizeByName(String columnName)
Defines the field to use to represent the size. |
void |
setSizeTreeMapField(TreeMapField field)
|
void |
setTooltipBackground(Color color)
Sets the background color to use for drawing the tooltips. |
void |
setTooltipFont(Font font)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
void |
setTooltipForeground(Color color)
Deprecated. Use getDefaultTreeMapFieldSettings() instead. |
Field Detail |
---|
static final String PROPERTY_SIZE_FIELD
static final String PROPERTY_COLOR_FIELD
static final String PROPERTY_LABELS_FIELD
static final String PROPERTY_BACKGROUND_FIELD
static final String PROPERTY_HEIGHT_FIELD
static final String PROPERTY_GROUP_BY_FIELD
static final String PROPERTY_DEPTH
static final String PROPERTY_RENDERING
static final String PROPERTY_TOOLTIP_BACKGROUND
static final String PROPERTY_PROBING_COLOR
static final String PROPERTY_SELECTION_COLOR
static final String PROPERTY_HIDE_SEARCH_RESULTS
static final String PROPERTY_HIDE_FILTER_RESULTS
static final String PROPERTY_DIMENSION
static final String PROPERTY_DIMENSION_FIXED
Method Detail |
---|
Boolean isDimensionFixed()
void setDimensionFixed(Boolean fixed)
Dimension getDimension()
void setDimension(Dimension dimension)
dimension
- the size of the treemap.TreeMapView.Progressive getProgressive()
void setProgressive(TreeMapView.Progressive progressive)
TreeMapField[] getGroupByTreeMapFields()
void setGroupByTreeMapFields(TreeMapField[] fields)
TreeMapField getSizeTreeMapField()
TreeMapField getColorTreeMapField()
TreeMapField[] getLabelTreeMapFields()
TreeMapField getBackgroundTreeMapField()
TreeMapField getHeightTreeMapField()
Boolean isHideFilterResults()
void setHideFilterResults(Boolean hideFilterResults)
Boolean isHideSearchResults()
void setHideSearchResults(Boolean hideSearchResults)
double getMaximumHeight()
void setMaximumHeight(double height)
height
- the maximum height.void setGroupBy(int... columns)
columns
- the indexes of the columns to be used for groupingDefaultTreeMapSettings.getGroupByTreeMapFields()
void setGroupByByNames(String... columnNames)
columnNames
- the names of the columns to be used for groupingDefaultTreeMapSettings.getGroupByTreeMapFields()
void setLabels(int... columns)
columns
- the indexes of the columns to be used for labelingDefaultTreeMapSettings.getLabelTreeMapFields()
void setLabelsByNames(String... columnNames)
columnNames
- the names of the columns to be used for labelingDefaultTreeMapSettings.getLabelTreeMapFields()
List<TreeMapField> getLabelsTreeMapFields()
void setLabelsTreeMapFields(TreeMapField[] fields)
void setBackground(int column)
column
- the index of the column to be used for background labelingDefaultTreeMapSettings.getBackgroundTreeMapField()
void setBackgroundByName(String columnName)
columnName
- the name of the column to be used for background labelingDefaultTreeMapSettings.getBackgroundTreeMapField()
void setSize(int column)
column
- the index of the column to be used for representing the sizeDefaultTreeMapSettings.getSizeTreeMapField()
void setSizeByName(String columnName)
columnName
- the name of the column to be used for representing the sizeDefaultTreeMapSettings.getSizeTreeMapField()
void setColor(int column)
column
- the index of the column to be used for coloringDefaultTreeMapSettings.getColorTreeMapField()
void setColorByName(String columnName)
columnName
- the name of the column to be used for coloringDefaultTreeMapSettings.getColorTreeMapField()
void setHeight(int column)
column
- the index of the column to be used for mapping the heightDefaultTreeMapSettings.getHeightTreeMapField()
void setHeightByName(String columnName)
columnName
- the name of the column to be used for mapping the heightDefaultTreeMapSettings.getHeightTreeMapField()
void setHeightTreeMapField(TreeMapField field)
void setColorTreeMapField(TreeMapField field)
void setSizeTreeMapField(TreeMapField field)
void setBackgroundTreeMapField(TreeMapField field)
Depth getDepth()
DefaultTreeMapSettings.getDepth()
,
DepthFactory
void setDepth(Depth depth)
depth
- the depth to useDefaultTreeMapSettings.getDepth()
,
DepthFactory
Rendering getRendering()
DefaultTreeMapSettings.getRendering()
,
RenderingFactory
void setRendering(Rendering rendering)
rendering
- the rendering scheme to useDefaultTreeMapSettings.getRendering()
,
RenderingFactory
double getLightSourceHeight()
DefaultTreeMapSettings.getLightSourceHeight()
void setLightSourceHeight(double value)
value
- the heightDefaultTreeMapSettings.getLightSourceHeight()
double getLightSourceAmbient()
DefaultTreeMapSettings.getLightSourceAmbient()
void setLightSourceAmbient(double value)
value
- the ambient intensityDefaultTreeMapSettings.getLightSourceAmbient()
double getLightSourceX()
DefaultTreeMapSettings.getLightSourceX()
void setLightSourceX(double value)
value
- the X positionDefaultTreeMapSettings.getLightSourceX()
double getLightSourceY()
DefaultTreeMapSettings.getLightSourceY()
void setLightSourceY(double value)
value
- the Y positionDefaultTreeMapSettings.getLightSourceY()
double getLightSourceZ()
DefaultTreeMapSettings.getLightSourceZ()
void setLightSourceZ(double value)
value
- the Z positionDefaultTreeMapSettings.getLightSourceZ()
Color getTooltipBackground()
DefaultTreeMapSettings.getTooltipBackground()
void setTooltipBackground(Color color)
color
- the color to be usedDefaultTreeMapSettings.getTooltipBackground()
Color getProbingColor()
DefaultTreeMapSettings.getProbingColor()
void setProbingColor(Color color)
color
- the color to be usedDefaultTreeMapSettings.getProbingColor()
Color getSelectionColor()
DefaultTreeMapSettings.getSelectionColor()
void setSelectionColor(Color color)
color
- the color to be usedDefaultTreeMapSettings.getSelectionColor()
List<TreeMapField> getPopupTreeMapFields()
boolean getShowPopup(TreeMapField field)
field
- the field.
void setShowPopup(TreeMapField field, boolean show)
field
- the field.show
- true if it should be displayed, false otherwise.Object getValue(String key)
key
- the property name
void addTreeMapSettingsListener(TreeMapSettingsListener listener)
listener
- the listener to add.void removeTreeMapSettingsListener(TreeMapSettingsListener listener)
listener
- the listener to remove.void removeTreeMapSettingsListener()
void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
void addPropertyChangeListener(PropertyChangeListener listener)
void removePropertyChangeListener(PropertyChangeListener listener)
void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
TreeMapFieldSettings getDefaultFieldSettings()
TreeMapFieldSettings getFieldSettings(TreeMapField field)
void resetToDefaults()
@Deprecated Algorithm getAlgorithm()
DefaultTreeMapSettings.getAlgorithm()
,
AlgorithmFactory
@Deprecated void setAlgorithm(Algorithm algorithm)
algorithm
- the algorithm to useDefaultTreeMapSettings.getAlgorithm()
,
AlgorithmFactory
@Deprecated Aggregation getAggregation()
DefaultTreeMapSettings.getAggregation()
,
AggregationFactory
@Deprecated void setAggregation(Aggregation aggregation)
aggregation
- the aggregation scheme to useDefaultTreeMapSettings.getAggregation()
,
AggregationFactory
@Deprecated Scale getScale()
DefaultTreeMapSettings.getScale()
,
ScaleFactory
@Deprecated void setScale(Scale scale)
scale
- the scale scheme to useDefaultTreeMapSettings.getScale()
,
ScaleFactory
@Deprecated Nesting getNesting()
DefaultTreeMapSettings.getNesting()
,
NestingFactory
@Deprecated void setNesting(Nesting nesting)
nesting
- the nesting scheme to useDefaultTreeMapSettings.getNesting()
,
NestingFactory
@Deprecated Ordering getOrdering()
DefaultTreeMapSettings.getOrdering()
,
OrderingFactory
@Deprecated void setOrdering(Ordering ordering)
ordering
- the ordering to useDefaultTreeMapSettings.getOrdering()
,
OrderingFactory
@Deprecated Font getLabelingFont()
DefaultTreeMapSettings.getLabelingFont()
@Deprecated void setLabelingFont(Font font)
font
- the font to be usedDefaultTreeMapSettings.getLabelingFont()
@Deprecated Color getLabelingForeground()
DefaultTreeMapSettings.getLabelingForeground()
@Deprecated void setLabelingForeground(Color color)
color
- the color to be usedDefaultTreeMapSettings.getLabelingForeground()
@Deprecated Color getLabelingEffectColor()
DefaultTreeMapSettings.getLabelingEffectColor()
@Deprecated void setLabelingEffectColor(Color color)
color
- the color to be usedDefaultTreeMapSettings.getLabelingEffectColor()
@Deprecated Font getHeaderFont()
DefaultTreeMapSettings.getHeaderFont()
@Deprecated void setHeaderFont(Font font)
font
- the font to be usedDefaultTreeMapSettings.getHeaderFont()
@Deprecated Color getHeaderForeground()
DefaultTreeMapSettings.getHeaderForeground()
@Deprecated void setHeaderForeground(Color color)
color
- the color to be usedDefaultTreeMapSettings.getHeaderForeground()
@Deprecated Color getHeaderBackground()
DefaultTreeMapSettings.getHeaderBackground()
@Deprecated void setHeaderBackground(Color color)
color
- the color to be usedDefaultTreeMapSettings.getHeaderBackground()
@Deprecated Color getHeaderEffectColor()
DefaultTreeMapSettings.getHeaderEffectColor()
@Deprecated void setHeaderEffectColor(Color color)
color
- the color to be usedDefaultTreeMapSettings.getHeaderEffectColor()
@Deprecated Font getTooltipFont()
DefaultTreeMapSettings.getTooltipFont()
@Deprecated void setTooltipFont(Font font)
font
- the font to be usedDefaultTreeMapSettings.getTooltipFont()
@Deprecated Color getTooltipForeground()
DefaultTreeMapSettings.getTooltipForeground()
@Deprecated void setTooltipForeground(Color color)
color
- the color to be usedDefaultTreeMapSettings.getTooltipForeground()
@Deprecated Color getBorderColor()
DefaultTreeMapSettings.getBorderColor()
@Deprecated void setBorderColor(Color color)
color
- the color to be usedDefaultTreeMapSettings.getBorderColor()
@Deprecated double getBorderThickness()
DefaultTreeMapSettings.getBorderThickness()
@Deprecated void setBorderThickness(double value)
value
- the heightDefaultTreeMapSettings.getBorderThickness()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |