@OpenApiAll
public abstract class AbstractPanelContainer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static javax.swing.border.Border |
BORDER_COMPOUND
The compound titled border used for properties panel.
|
protected static javax.swing.border.Border |
BORDER_EMPTY
The empty border used in patterns ui.
|
protected static javax.swing.border.Border |
PROPERTIES_BORDER
The titled border used for properties panel.
|
Constructor and Description |
---|
AbstractPanelContainer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
applyChangesToProperties(AbstractPatternProperties properties)
Change properties according the changes in the panels.
|
protected javax.swing.JPanel |
createBorderPane(javax.swing.JComponent comp)
Sets the border for component (page) in the wizard.
|
abstract javax.swing.JComponent |
getAdditionalPanel(int index)
Returns the additional panel at the given wizard index.
|
abstract int |
getAdditionalPanelCount()
Returns the number of additional panels(without main properties panel).
|
abstract javax.swing.JComponent |
getPropertiesPanel()
Returns the initial panel for a design pattern.
|
abstract void |
reset()
Clears the panel container.
|
abstract void |
setPatternProperties(AbstractPatternProperties properties)
Sets information from properties into the panels
|
protected static final javax.swing.border.Border BORDER_EMPTY
protected static final javax.swing.border.Border PROPERTIES_BORDER
protected static final javax.swing.border.Border BORDER_COMPOUND
public abstract int getAdditionalPanelCount()
public abstract javax.swing.JComponent getPropertiesPanel()
public abstract javax.swing.JComponent getAdditionalPanel(int index)
index
- panel index in the wizard sequence.public abstract void setPatternProperties(AbstractPatternProperties properties)
properties
- the pattern properties.public abstract void reset()
public abstract void applyChangesToProperties(AbstractPatternProperties properties)
properties
- the pattern properties.protected javax.swing.JPanel createBorderPane(javax.swing.JComponent comp)
comp
- The border is set for the component.