public class EnhancedPanelBuilder
extends com.jgoodies.forms.builder.PanelBuilder
addParagraph(String)
to add a section to your settings tab
and afterwards use addRow()
to add standard controls into the section. For lists and other large controls
you may also use addGrowingRow()
instead.
Constructor and Description |
---|
EnhancedPanelBuilder(com.jgoodies.forms.layout.FormLayout layout) |
EnhancedPanelBuilder(com.jgoodies.forms.layout.FormLayout layout,
javax.swing.JPanel parentPanel) |
EnhancedPanelBuilder(java.lang.String encodedColumnSpecs)
Create a new panel builder with the given columns.
|
EnhancedPanelBuilder(java.lang.String encodedColumnSpecs,
javax.swing.JPanel parentPanel)
Create a new panel builder with the given columns, which sits on the given panel.
|
Modifier and Type | Method and Description |
---|---|
com.jgoodies.forms.builder.PanelBuilder |
addGrowingRow()
Add a new growing layout row to the builders layout.
|
com.jgoodies.forms.builder.PanelBuilder |
addGrowingRow(boolean withGap)
Add a new growing layout row to the builders layout.
|
javax.swing.JComponent |
addParagraph(java.lang.String label)
create a new section in the layout, which is separated from the previous line by a PARAGRAPH_GAP
|
com.jgoodies.forms.builder.PanelBuilder |
addRow()
Add a new standard layout row to the builders layout.
|
com.jgoodies.forms.builder.PanelBuilder |
addRow(boolean withGap)
Add a new standard layout row to the builders layout.
|
com.jgoodies.forms.builder.PanelBuilder |
addRow(java.lang.String rowHeightCode)
Add a new layout row with the given height to the builders layout.
|
com.jgoodies.forms.builder.PanelBuilder |
addRow(java.lang.String rowHeightCode,
boolean withGap)
Add a new layout row with the given height to the builders layout.
|
add, add, addLabel, addLabel, addLabel, addLabel, addROLabel, addROLabel, addROLabel, addROLabel, addSeparator, addSeparator, addSeparator, addSeparator, addTitle, addTitle, addTitle, background, border, border, build, getLabelForFeatureEnabledDefault, getOpaqueDefault, getPanel, isLabelForApplicable, labelForFeatureEnabled, opaque, setBorder, setDefaultDialogBorder, setLabelFor, setLabelForFeatureEnabledDefault, setOpaque, setOpaqueDefault
add, add, appendColumn, appendColumn, appendGlueColumn, appendGlueRow, appendLabelComponentsGapColumn, appendParagraphGapRow, appendRelatedComponentsGapColumn, appendRelatedComponentsGapRow, appendRow, appendRow, appendUnrelatedComponentsGapColumn, appendUnrelatedComponentsGapRow, cellConstraints, createLeftAdjustedConstraints, getColumn, getColumnIncrementSign, getLeadingColumn, getRow, isLeftToRight, nextColumn, nextColumn, nextLine, nextLine, nextRow, nextRow, setAlignment, setBounds, setColumn, setColumnSpan, setExtent, setHAlignment, setLeftToRight, setOrigin, setRow, setRowSpan, setVAlignment
public EnhancedPanelBuilder(com.jgoodies.forms.layout.FormLayout layout, javax.swing.JPanel parentPanel)
public EnhancedPanelBuilder(com.jgoodies.forms.layout.FormLayout layout)
public EnhancedPanelBuilder(java.lang.String encodedColumnSpecs)
addParagraph(String)
, addRow()
and addGrowingRow()
.encodedColumnSpecs
- public EnhancedPanelBuilder(java.lang.String encodedColumnSpecs, javax.swing.JPanel parentPanel)
addParagraph(String)
, addRow()
and addGrowingRow()
.encodedColumnSpecs
- parentPanel
- the finally built panel will be a child of this parent panelpublic javax.swing.JComponent addParagraph(java.lang.String label)
label
- label stringpublic com.jgoodies.forms.builder.PanelBuilder addRow()
AbstractFormBuilder.getRow()
to address this line
afterwards.public com.jgoodies.forms.builder.PanelBuilder addRow(boolean withGap)
true
. Use AbstractFormBuilder.getRow()
to address this line
afterwards.withGap
- If the LINE_GAP should be addedpublic com.jgoodies.forms.builder.PanelBuilder addGrowingRow()
public com.jgoodies.forms.builder.PanelBuilder addGrowingRow(boolean withGap)
true
and will grow to take the available space.withGap
- If the LINE_GAP should be addedpublic com.jgoodies.forms.builder.PanelBuilder addRow(java.lang.String rowHeightCode)
AbstractFormBuilder.getRow()
to address this line afterwards.addRow()
or addGrowingRow()
instead.
The necessary sizes for rows will be calculated by the PanelBuilder.rowHeightCode
- row heightpublic com.jgoodies.forms.builder.PanelBuilder addRow(java.lang.String rowHeightCode, boolean withGap)
true
.
Use AbstractFormBuilder.getRow()
to address this line afterwards.addRow()
or addGrowingRow()
instead.
The necessary sizes for rows will be calculated by the PanelBuilder.rowHeightCode
- row heightwithGap
- If the LINE_GAP should be addedTV-Browser 3.4.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)