uic.widgets
Class GroupBox.AbstractCollapsableBorder
java.lang.Object
javax.swing.border.AbstractBorder
uic.widgets.GroupBox.AbstractCollapsableBorder
- All Implemented Interfaces:
- Serializable, Border
- Enclosing class:
- GroupBox
public abstract static class GroupBox.AbstractCollapsableBorder
- extends AbstractBorder
For a collapsable groupBox we show a border that, when clicked, will collapse the groupbox.
The border should additionally have the methods of this class since a groupbox will
want to show a title on the border somewhere.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
borderType
protected int borderType
GroupBox.AbstractCollapsableBorder
public GroupBox.AbstractCollapsableBorder()
setTitle
public abstract void setTitle(String title)
- Set the title on the border to be shown on an un-collapsed box
setBorderType
protected void setBorderType(int type)
getBorderShape
public int getBorderShape()
getBorderShadow
public int getBorderShadow()
paintText
protected void paintText(Component c,
Graphics g,
String title,
int leftOffset,
int baseline)
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence