![]() | [using it] | Interface Manipulation Package v4.0 (2008-06-25) | ![]() | ©copyright | ![]() |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
imp.gui.IComponent
imp.gui.BorderContainer
public class BorderContainer
Defines a border-container with automatic split plane mechanism.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.BaselineResizeBehavior |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary | |
---|---|
JComponent |
getCenter()
Gets the central panel component. |
JComponent |
getEast()
Gets the east panel component. |
JComponent |
getNorth()
Gets the north panel component. |
JComponent |
getSouth()
Gets the south panel component. |
JComponent |
getWest()
Gets the west panel component. |
BorderContainer |
setCenter(JComponent component)
Sets/Removes a component in the center panel and return this. |
BorderContainer |
setEast(JComponent component)
Sets/Removes a component in the east panel and return this. |
BorderContainer |
setHorizontalSlider(boolean set)
Sets in the south panel a slider and return this. |
BorderContainer |
setNorth(JComponent component)
Sets/Removes a component in the north panel and return this. |
BorderContainer |
setSouth(JComponent component)
Sets/Removes a component in the south panel and return this. |
BorderContainer |
setWest(JComponent component)
Sets/Removes a component in the west panel and return this. |
Methods inherited from class imp.gui.IComponent |
---|
getBgcolor, getColor, getTextFont, getTitle, getTooltip, grab, refresh, setBgcolor, setColor, setHeight, setTextFont, setTitle, setTooltip, setWidth |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public JComponent getCenter()
public JComponent getEast()
public JComponent getNorth()
public JComponent getSouth()
public JComponent getWest()
public BorderContainer setCenter(JComponent component)
component
- [optional, default is null] The component to be set, the previous component is removed is the value is null.public BorderContainer setEast(JComponent component)
component
- [optional, default is null] The component to be set, the previous component is removed is the value is null.public BorderContainer setHorizontalSlider(boolean set)
set
- If true set it, else remove it.public BorderContainer setNorth(JComponent component)
component
- [optional, default is null] The component to be set, the previous component is removed is the value is null.public BorderContainer setSouth(JComponent component)
component
- [optional, default is null] The component to be set, the previous component is removed is the value is null.public BorderContainer setWest(JComponent component)
component
- [optional, default is null] The component to be set, the previous component is removed is the value is null.