|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.treemap.AbstractTreeMapSettings
com.jidesoft.treemap.DefaultTreeMapSettings
public class DefaultTreeMapSettings
Default implementation of the TreeMapSettings interface.
| Field Summary | |
|---|---|
protected TreeMapField |
_backgroundField
|
protected TreeMapField |
_colorField
|
protected Depth |
_depth
|
protected TreeMapField[] |
_groupByFields
|
protected TreeMapField |
_heightField
|
protected TreeMapField[] |
_labelsFields
|
protected AbstractTreeMapModel |
_model
|
protected Color |
_probingColor
|
protected Rendering |
_rendering
|
protected Color |
_selectionColor
|
protected TreeMapField |
_sizeField
|
protected Color |
_tooltipBackground
|
protected MutableBoundedInterval |
lightSourceAmbient
|
protected MutableBoundedInterval |
lightSourceHeight
|
protected MutableBoundedInterval |
lightSourceX
|
protected MutableBoundedInterval |
lightSourceY
|
protected MutableBoundedInterval |
lightSourceZ
|
protected MutableBoundedInterval |
maximumHeight
|
| Constructor Summary | |
|---|---|
DefaultTreeMapSettings(AbstractTreeMapModel model)
|
|
| Method Summary | |
|---|---|
protected TreeMapFieldSettings |
createDefaultTreeMapFieldSettings()
|
protected TreeMapFieldSettings |
createOverridingTreeMapFieldSettings(TreeMapFieldSettings defaultSettings,
TreeMapModel model,
TreeMapField field)
|
Aggregation |
getAggregation()
Deprecated. |
Algorithm |
getAlgorithm()
Deprecated. |
TreeMapField |
getBackgroundTreeMapField()
Gets the model used to hold the field used to display the background label. |
Color |
getBorderColor()
Deprecated. |
double |
getBorderThickness()
Deprecated. |
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. |
Color |
getHeaderEffectColor()
Deprecated. |
Font |
getHeaderFont()
Deprecated. |
Color |
getHeaderForeground()
Deprecated. |
TreeMapField |
getHeightTreeMapField()
Gets the model used to hold the field used to represent the height. |
Color |
getLabelingEffectColor()
Deprecated. |
Font |
getLabelingFont()
Deprecated. |
Color |
getLabelingForeground()
Deprecated. |
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. |
Ordering |
getOrdering()
Deprecated. |
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. |
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. |
Color |
getTooltipForeground()
Deprecated. |
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 |
resetToDefaults()
|
void |
setAggregation(Aggregation aggregation)
Deprecated. |
void |
setAlgorithm(Algorithm algorithm)
Deprecated. |
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. |
void |
setBorderThickness(double value)
Deprecated. |
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. |
void |
setHeaderEffectColor(Color color)
Deprecated. |
void |
setHeaderFont(Font font)
Deprecated. |
void |
setHeaderForeground(Color color)
Deprecated. |
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. |
void |
setLabelingFont(Font font)
Deprecated. |
void |
setLabelingForeground(Color color)
Deprecated. |
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. |
void |
setOrdering(Ordering ordering)
Deprecated. |
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. |
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. |
void |
setTooltipForeground(Color color)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final AbstractTreeMapModel _model
protected TreeMapField[] _groupByFields
protected TreeMapField[] _labelsFields
protected TreeMapField _sizeField
protected TreeMapField _colorField
protected TreeMapField _backgroundField
protected TreeMapField _heightField
protected Depth _depth
protected Rendering _rendering
protected final MutableBoundedInterval maximumHeight
protected final MutableBoundedInterval lightSourceHeight
protected final MutableBoundedInterval lightSourceAmbient
protected final MutableBoundedInterval lightSourceX
protected final MutableBoundedInterval lightSourceY
protected final MutableBoundedInterval lightSourceZ
protected Color _tooltipBackground
protected Color _probingColor
protected Color _selectionColor
| Constructor Detail |
|---|
public DefaultTreeMapSettings(AbstractTreeMapModel model)
| Method Detail |
|---|
protected TreeMapFieldSettings createDefaultTreeMapFieldSettings()
protected TreeMapFieldSettings createOverridingTreeMapFieldSettings(TreeMapFieldSettings defaultSettings,
TreeMapModel model,
TreeMapField field)
public TreeMapFieldSettings getDefaultFieldSettings()
public TreeMapFieldSettings getFieldSettings(TreeMapField field)
public Boolean isDimensionFixed()
public void setDimensionFixed(Boolean fixed)
public Dimension getDimension()
TreeMapSettings
public void setDimension(Dimension dimension)
TreeMapSettings
dimension - the size of the treemap.public TreeMapView.Progressive getProgressive()
public void setProgressive(TreeMapView.Progressive progressive)
public TreeMapField[] getGroupByTreeMapFields()
public void setGroupByTreeMapFields(TreeMapField[] fields)
public TreeMapField getSizeTreeMapField()
public TreeMapField getColorTreeMapField()
public TreeMapField[] getLabelTreeMapFields()
public TreeMapField getBackgroundTreeMapField()
public TreeMapField getHeightTreeMapField()
public double getMaximumHeight()
public void setMaximumHeight(double height)
height - the maximum height.public Boolean isHideFilterResults()
public Boolean isHideSearchResults()
public void setGroupBy(int... columns)
columns - the indexes of the columns to be used for groupinggetGroupByTreeMapFields()public void setGroupByByNames(String... columnNames)
columnNames - the names of the columns to be used for groupinggetGroupByTreeMapFields()public void setLabels(int... columns)
columns - the indexes of the columns to be used for labelinggetLabelTreeMapFields()public void setLabelsByNames(String... columnNames)
columnNames - the names of the columns to be used for labelinggetLabelTreeMapFields()public List<TreeMapField> getLabelsTreeMapFields()
TreeMapSettings
public void setLabelsTreeMapFields(TreeMapField[] fields)
public List<TreeMapField> getPopupTreeMapFields()
TreeMapSettings
public boolean getShowPopup(TreeMapField field)
TreeMapSettings
field - the field.
public void setShowPopup(TreeMapField field,
boolean show)
TreeMapSettings
field - the field.show - true if it should be displayed, false otherwise.public void setBackground(int column)
column - the index of the column to be used for background labelinggetBackgroundTreeMapField()public void setBackgroundTreeMapField(TreeMapField field)
public void setBackgroundByName(String columnName)
columnName - the name of the column to be used for background labelinggetBackgroundTreeMapField()public void setSize(int column)
column - the index of the column to be used for representing the sizegetSizeTreeMapField()public void setSizeTreeMapField(TreeMapField field)
public void setSizeByName(String columnName)
columnName - the name of the column to be used for representing the sizegetSizeTreeMapField()public void setColor(int column)
column - the index of the column to be used for coloringgetColorTreeMapField()public void setColorByName(String columnName)
columnName - the name of the column to be used for coloringgetColorTreeMapField()public void setColorTreeMapField(TreeMapField field)
public void setHeight(int column)
column - the index of the column to be used for mapping the heightgetHeightTreeMapField()public void setHeightByName(String columnName)
columnName - the name of the column to be used for mapping the heightgetHeightTreeMapField()public void setHeightTreeMapField(TreeMapField field)
public Depth getDepth()
getDepth(),
DepthFactorypublic void setDepth(Depth depth)
depth - the depth to usegetDepth(),
DepthFactorypublic void setRendering(Rendering rendering)
rendering - the rendering scheme to usegetRendering(),
RenderingFactorypublic void setHideFilterResults(Boolean hideFilterResults)
public void setHideSearchResults(Boolean hideSearchResults)
public Rendering getRendering()
getRendering(),
RenderingFactorypublic double getLightSourceHeight()
getLightSourceHeight()public void setLightSourceHeight(double value)
value - the heightgetLightSourceHeight()public double getLightSourceAmbient()
getLightSourceAmbient()public void setLightSourceAmbient(double value)
value - the ambient intensitygetLightSourceAmbient()public double getLightSourceX()
getLightSourceX()public void setLightSourceX(double value)
value - the X positiongetLightSourceX()public double getLightSourceY()
getLightSourceY()public void setLightSourceY(double value)
value - the Y positiongetLightSourceY()public double getLightSourceZ()
getLightSourceZ()public void setLightSourceZ(double value)
value - the Z positiongetLightSourceZ()public Color getTooltipBackground()
getTooltipBackground()public void setTooltipBackground(Color color)
color - the color to be usedgetTooltipBackground()public Color getProbingColor()
getProbingColor()public void setProbingColor(Color color)
color - the color to be usedgetProbingColor()public Color getSelectionColor()
getSelectionColor()public void setSelectionColor(Color color)
color - the color to be usedgetSelectionColor()public Object getValue(String key)
TreeMapSettings
key - the property name
public void resetToDefaults()
@Deprecated public Algorithm getAlgorithm()
getAlgorithm(),
AlgorithmFactory@Deprecated public void setAlgorithm(Algorithm algorithm)
algorithm - the algorithm to usegetAlgorithm(),
AlgorithmFactory@Deprecated public Aggregation getAggregation()
getAggregation(),
AggregationFactory@Deprecated public void setAggregation(Aggregation aggregation)
aggregation - the aggregation scheme to usegetAggregation(),
AggregationFactory@Deprecated public Scale getScale()
getScale(),
ScaleFactory@Deprecated public void setScale(Scale scale)
scale - the scale scheme to usegetScale(),
ScaleFactory@Deprecated public Nesting getNesting()
getNesting(),
NestingFactory@Deprecated public void setNesting(Nesting nesting)
nesting - the nesting scheme to usegetNesting(),
NestingFactory@Deprecated public Ordering getOrdering()
getOrdering(),
OrderingFactory@Deprecated public void setOrdering(Ordering ordering)
ordering - the ordering to usegetOrdering(),
OrderingFactory@Deprecated public Font getLabelingFont()
getLabelingFont()@Deprecated public void setLabelingFont(Font font)
font - the font to be usedgetLabelingFont()@Deprecated public Color getLabelingForeground()
getLabelingForeground()@Deprecated public void setLabelingForeground(Color color)
color - the color to be usedgetLabelingForeground()@Deprecated public Color getLabelingEffectColor()
getLabelingEffectColor()@Deprecated public void setLabelingEffectColor(Color color)
color - the color to be usedgetLabelingEffectColor()@Deprecated public Color getHeaderBackground()
getHeaderBackground()@Deprecated public void setHeaderBackground(Color color)
color - the color to be usedgetHeaderBackground()@Deprecated public Font getHeaderFont()
getHeaderFont()@Deprecated public void setHeaderFont(Font font)
font - the font to be usedgetHeaderFont()@Deprecated public Color getHeaderForeground()
getHeaderForeground()@Deprecated public void setHeaderForeground(Color color)
color - the color to be usedgetHeaderForeground()@Deprecated public Color getHeaderEffectColor()
getHeaderEffectColor()@Deprecated public void setHeaderEffectColor(Color color)
color - the color to be usedgetHeaderEffectColor()@Deprecated public Font getTooltipFont()
getTooltipFont()@Deprecated public void setTooltipFont(Font font)
font - the font to be usedgetTooltipFont()@Deprecated public Color getTooltipForeground()
getTooltipForeground()@Deprecated public void setTooltipForeground(Color color)
color - the color to be usedgetTooltipForeground()@Deprecated public Color getBorderColor()
getBorderColor()@Deprecated public void setBorderColor(Color color)
color - the color to be usedgetBorderColor()@Deprecated public double getBorderThickness()
getBorderThickness()@Deprecated public void setBorderThickness(double value)
value - the heightgetBorderThickness()
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||