|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.ceryle.ui.graph.ComposerDialog
public class ComposerDialog
A subclass of JDialog providing a dialog box devoted to planning a
composition. This is called by Composer.
| Nested Class Summary | |
|---|---|
class |
ComposerDialog.DialogDisposer
|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static int |
DEFAULT_COLUMN_WIDTH
The default column width (in characters) for the display list. |
static int |
DEFAULT_ROW_COUNT
The default number of rows to show in the display list. |
static int |
DEFAULT_WINDOW_WIDTH
Window width in pixels. |
protected JLabel |
fld_included
|
protected JLabel |
fld_length
|
protected JLabel |
fld_message
|
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ComposerDialog(Composer composer,
Collection reports,
boolean initVisible)
Constructor for a dialog box containing a selection list. |
|
| Method Summary | |
|---|---|
protected JComponent |
createCenterPanel()
Returns the center panel containing the Compositors (as JPanels). |
protected JPanel |
createNorthPanel()
Returns the northernmost panel containing the number of components. |
protected JPanel |
createSouthPanel()
Returns the southernmost panel containing the compose, save as and close buttons. |
JPanel |
getReportPanel()
Returns the report-containing panel, which uses a Y Box layout. |
boolean |
isHelpVisible()
|
void |
setHelpText(String content)
Set the help text to the String content. |
protected void |
setStatus(int completed,
int status)
Sets the overall status percentage completed and status value for the dialog. |
void |
setWhatNext(String comment,
String description)
Set the "What next?" description and comment (the short text visible even while minimized) to the provided Strings. |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int DEFAULT_WINDOW_WIDTH
public static int DEFAULT_COLUMN_WIDTH
public static int DEFAULT_ROW_COUNT
protected JLabel fld_message
protected JLabel fld_length
protected JLabel fld_included
| Constructor Detail |
|---|
public ComposerDialog(Composer composer,
Collection reports,
boolean initVisible)
composer - the parent ComposerinitVisible - when true, displays the dialog upon instantiation| Method Detail |
|---|
public JPanel getReportPanel()
protected void setStatus(int completed,
int status)
public boolean isHelpVisible()
public void setHelpText(String content)
protected JPanel createNorthPanel()
protected JComponent createCenterPanel()
public void setWhatNext(String comment,
String description)
protected JPanel createSouthPanel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||