|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jgoodies.forms.builder.AbstractBuilder com.jgoodies.forms.builder.AbstractFormBuilder com.jgoodies.forms.builder.PanelBuilder util.ui.EnhancedPanelBuilder
public class EnhancedPanelBuilder
Panel builder with additional methods for typical TV-Browser UI (e.g. settings tab).
When using this class, you should normally use 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.
Don't create rows with height settings yourself!
Field Summary |
---|
Fields inherited from class com.jgoodies.forms.builder.AbstractBuilder |
---|
currentCellConstraints |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.jgoodies.forms.builder.PanelBuilder |
---|
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 |
Methods inherited from class com.jgoodies.forms.builder.AbstractFormBuilder |
---|
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 |
Methods inherited from class com.jgoodies.forms.builder.AbstractBuilder |
---|
createComponentFactory, getColumnCount, getComponentFactory, getComponentFactoryDefault, getContainer, getLayout, getRowCount, setComponentFactory, setComponentFactoryDefault |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 panelMethod Detail |
---|
public javax.swing.JComponent addParagraph(java.lang.String label)
label
- label string
public 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 added
public 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 added
public 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 height
public 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 added
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |