public class DefaultMDIDialogBuilder.DefaultDialogPart extends java.lang.Object implements MDIDialogBuilder.DialogPart
Modifier and Type | Method and Description |
---|---|
void |
addComponent(javax.swing.JComponent component) |
void |
addComponents(javax.swing.JComponent... components) |
DefaultMDIDialogBuilder.DefaultDialogPart |
addHorizontalDialogPart()
Add a dialog part where the components are layout horizontally.
|
DefaultMDIDialogBuilder.DefaultDialogPart |
addHorizontalDialogPart(javax.swing.JComponent... content)
Add a dialog part, child of this dialog part, where the components are layout horizontally.
|
DefaultMDIDialogBuilder.DefaultDialogPart |
addHorizontalDialogPart(java.lang.String id)
Add a dialog part where the components are layout horizontally.
|
DefaultMDIDialogBuilder.DefaultDialogPart |
addHorizontalDialogPart(java.lang.String title,
javax.swing.JComponent... content)
Add a dialog part, child of this dialog part, where the components are layout horizontally.
|
DefaultMDIDialogBuilder.DefaultDialogPart |
addHorizontalDialogPart(java.lang.String id,
java.lang.String title,
javax.swing.JComponent... content)
Add a dialog part, child of this dialog part, where the components are layout horizontally.
|
DefaultMDIDialogBuilder.DefaultDialogPart |
addVerticalDialogPart()
Add a dialog part where the components are layout vertically.
|
DefaultMDIDialogBuilder.DefaultDialogPart |
addVerticalDialogPart(javax.swing.JComponent... content)
Add a dialog part, child of this dialog part, where the components are layout vertically.
|
DefaultMDIDialogBuilder.DefaultDialogPart |
addVerticalDialogPart(java.lang.String id)
Add a dialog part where the components are layout vertically.
|
DefaultMDIDialogBuilder.DefaultDialogPart |
addVerticalDialogPart(java.lang.String title,
javax.swing.JComponent... content)
Add a dialog part, child of this dialog part, where the components are layout vertically.
|
DefaultMDIDialogBuilder.DefaultDialogPart |
addVerticalDialogPart(java.lang.String id,
java.lang.String title,
javax.swing.JComponent... content)
Add a dialog part, child of this dialog part, where the components are layout vertically.
|
javax.swing.JComponent |
getContentParent()
Return the parent.
|
java.lang.String |
getID()
Return the dialog Part id.
|
javax.swing.JComponent |
getNotDisablingComponent()
Return the component which will never be disabled by the
setEnabled(boolean) method. |
boolean |
isEnabled()
Return true if the content is enabled.
|
void |
setBorder(javax.swing.border.Border border)
Set the dialog part border.
|
void |
setEnabled(boolean b)
Set if the content is enabled.
|
void |
setLineBorder(java.awt.Color color)
Set the dialog part line border.
|
void |
setNotDisablingComponent(javax.swing.JComponent comp)
Set a component which will never be disabled by the
setEnabled(boolean) method. |
void |
setTitledBorder(java.lang.String title)
Set the dialog part titled border.
|
public void addComponent(javax.swing.JComponent component)
public void addComponents(javax.swing.JComponent... components)
public javax.swing.JComponent getContentParent()
public DefaultMDIDialogBuilder.DefaultDialogPart addHorizontalDialogPart(java.lang.String title, javax.swing.JComponent... content)
content
- the dialog part contenttitle
- the dialog part titlepublic DefaultMDIDialogBuilder.DefaultDialogPart addHorizontalDialogPart(java.lang.String id, java.lang.String title, javax.swing.JComponent... content)
id
- the dialog part idcontent
- the dialog part contenttitle
- the dialog part titlepublic DefaultMDIDialogBuilder.DefaultDialogPart addVerticalDialogPart(java.lang.String title, javax.swing.JComponent... content)
content
- the dialog part contenttitle
- the dialog part titlepublic DefaultMDIDialogBuilder.DefaultDialogPart addVerticalDialogPart(java.lang.String id, java.lang.String title, javax.swing.JComponent... content)
id
- the dialog part id (can be null)content
- the dialog part contenttitle
- the dialog part title (can be null)public DefaultMDIDialogBuilder.DefaultDialogPart addVerticalDialogPart(javax.swing.JComponent... content)
content
- the dialog part content componentspublic DefaultMDIDialogBuilder.DefaultDialogPart addHorizontalDialogPart(javax.swing.JComponent... content)
content
- the dialog part contentpublic DefaultMDIDialogBuilder.DefaultDialogPart addVerticalDialogPart()
public DefaultMDIDialogBuilder.DefaultDialogPart addVerticalDialogPart(java.lang.String id)
id
- the dialog part idpublic DefaultMDIDialogBuilder.DefaultDialogPart addHorizontalDialogPart()
public DefaultMDIDialogBuilder.DefaultDialogPart addHorizontalDialogPart(java.lang.String id)
id
- the id of the dialog partpublic void setNotDisablingComponent(javax.swing.JComponent comp)
setEnabled(boolean)
method.setNotDisablingComponent
in interface MDIDialogBuilder.DialogPart
comp
- the componentpublic javax.swing.JComponent getNotDisablingComponent()
setEnabled(boolean)
method. May return null.public boolean isEnabled()
isEnabled
in interface MDIDialogBuilder.DialogPart
public void setEnabled(boolean b)
setEnabled
in interface MDIDialogBuilder.DialogPart
b
- true if the content is enabledpublic java.lang.String getID()
getID
in interface MDIDialogBuilder.DialogPart
public void setBorder(javax.swing.border.Border border)
border
- the borderpublic void setLineBorder(java.awt.Color color)
color
- the line border colorpublic void setTitledBorder(java.lang.String title)
title
- the titled border title