public class JMenuBarBuilder extends java.lang.Object implements ComponentBuilder<javax.swing.JMenuBar>
JMenuBar
. This class should be used as a prototype.Constructor and Description |
---|
JMenuBarBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(ComponentBuilder<?> factory)
Add a child to the
Component we are building. |
javax.swing.JMenuBar |
instance()
Create and return the
Component . |
java.lang.String |
toString() |
public void addChild(ComponentBuilder<?> factory)
ComponentBuilder
Component
we are building.addChild
in interface ComponentBuilder<javax.swing.JMenuBar>
public javax.swing.JMenuBar instance()
ComponentBuilder
Component
.instance
in interface ComponentBuilder<javax.swing.JMenuBar>
public java.lang.String toString()
toString
in class java.lang.Object