|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ch.tatool.core.display.swing.container.RegionsContainer
public class RegionsContainer
A container that splits the overall screen into regions (see java.awt.BorderLayout) where components can be added.
| Nested Class Summary | |
|---|---|
static class |
RegionsContainer.Region
Defines the regions panels can be added to. |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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 |
| Constructor Summary | |
|---|---|
RegionsContainer()
Creates new form RegionsContainer |
|
| Method Summary | |
|---|---|
void |
removeAllContent()
|
void |
removeRegionContent(RegionsContainer.Region region)
Removes the content from a region. |
void |
setAllContentVisibility(boolean visible)
Sets the visibility for all contents. |
void |
setAllRegionsVisibility(boolean visible)
Shows or hides all regions. |
void |
setPreferredRegionHeight(RegionsContainer.Region region,
int height)
Sets the preferred region height. |
void |
setRegionContent(RegionsContainer.Region region,
Component component)
Sets the content displayed in a region. |
void |
setRegionContent(RegionsContainer.Region region,
Component component,
boolean visible)
Sets the content displayed in a region. |
void |
setRegionContentVisibility(RegionsContainer.Region region,
boolean visible)
Set the visibility for the content in a region. |
void |
setRegionVisibility(RegionsContainer.Region region,
boolean visible)
Set the visibility for a region. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RegionsContainer()
| Method Detail |
|---|
public void removeAllContent()
public void setRegionContent(RegionsContainer.Region region,
Component component,
boolean visible)
public void setRegionContent(RegionsContainer.Region region,
Component component)
public void removeRegionContent(RegionsContainer.Region region)
public void setRegionContentVisibility(RegionsContainer.Region region,
boolean visible)
public void setAllContentVisibility(boolean visible)
public void setRegionVisibility(RegionsContainer.Region region,
boolean visible)
public void setAllRegionsVisibility(boolean visible)
public void setPreferredRegionHeight(RegionsContainer.Region region,
int height)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||