|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JLabel com.jidesoft.treemap.EnhancedJLabel com.jidesoft.treemap.DefaultTreeMapHeaderRenderer<N>
N
- public class DefaultTreeMapHeaderRenderer<N>
The standard class for rendering (displaying) headers in a TreeMapView.
Nested Class Summary | |
---|---|
static class |
DefaultTreeMapHeaderRenderer.UIResource
A subclass of DefaultTableCellRenderer that
implements UIResource . |
Nested classes/interfaces inherited from class com.jidesoft.treemap.EnhancedJLabel |
---|
EnhancedJLabel.Effect, EnhancedJLabel.Rendering |
Nested classes/interfaces inherited from class javax.swing.JLabel |
---|
JLabel.AccessibleJLabel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JLabel |
---|
labelFor |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
DefaultTreeMapHeaderRenderer()
Creates a default label renderer. |
Method Summary | |
---|---|
void |
firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Overridden for performance reasons. |
protected void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Overridden for performance reasons. |
Component |
getTreeMapHeaderRendererComponent(TreeMapView<N> view,
N node,
Dimension dimension)
Returns the component used for drawing the headers. |
void |
invalidate()
Overridden for performance reasons. |
void |
repaint()
Overridden for performance reasons. |
void |
repaint(long tm,
int x,
int y,
int width,
int height)
Overridden for performance reasons. |
void |
repaint(Rectangle r)
Overridden for performance reasons. |
void |
revalidate()
Overridden for performance reasons. |
protected void |
setValue(Object value)
Sets the String object for the cell being rendered to
value . |
void |
validate()
Overridden for performance reasons. |
Methods inherited from class com.jidesoft.treemap.EnhancedJLabel |
---|
getAngle, getEffectOpacity, getMinimumCharactersToDisplay, getRendering, isJustified, main, setAngle, setEffect, setEffectOpacity, setJustified, setMinimumCharactersToDisplay, setRendering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultTreeMapHeaderRenderer()
Method Detail |
---|
public Component getTreeMapHeaderRendererComponent(TreeMapView<N> view, N node, Dimension dimension)
TreeMapHeaderRenderer
getTreeMapHeaderRendererComponent
in interface TreeMapHeaderRenderer<N>
view
- the viewnode
- the node
public void invalidate()
invalidate
in class Container
public void validate()
validate
in class Container
public void revalidate()
revalidate
in class JComponent
public void repaint(long tm, int x, int y, int width, int height)
repaint
in class JComponent
public void repaint(Rectangle r)
repaint
in class JComponent
public void repaint()
repaint
in class Component
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)
firePropertyChange
in class Component
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
firePropertyChange
in class JComponent
protected void setValue(Object value)
String
object for the cell being rendered to
value
.
value
- the string value for this cell; if value is
null
it sets the text value to an empty stringJLabel.setText(String)
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |