|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.treemap.AbstractTreeMapFieldSettings com.jidesoft.treemap.DefaultTreeMapFieldSettings
public class DefaultTreeMapFieldSettings
Constructor Summary | |
---|---|
DefaultTreeMapFieldSettings()
|
Method Summary | |
---|---|
protected MutableColorMap |
createDefaultColorMap(TreeMapField field)
|
Aggregation |
getAggregation()
Returns the aggregation scheme to use to aggregate values of the treemap. |
Algorithm |
getAlgorithm()
Returns the algorithm to use to lay out the treemap. |
Color |
getBorderColor()
Returns the color to use for drawing the borders. |
double |
getBorderThickness()
Returns the thickness used for drawing the borders. |
MutableColorMap |
getColorMap()
Gets the color map for the specified column. |
static Font |
getDefaultHeaderFont()
|
static Font |
getDefaultLabelingFont()
|
static Font |
getDefaultTooltipFont()
|
Format |
getFormat()
Gets the format used to display values of the specified column. |
Color |
getHeaderBackground()
Returns the background color to use for drawing the headers. |
EnhancedJLabel.Effect |
getHeaderEffect()
|
Color |
getHeaderEffectColor()
Returns the effect color to use for drawing the headers. |
Float |
getHeaderEffectOpacity()
|
Font |
getHeaderFont()
Returns the font used for labeling the headings. |
Color |
getHeaderForeground()
Returns the foreground color to use for drawing the headers. |
Integer |
getHeaderHorizontalAlignment()
|
Integer |
getHeaderMinimumCharactersToDisplay()
|
EnhancedJLabel.Rendering |
getHeaderRendering()
|
Integer |
getHeaderVerticalAlignment()
|
Labeling |
getLabeling()
Returns the labeling scheme to use to draw the treemap. |
EnhancedJLabel.Effect |
getLabelingEffect()
|
Color |
getLabelingEffectColor()
Returns the effect color to use for drawing the labels. |
Float |
getLabelingEffectOpacity()
|
Font |
getLabelingFont()
Returns the font used for labeling. |
Color |
getLabelingForeground()
Returns the foreground color to use for drawing the labels. |
Integer |
getLabelingHorizontalAlignment()
|
Integer |
getLabelingMinimumCharactersToDisplay()
|
EnhancedJLabel.Rendering |
getLabelingRendering()
|
Integer |
getLabelingVerticalAlignment()
|
Nesting |
getNesting()
Returns the nesting to use to lay out the treemap. |
Ordering |
getOrdering()
Returns the ordering to use to lay out the treemap. |
Scale |
getScale()
Returns the scaling scheme to use to project values the treemap. |
boolean |
getShowTooltipLabel()
Tells whether the label of the specified field should be shown in the popup. |
Font |
getTooltipFont()
Returns the font used for labeling the tooltips. |
Color |
getTooltipForeground()
Returns the foreground color to use for drawing the tooltips. |
EnhancedJLabel.Rendering |
getTooltipRendering()
|
Object |
getValue(String key)
Gets the value of the specified property. |
void |
setAggregation(Aggregation aggregation)
Defines the aggregation scheme to use to aggregate values of the treemap. |
void |
setAlgorithm(Algorithm algorithm)
Defines the algorithm to use to lay out the treemap. |
void |
setBorderColor(Color color)
Sets the color to use for drawing the borders. |
void |
setBorderThickness(double value)
Sets the thickness used for drawing the borders. |
void |
setColorMap(MutableColorMap colorMap)
Sets the color map to use for the specified column. |
void |
setFormat(Format format)
Sets the format used to display values of the specified column. |
void |
setHeaderBackground(Color color)
Sets the background color to use for drawing the headers. |
void |
setHeaderEffect(EnhancedJLabel.Effect effect)
|
void |
setHeaderEffectColor(Color color)
Sets the background color to use for drawing the headers. |
void |
setHeaderEffectOpacity(Float opacity)
|
void |
setHeaderFont(Font font)
Sets the font used for labeling the headings. |
void |
setHeaderForeground(Color color)
Sets the foreground color to use for drawing the headers. |
void |
setHeaderHorizontalAlignment(Integer alignment)
|
void |
setHeaderMinimumCharactersToDisplay(Integer minimumCharactersToDisplay)
|
void |
setHeaderRendering(EnhancedJLabel.Rendering rendering)
|
void |
setHeaderVerticalAlignment(Integer alignment)
|
void |
setLabeling(Labeling labeling)
Defines the labeling scheme to use to draw the treemap. |
void |
setLabelingEffect(EnhancedJLabel.Effect effect)
|
void |
setLabelingEffectColor(Color color)
Sets the effect color to use for drawing the labels. |
void |
setLabelingEffectOpacity(Float opacity)
|
void |
setLabelingFont(Font font)
Sets the font used for labeling. |
void |
setLabelingForeground(Color color)
Sets the foreground color to use for drawing the labels. |
void |
setLabelingHorizontalAlignment(Integer alignment)
|
void |
setLabelingMinimumCharactersToDisplay(Integer minimumCharactersToDisplay)
|
void |
setLabelingRendering(EnhancedJLabel.Rendering rendering)
|
void |
setLabelingVerticalAlignment(Integer alignment)
|
void |
setNesting(Nesting nesting)
Defines the nesting to use to lay out the treemap. |
void |
setOrdering(Ordering ordering)
Defines the ordering to use to lay out the treemap. |
void |
setScale(Scale scale)
Defines the scaling scheme to use to project values the treemap. |
void |
setShowTooltipLabel(boolean show)
Sets whether the label of the specified field should be displayed or no in the popup. |
void |
setTooltipFont(Font font)
Sets the font used for labeling the tooltips. |
void |
setTooltipForeground(Color color)
Sets the foreground color to use for drawing the tooltips. |
void |
setTooltipRendering(EnhancedJLabel.Rendering rendering)
|
Methods inherited from class com.jidesoft.treemap.AbstractTreeMapFieldSettings |
---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final MutableBoundedInterval borderThickness
protected Algorithm _algorithm
protected Aggregation _aggregation
protected Scale _scale
protected Nesting _nesting
protected Ordering _ordering
protected Labeling _labeling
protected Font _labelingFont
protected Color _labelingForeground
protected Color _labelingBackground
public EnhancedJLabel.Effect labelingEffect
public Integer labelingHorizontalAlignment
public Integer labelingVerticalAlignment
public EnhancedJLabel.Rendering labelingRendering
protected Integer labelingMinimumCharactersToDisplay
protected Float labelingEffectOpacity
protected Font _headerFont
protected Color _headerForeground
protected Color _headerEffectColor
protected Color _headerBackground
public EnhancedJLabel.Effect headerEffect
public Integer headerHorizontalAlignment
public Integer headerVerticalAlignment
public EnhancedJLabel.Rendering headerRendering
protected Integer headerMinimumCharactersToDisplay
protected Float headerEffectOpacity
protected Font _tooltipFont
protected Color _tooltipForeground
protected Boolean _tooltipShowLabel
public EnhancedJLabel.Rendering tooltipRendering
protected Color _borderColor
protected Format _format
protected MutableColorMap _colorMap
Constructor Detail |
---|
public DefaultTreeMapFieldSettings()
Method Detail |
---|
public static Font getDefaultHeaderFont()
public static Font getDefaultLabelingFont()
public static Font getDefaultTooltipFont()
public Algorithm getAlgorithm()
DefaultTreeMapSettings.getAlgorithm()
,
AlgorithmFactory
public void setAlgorithm(Algorithm algorithm)
algorithm
- the algorithm to useDefaultTreeMapSettings.getAlgorithm()
,
AlgorithmFactory
public Aggregation getAggregation()
DefaultTreeMapSettings.getAggregation()
,
AggregationFactory
public void setAggregation(Aggregation aggregation)
aggregation
- the aggregation scheme to useDefaultTreeMapSettings.getAggregation()
,
AggregationFactory
public Scale getScale()
DefaultTreeMapSettings.getScale()
,
ScaleFactory
public void setScale(Scale scale)
scale
- the scale scheme to useDefaultTreeMapSettings.getScale()
,
ScaleFactory
public Nesting getNesting()
DefaultTreeMapSettings.getNesting()
,
NestingFactory
public void setNesting(Nesting nesting)
nesting
- the nesting scheme to useDefaultTreeMapSettings.getNesting()
,
NestingFactory
public Ordering getOrdering()
DefaultTreeMapSettings.getOrdering()
,
OrderingFactory
public void setOrdering(Ordering ordering)
ordering
- the ordering to useDefaultTreeMapSettings.getOrdering()
,
OrderingFactory
public Labeling getLabeling()
getLabeling()
,
LabelingFactory
public void setLabeling(Labeling labeling)
labeling
- the labeling scheme to usegetLabeling()
,
LabelingFactory
public Font getLabelingFont()
DefaultTreeMapSettings.getLabelingFont()
public void setLabelingFont(Font font)
font
- the font to be usedDefaultTreeMapSettings.getLabelingFont()
public Color getLabelingForeground()
DefaultTreeMapSettings.getLabelingForeground()
public void setLabelingForeground(Color color)
color
- the color to be usedDefaultTreeMapSettings.getLabelingForeground()
public Color getLabelingEffectColor()
DefaultTreeMapSettings.getLabelingEffectColor()
public void setLabelingEffectColor(Color color)
color
- the color to be usedDefaultTreeMapSettings.getLabelingEffectColor()
public EnhancedJLabel.Effect getLabelingEffect()
public void setLabelingEffect(EnhancedJLabel.Effect effect)
public Integer getLabelingHorizontalAlignment()
public void setLabelingHorizontalAlignment(Integer alignment)
public Integer getLabelingVerticalAlignment()
public void setLabelingVerticalAlignment(Integer alignment)
public EnhancedJLabel.Rendering getLabelingRendering()
public void setLabelingRendering(EnhancedJLabel.Rendering rendering)
public Integer getLabelingMinimumCharactersToDisplay()
public void setLabelingMinimumCharactersToDisplay(Integer minimumCharactersToDisplay)
public Float getLabelingEffectOpacity()
public void setLabelingEffectOpacity(Float opacity)
public Color getHeaderBackground()
DefaultTreeMapSettings.getHeaderBackground()
public void setHeaderBackground(Color color)
color
- the color to be usedDefaultTreeMapSettings.getHeaderBackground()
public Font getHeaderFont()
DefaultTreeMapSettings.getHeaderFont()
public void setHeaderFont(Font font)
font
- the font to be usedDefaultTreeMapSettings.getHeaderFont()
public Color getHeaderForeground()
DefaultTreeMapSettings.getHeaderForeground()
public void setHeaderForeground(Color color)
color
- the color to be usedDefaultTreeMapSettings.getHeaderForeground()
public Color getHeaderEffectColor()
DefaultTreeMapSettings.getHeaderEffectColor()
public void setHeaderEffectColor(Color color)
color
- the color to be usedDefaultTreeMapSettings.getHeaderEffectColor()
public EnhancedJLabel.Effect getHeaderEffect()
public void setHeaderEffect(EnhancedJLabel.Effect effect)
public Integer getHeaderHorizontalAlignment()
public void setHeaderHorizontalAlignment(Integer alignment)
public Integer getHeaderVerticalAlignment()
public void setHeaderVerticalAlignment(Integer alignment)
public EnhancedJLabel.Rendering getHeaderRendering()
public void setHeaderRendering(EnhancedJLabel.Rendering rendering)
public Integer getHeaderMinimumCharactersToDisplay()
public void setHeaderMinimumCharactersToDisplay(Integer minimumCharactersToDisplay)
public Float getHeaderEffectOpacity()
public void setHeaderEffectOpacity(Float opacity)
public Font getTooltipFont()
DefaultTreeMapSettings.getTooltipFont()
public void setTooltipFont(Font font)
font
- the font to be usedDefaultTreeMapSettings.getTooltipFont()
public Color getTooltipForeground()
DefaultTreeMapSettings.getTooltipForeground()
public void setTooltipForeground(Color color)
color
- the color to be usedDefaultTreeMapSettings.getTooltipForeground()
public EnhancedJLabel.Rendering getTooltipRendering()
public void setTooltipRendering(EnhancedJLabel.Rendering rendering)
public Color getBorderColor()
DefaultTreeMapSettings.getBorderColor()
public void setBorderColor(Color color)
color
- the color to be usedDefaultTreeMapSettings.getBorderColor()
public double getBorderThickness()
DefaultTreeMapSettings.getBorderThickness()
public void setBorderThickness(double value)
value
- the heightDefaultTreeMapSettings.getBorderThickness()
public Format getFormat()
TreeMapFieldSettings
public void setFormat(Format format)
TreeMapFieldSettings
format
- the format to be used.public MutableColorMap getColorMap()
TreeMapFieldSettings
public void setColorMap(MutableColorMap colorMap)
TreeMapFieldSettings
colorMap
- the colorMap to use.protected MutableColorMap createDefaultColorMap(TreeMapField field)
public boolean getShowTooltipLabel()
TreeMapFieldSettings
public void setShowTooltipLabel(boolean show)
TreeMapFieldSettings
show
- true if it should be displayed, false otherwise.public Object getValue(String key)
TreeMapFieldSettings
key
- the property name
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |