|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttecgraf.javautils.gui.panel.ExpandablePanelGroup
public class ExpandablePanelGroup
Agregador de painéis expansíveis . Gerencia operações
"expandir todos" e "fechar todos", e possibilita a definição de um listener
para o grupo.
ExpandablePanel| Field Summary | |
|---|---|
static String |
COLLAPSE_ALL_ACTION_ID
Id do evento enviado quando todos os painéis são fechados. |
static String |
EXPAND_ALL_ACTION_ID
Id do evento enviado quando todos os painéis são abertos. |
| Constructor Summary | |
|---|---|
ExpandablePanelGroup()
|
|
| Method Summary | |
|---|---|
ExpandablePanelGroup |
add(ExpandablePanel... panels)
Acrescenta novos painéis ao agregador. |
void |
collapseAll()
Fecha todos os painéis. |
JButton |
createCollapseAllButton()
Cria um botão para fechar todos os painéis associados ao grupo. |
JButton |
createExpandAllButton()
Cria um botão para expandir todos os painéis associados ao grupo. |
void |
expandAll()
Expande todos os painéis. |
boolean |
remove(ExpandablePanel panel)
Remove um painel do agregador. |
ActionListener |
removeListener()
Remove o listener. |
ActionListener |
setListener(ActionListener newListener)
Define um listener para o agregador. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXPAND_ALL_ACTION_ID
public static final String COLLAPSE_ALL_ACTION_ID
| Constructor Detail |
|---|
public ExpandablePanelGroup()
| Method Detail |
|---|
public ExpandablePanelGroup add(ExpandablePanel... panels)
panels - painéis
public boolean remove(ExpandablePanel panel)
panel - painel a ser removido
true se o painel era gerenciado pelo agregador e foi
removidopublic void expandAll()
public void collapseAll()
public ActionListener setListener(ActionListener newListener)
newListener - listener. Se for null, remove o listener
corrente
null se não
havia um listener)public ActionListener removeListener()
setListener(ActionListener) com
parâmetro null.
null se não
havia um listener)public JButton createExpandAllButton()
public JButton createCollapseAllButton()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||