public class HideableDecorator
extends java.lang.Object
Constructor and Description |
---|
HideableDecorator(javax.swing.JPanel panel,
java.lang.String title,
boolean adjustWindow) |
HideableDecorator(javax.swing.JPanel panel,
java.lang.String title,
boolean adjustWindow,
javax.swing.JComponent northEastComponent) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTitle() |
boolean |
isExpanded() |
protected void |
off() |
protected void |
on() |
void |
setContentComponent(javax.swing.JComponent content) |
void |
setEnabled(boolean enabled) |
void |
setOn(boolean on) |
void |
setTitle(java.lang.String title) |
public HideableDecorator(javax.swing.JPanel panel, java.lang.String title, boolean adjustWindow)
public HideableDecorator(javax.swing.JPanel panel, java.lang.String title, boolean adjustWindow, javax.swing.JComponent northEastComponent)
public void setContentComponent(javax.swing.JComponent content)
public void setOn(boolean on)
public boolean isExpanded()
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
protected void on()
protected void off()
public void setEnabled(boolean enabled)