Package ca.phon.ui.layout
Class ButtonBarBuilder
java.lang.Object
ca.phon.ui.layout.ButtonBarBuilder
Utility class for building dialog button bars. The layout
defines three sections: right, left, and center. Buttons
are added to one of these three regions and displayed in
the order added.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static JComponent
buildOkBar
(JComponent okButton) static JComponent
buildOkCancelBar
(JComponent okButton, JComponent cancelButton) static JComponent
buildOkCancelBar
(JComponent okButton, JComponent cancelButton, JComponent... otherBtns)
-
Constructor Details
-
ButtonBarBuilder
public ButtonBarBuilder()
-
-
Method Details
-
addComponentRight
-
addComponentLeft
-
addComponentCenter
-
setLeftFillComponent
-
setRightFillComponent
-
build
-
buildOkBar
-
buildOkCancelBar
-
buildOkCancelBar
public static JComponent buildOkCancelBar(JComponent okButton, JComponent cancelButton, JComponent... otherBtns)
-