|
Mp3dings 20100427 |
|||||||||
| 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
de.mospace.swing.MiniShell
public class MiniShell
This class associates a ProcessIOPane with an instance of JFrame. The ProcessIOPane can either be docked in the upper part of the JFrame or float in a separate window owned by the JFrame. It can be switched between the two states by means of 'float' and 'dock' buttons. Additionally buttons are provided for the control actions of the ProcessIOPane.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
MiniShell(JFrame f,
int w,
int h,
String title)
Creates a new MiniShell object. |
|
MiniShell(JFrame f,
int w,
int h,
String title,
boolean floating)
Creates a new MiniShell object. |
|
MiniShell(JFrame f,
int w,
int h,
String title,
ProcessIOPane pip)
Creates a new MiniShell object from the specified ProcessIOPane. |
|
| Method Summary | |
|---|---|
Action |
getCloseAction()
Returns the action that hides this MiniShell. |
protected Preferences |
getPref()
|
ProcessIOPane |
getProcessIOPane()
Returns the ProcessIOPane wrapped by this MiniShell. |
Action |
getShowAction()
Returns the action that makes this MiniShell visible. |
boolean |
isFloating()
Returns whether this MiniShell is currently floating. |
| 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 MiniShell(JFrame f,
int w,
int h,
String title)
f - the JFrame this MiniShell depends on, must be non-nullw - the preferred width of this componenth - the preferred height of this componenttitle - the title of this MiniShell when floating
public MiniShell(JFrame f,
int w,
int h,
String title,
boolean floating)
f - the JFrame this MiniShell depends on, must be non-nullw - the preferred width of this componenth - the preferred height of this componenttitle - the title of this MiniShell when floating
public MiniShell(JFrame f,
int w,
int h,
String title,
ProcessIOPane pip)
f - the JFrame this MiniShell depends on, must be non-nullw - the preferred width of this componenth - the preferred height of this componenttitle - the title of this MiniShell when floatingpip - the ProcessIOPane to wrap| Method Detail |
|---|
protected Preferences getPref()
public Action getCloseAction()
public boolean isFloating()
true when floating, false when dockedpublic ProcessIOPane getProcessIOPane()
public Action getShowAction()
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||