|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.renderer.ComponentProvider<JLabel>
org.jdesktop.swingx.renderer.LabelProvider
org.jdesktop.swingx.renderer.TreeLabelProvider
public class TreeLabelProvider
A LabelProvider specialized on rendering in JTree.
This is no longer used, replaced by WrappingProvider
. Will be
removed as soon as the replacement is fully functional.
WrappingProvider
,
Serialized FormField Summary |
---|
Fields inherited from class org.jdesktop.swingx.renderer.ComponentProvider |
---|
alignment, defaultVisuals, formatter, rendererComponent |
Constructor Summary | |
---|---|
TreeLabelProvider()
Deprecated. |
|
TreeLabelProvider(StringValue converter)
Deprecated. |
Method Summary | |
---|---|
protected void |
configureBorder(CellContext context)
Deprecated. |
protected void |
configureIcon(CellContext context)
Deprecated. |
protected void |
configureState(CellContext context)
Deprecated. Configures the renderering component's state from the given cell context. Here: sets the Label's horizontal alignment to the alignment as configured in the controller. |
protected JLabel |
createRendererComponent()
Deprecated. Factory method to create and return the component to use for rendering. |
protected Icon |
getIcon(CellContext context)
Deprecated. Returns the icon to use for rendering the current tree node. |
Methods inherited from class org.jdesktop.swingx.renderer.LabelProvider |
---|
format |
Methods inherited from class org.jdesktop.swingx.renderer.ComponentProvider |
---|
configureContent, configureVisuals, createRendererController, getHorizontalAlignment, getRendererComponent, getRendererController, getStringValue, getToStringConverter, setHorizontalAlignment, setToStringConverter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeLabelProvider()
public TreeLabelProvider(StringValue converter)
converter
- Method Detail |
---|
protected void configureState(CellContext context)
Overridden to copy the context's selected and focused state which are needed during the paint.
configureState
in class LabelProvider
context
- the cell context to configure from, must not be null.protected void configureBorder(CellContext context)
context
- protected void configureIcon(CellContext context)
protected Icon getIcon(CellContext context)
context
-
protected JLabel createRendererComponent()
createRendererComponent
in class LabelProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |