Class DefaultTreeMapHeaderRenderer<N,​Row,​Column,​Color,​Font>

  • Type Parameters:
    N -
    All Implemented Interfaces:
    TreeMapHeaderRenderer<N,​Row,​Column,​Color,​Font>

    public class DefaultTreeMapHeaderRenderer<N,​Row,​Column,​Color,​Font>
    extends com.macrofocus.labeling.EnhancedLabel<Color,​Font>
    implements TreeMapHeaderRenderer<N,​Row,​Column,​Color,​Font>
    The standard class for rendering (displaying) headers in a TreeMapView.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.macrofocus.labeling.EnhancedLabel

        com.macrofocus.labeling.EnhancedLabel.ContrastEnhancement, com.macrofocus.labeling.EnhancedLabel.Effect, com.macrofocus.labeling.EnhancedLabel.Rendering
    • Field Summary

      • Fields inherited from class com.macrofocus.labeling.EnhancedLabel

        BOTTOM, CENTER, HORIZONTAL, LEADING, LEFT, NEXT, RIGHT, TOP, TRAILING, VERTICAL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      com.macrofocus.labeling.EnhancedLabel<Color,​Font> getTreeMapHeaderRendererComponent​(TreeMapModel<N,​Row,​Column,​Color,​Font> model, N node, java.awt.Dimension dimension)
      Returns the component used for drawing the headers.
      boolean isOpaque()  
      void setName​(java.lang.String name)  
      void setOpaque​(boolean opaque)  
      protected void setValue​(java.lang.Object value)
      Sets the String object for the cell being rendered to value.
      • Methods inherited from class com.macrofocus.labeling.EnhancedLabel

        getAngle, getBackground, getBorder, getDesiredSize, getEffect, getEffectOpacity, getFont, getForeground, getHeight, getHorizontalAlignment, getInsets, getMinimumCharactersToDisplay, getProperties, getRendering, getText, getVerticalAlignment, getWidth, isEnabled, isJustified, setAngle, setBackground, setBorder, setDesiredSize, setEffect, setEffectOpacity, setFont, setForeground, setHorizontalAlignment, setJustified, setMinimumCharactersToDisplay, setRendering, setText, setVerticalAlignment
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultTreeMapHeaderRenderer

        public DefaultTreeMapHeaderRenderer()
        Creates a default label renderer.
    • Method Detail

      • setValue

        protected void setValue​(java.lang.Object value)
        Sets the String object for the cell being rendered to value.
        Parameters:
        value - the string value for this cell; if value is null it sets the text value to an empty string
        See Also:
        JLabel.setText(String)
      • setOpaque

        public void setOpaque​(boolean opaque)
        Overrides:
        setOpaque in class com.macrofocus.labeling.EnhancedLabel<Color,​Font>
      • isOpaque

        public boolean isOpaque()
        Overrides:
        isOpaque in class com.macrofocus.labeling.EnhancedLabel<Color,​Font>
      • setName

        public void setName​(java.lang.String name)
        Overrides:
        setName in class com.macrofocus.labeling.EnhancedLabel<Color,​Font>
      • getName

        public java.lang.String getName()
        Overrides:
        getName in class com.macrofocus.labeling.EnhancedLabel<Color,​Font>