BrightSide Workbench Full Report + Source Code
org.turro.zkoss.layout.GroupboxArrow Class Referenceabstract
Inheritance diagram for org.turro.zkoss.layout.GroupboxArrow:
Collaboration diagram for org.turro.zkoss.layout.GroupboxArrow:

Public Member Functions

 GroupboxArrow ()
 
void setCaption (Component comp)
 
void setOpen (boolean open)
 

Protected Member Functions

abstract void doFillContent ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 32 of file GroupboxArrow.java.

Constructor & Destructor Documentation

◆ GroupboxArrow()

org.turro.zkoss.layout.GroupboxArrow.GroupboxArrow ( )

Definition at line 37 of file GroupboxArrow.java.

37  {
38  setMold("3d");
39  setSclass("gbarrow");
40  caption = new Caption();
41  appendChild(caption);
42  div = new Div();
43  caption.appendChild(div);
44  div.setSclass("open-true");
45  addEventListener(Events.ON_OPEN, new EventListener<Event>() {
46  @Override
47  public void onEvent(Event event) throws Exception {
48  div.setSclass("open-" + GroupboxArrow.this.isOpen());
49  fillContent(GroupboxArrow.this.isOpen());
50  }
51  });
52  }

Member Function Documentation

◆ doFillContent()

abstract void org.turro.zkoss.layout.GroupboxArrow.doFillContent ( )
abstractprotected

◆ setCaption()

void org.turro.zkoss.layout.GroupboxArrow.setCaption ( Component  comp)

Definition at line 54 of file GroupboxArrow.java.

54  {
55  div.appendChild(comp);
56  }
Here is the caller graph for this function:

◆ setOpen()

void org.turro.zkoss.layout.GroupboxArrow.setOpen ( boolean  open)

Definition at line 59 of file GroupboxArrow.java.

59  {
60  super.setOpen(open);
61  div.setSclass("open-" + open);
62  fillContent(isOpen());
63  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: