com.metsci.glimpse.painter.treemap
Class SimpleTreeMapPainter

java.lang.Object
  extended by com.metsci.glimpse.painter.base.GlimpsePainterImpl
      extended by com.metsci.glimpse.painter.base.GlimpsePainter2D
          extended by com.metsci.glimpse.painter.base.GlimpseDataPainter2D
              extended by com.metsci.glimpse.painter.treemap.AbstractTreeMapPainter
                  extended by com.metsci.glimpse.painter.treemap.SimpleTreeMapPainter
All Implemented Interfaces:
GlimpsePainter

public class SimpleTreeMapPainter
extends AbstractTreeMapPainter

A simple implementation of AbstractTreeMapPainter that has default colors for everything.

Author:
borkholder

Field Summary
 
Fields inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
BYTES_PER_FLOAT, logger
 
Constructor Summary
SimpleTreeMapPainter()
           
 
Method Summary
 void dispose(javax.media.opengl.GLContext context)
           
 float[] getBorderColor()
           
 float[] getLeafColor()
           
 float[] getSelectedLeafColor()
           
 float[] getSelectedTitleBackgroundColor()
           
 java.awt.Color getTextColor()
           
 java.awt.Font getTextFont()
           
 float[] getTitleBorderColor()
           
 java.awt.Color getTitleColor()
           
 java.awt.Font getTitleFont()
           
 void setBorderColor(float[] borderColor)
           
 void setLeafColor(float[] leafColor)
           
 void setSelectedLeafColor(float[] selectedLeafColor)
           
 void setSelectedTitleBackgroundColor(float[] selectedTitleBackgroundColor)
           
 void setTextColor(java.awt.Color textColor)
           
 void setTextFont(java.awt.Font textFont)
           
 void setTitleBorderColor(float[] titleBorderColor)
           
 void setTitleColor(java.awt.Color titleColor)
           
 void setTitleFont(java.awt.Font titleFont)
           
 
Methods inherited from class com.metsci.glimpse.painter.treemap.AbstractTreeMapPainter
getLeafAt, getTreeMapData, getTreeMapLayout, paintTo, setLayout, setTreeMapData
 
Methods inherited from class com.metsci.glimpse.painter.base.GlimpseDataPainter2D
paintTo
 
Methods inherited from class com.metsci.glimpse.painter.base.GlimpsePainter2D
paintTo
 
Methods inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTreeMapPainter

public SimpleTreeMapPainter()
Method Detail

getBorderColor

public float[] getBorderColor()

setBorderColor

public void setBorderColor(float[] borderColor)

getTitleColor

public java.awt.Color getTitleColor()

setTitleColor

public void setTitleColor(java.awt.Color 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 java.awt.Color getTextColor()

setTextColor

public void setTextColor(java.awt.Color textColor)

getTitleFont

public java.awt.Font getTitleFont()

setTitleFont

public void setTitleFont(java.awt.Font titleFont)

getTextFont

public java.awt.Font getTextFont()

setTextFont

public void setTextFont(java.awt.Font textFont)

dispose

public void dispose(javax.media.opengl.GLContext context)
Overrides:
dispose in class AbstractTreeMapPainter


Copyright © 2012 Metron, Inc.. All Rights Reserved.