Class SimpleTreeMapPainter
- java.lang.Object
-
- com.metsci.glimpse.core.painter.base.GlimpsePainterBase
-
- com.metsci.glimpse.core.painter.treemap.AbstractTreeMapPainter
-
- com.metsci.glimpse.core.painter.treemap.SimpleTreeMapPainter
-
- All Implemented Interfaces:
GlimpsePainter
public class SimpleTreeMapPainter extends AbstractTreeMapPainter
A simple implementation ofAbstractTreeMapPainter
that has default colors for everything.- Author:
- borkholder
-
-
Constructor Summary
Constructors Constructor Description SimpleTreeMapPainter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float[]
getBorderColor()
float[]
getLeafColor()
float[]
getSelectedLeafColor()
float[]
getSelectedTitleBackgroundColor()
float[]
getTextColor()
Font
getTextFont()
float[]
getTitleBorderColor()
float[]
getTitleColor()
Font
getTitleFont()
void
setBorderColor(float[] borderColor)
void
setLeafColor(float[] leafColor)
void
setSelectedLeafColor(float[] selectedLeafColor)
void
setSelectedTitleBackgroundColor(float[] selectedTitleBackgroundColor)
void
setTextColor(float[] textColor)
void
setTextFont(Font textFont)
void
setTitleBorderColor(float[] titleBorderColor)
void
setTitleColor(float[] titleColor)
void
setTitleFont(Font titleFont)
-
Methods inherited from class com.metsci.glimpse.core.painter.treemap.AbstractTreeMapPainter
getLeafAt, getTreeMapData, getTreeMapLayout, setLayout, setTreeMapData
-
Methods inherited from class com.metsci.glimpse.core.painter.base.GlimpsePainterBase
dispose, getAxis1D, getAxis2D, getBounds, getGL3, isDisposed, isVisible, paintTo, requireAxis1D, requireAxis2D, setLookAndFeel, setVisible
-
-
-
-
Method Detail
-
getBorderColor
public float[] getBorderColor()
-
setBorderColor
public void setBorderColor(float[] borderColor)
-
getTitleColor
public float[] getTitleColor()
-
setTitleColor
public void setTitleColor(float[] titleColor)
-
getTitleBorderColor
public float[] getTitleBorderColor()
-
setTitleBorderColor
public void setTitleBorderColor(float[] titleBorderColor)
-
getSelectedTitleBackgroundColor
public float[] getSelectedTitleBackgroundColor()
-
setSelectedTitleBackgroundColor
public void setSelectedTitleBackgroundColor(float[] selectedTitleBackgroundColor)
-
getLeafColor
public float[] getLeafColor()
-
setLeafColor
public void setLeafColor(float[] leafColor)
-
getSelectedLeafColor
public float[] getSelectedLeafColor()
-
setSelectedLeafColor
public void setSelectedLeafColor(float[] selectedLeafColor)
-
getTextColor
public float[] getTextColor()
-
setTextColor
public void setTextColor(float[] textColor)
-
getTitleFont
public Font getTitleFont()
-
setTitleFont
public void setTitleFont(Font titleFont)
-
getTextFont
public Font getTextFont()
-
setTextFont
public void setTextFont(Font textFont)
-
-