|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.util.treetable.TreeTableSupport.DefaultIcon
Icon to use if plaf fails to provide one
Field Summary | |
protected boolean |
collapsed
|
protected int |
halfsize
|
protected int |
size
|
Constructor Summary | |
TreeTableSupport.DefaultIcon(boolean collapsed)
Constructor. |
Method Summary | |
int |
getIconHeight()
Get the icon height |
int |
getIconWidth()
Get the icon width |
void |
paintIcon(Component c,
Graphics gc,
int x,
int y)
Draws the folder state control (expand/collapse) icon centered on the specified point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final int size
protected final int halfsize
protected boolean collapsed
Constructor Detail |
public TreeTableSupport.DefaultIcon(boolean collapsed)
collapsed
- The intial value of collapsed.Method Detail |
public int getIconHeight()
getIconHeight
in interface Icon
public int getIconWidth()
getIconWidth
in interface Icon
public void paintIcon(Component c, Graphics gc, int x, int y)
paintIcon
in interface Icon
c
- The component from which information can be gather for
rendering. Not used.gc
- The graphics context to do the drawingx
- The x position to drawy
- The y position to draw
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |