adavid.swing
Class LTreeContentAdapter
java.lang.Object
|
+--adavid.swing.LTreeContentAdapter
- public class LTreeContentAdapter
- extends java.lang.Object
- implements LTreeContent
adapter for the content of a LTreeNode
Field Summary |
static java.lang.String |
path$icons
the path of the icons |
static javax.swing.Icon |
TreeLeaf
the icons themselves ; note that they are the same
in adavid.awt.ImageTNodeRenderer ; the difference is
that here we have Icon (which are ImageIcon in fact)
see ImageTNodeRenderer for comments on the weak programming
model |
static javax.swing.Icon |
TreeLeafSelected
the icons themselves ; note that they are the same
in adavid.awt.ImageTNodeRenderer ; the difference is
that here we have Icon (which are ImageIcon in fact)
see ImageTNodeRenderer for comments on the weak programming
model |
static javax.swing.Icon |
TreeNode
|
static javax.swing.Icon |
TreeOpen
|
static javax.swing.Icon |
TreeOpenSelected
|
static javax.swing.Icon |
TreeSelected
|
Method Summary |
javax.swing.Icon |
getIcon(boolean isExpanded,
boolean isLeaf,
boolean isSelected)
returns the icon to be displayed by a cell |
java.lang.String |
getText()
implemented just to get an instance of this class for the resources |
java.lang.String |
getToolTip()
default value |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
path$icons
public static java.lang.String path$icons
- the path of the icons
TreeLeaf
public static javax.swing.Icon TreeLeaf
- the icons themselves ; note that they are the same
in adavid.awt.ImageTNodeRenderer ; the difference is
that here we have Icon (which are ImageIcon in fact)
see ImageTNodeRenderer for comments on the weak programming
model
TreeLeafSelected
public static javax.swing.Icon TreeLeafSelected
- the icons themselves ; note that they are the same
in adavid.awt.ImageTNodeRenderer ; the difference is
that here we have Icon (which are ImageIcon in fact)
see ImageTNodeRenderer for comments on the weak programming
model
TreeNode
public static javax.swing.Icon TreeNode
TreeSelected
public static javax.swing.Icon TreeSelected
TreeOpen
public static javax.swing.Icon TreeOpen
TreeOpenSelected
public static javax.swing.Icon TreeOpenSelected
LTreeContentAdapter
public LTreeContentAdapter()
getIcon
public javax.swing.Icon getIcon(boolean isExpanded,
boolean isLeaf,
boolean isSelected)
- returns the icon to be displayed by a cell
- Specified by:
- getIcon in interface LTreeContent
getToolTip
public java.lang.String getToolTip()
- default value
- Specified by:
- getToolTip in interface LTreeContent
getText
public java.lang.String getText()
- implemented just to get an instance of this class for the resources
- Specified by:
- getText in interface LTreeContent