BrightSide Workbench Full Report + Source Code
org.turro.menu.ElephantToolbar Class Reference
Inheritance diagram for org.turro.menu.ElephantToolbar:
Collaboration diagram for org.turro.menu.ElephantToolbar:

Public Member Functions

 ElephantToolbar (String orient)
 
 ElephantToolbar ()
 
void addComponent (Component child)
 
void addSeparator (boolean bar)
 

Detailed Description

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

Definition at line 29 of file ElephantToolbar.java.

Constructor & Destructor Documentation

◆ ElephantToolbar() [1/2]

org.turro.menu.ElephantToolbar.ElephantToolbar ( String  orient)

Definition at line 33 of file ElephantToolbar.java.

33  {
34  super(orient);
35  initiate();
36  }

◆ ElephantToolbar() [2/2]

org.turro.menu.ElephantToolbar.ElephantToolbar ( )

Definition at line 38 of file ElephantToolbar.java.

38  {
39  initiate();
40  }

Member Function Documentation

◆ addComponent()

void org.turro.menu.ElephantToolbar.addComponent ( Component  child)

Definition at line 42 of file ElephantToolbar.java.

42  {
43  if(pendingSep != null) {
44  appendChild(pendingSep);
45  pendingSep = null;
46  }
47  appendChild(child);
48  }
Here is the caller graph for this function:

◆ addSeparator()

void org.turro.menu.ElephantToolbar.addSeparator ( boolean  bar)

Definition at line 50 of file ElephantToolbar.java.

50  {
51  if(getChildren().isEmpty() || getLastChild() instanceof Separator) {
52  return;
53  }
54  pendingSep = new Separator("vertical");
55  pendingSep.setBar(bar);
56  }
Here is the caller graph for this function:

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