|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jaret.util.ui.timebars.swing.renderer.DefaultHierarchyRenderer
public class DefaultHierarchyRenderer
Default implementation of a swing hierarchy renderer.
| Constructor Summary | |
|---|---|
DefaultHierarchyRenderer()
Default constructor. |
|
| Method Summary | |
|---|---|
javax.swing.JComponent |
getHierarchyRendererComponent(TimeBarViewer tbv,
TimeBarRow row,
boolean selected,
boolean expanded,
boolean leaf,
int level,
int depth)
Provide a configured JComponent for rendering the hierarchy. |
int |
getWidth()
Return the preferred width for the hierachy display. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultHierarchyRenderer()
| Method Detail |
|---|
public javax.swing.JComponent getHierarchyRendererComponent(TimeBarViewer tbv,
TimeBarRow row,
boolean selected,
boolean expanded,
boolean leaf,
int level,
int depth)
getHierarchyRendererComponent in interface HierarchyRenderertbv - the requesting timebar viewerrow - the row (node) for which the hierarchy should be paintedselected - wehether the row is selscted or notexpanded - expanded status of the rowleaf - if true the row is a leaflevel - level in the tree of the current elementdepth - depth of the tree. If the depth is not known a value of -1 will indicate this fact.
public int getWidth()
getWidth in interface HierarchyRenderer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||