|
||||||||||
| 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
edu.neu.ccs.gui.DisplayPanel
edu.neu.ccs.gui.Display
edu.neu.ccs.gui.InputDialog.CompoundView
A typed view constructed from the provided input component and decorated based on the input properties of the view.
| Nested Class Summary |
| Nested classes inherited from class edu.neu.ccs.gui.Display |
Display.Settings |
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
private TypedView |
view
The internal view object to be decorated. |
| Fields inherited from class edu.neu.ccs.gui.Display |
aAlign, ANNOTATION, ANNOTATION_ALIGNMENT, ANNOTATION_TEXT, caption, DEFAULT_ANNOTATION_ALIGNMENT, DEFAULT_ANNOTATION_TEXT, DEFAULT_TITLE_ALIGNMENT, DEFAULT_TITLE_TEXT, DISPLAY, tAlign, title, TITLE_ALIGNMENT, TITLE_TEXT |
| Fields inherited from class edu.neu.ccs.gui.DisplayPanel |
background, codec, CODEC |
| Fields inherited from class javax.swing.JPanel |
|
| 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.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface edu.neu.ccs.gui.TypedView |
DATA_TYPE |
| Fields inherited from interface edu.neu.ccs.gui.Displayable |
DEFAULT_VIEW_STATE, VIEW_STATE |
| Fields inherited from interface edu.neu.ccs.util.JPTConstants |
ABOVE, ALIGNMENT, BELOW, BOTTOM_LEFT, BOTTOM_RIGHT, DEFAULT, FONT, INPUT_PROPERTIES, MANDATORY, OPTIONAL, ORIENTATION, TOP_LEFT, TOP_RIGHT, VALUE |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
InputDialog.CompoundView(TypedView viewObject)
Constructs a compound view from the provided view object and decorates based on the input properties of the view. |
|
| Method Summary | |
Stringable |
demandObject()
Returns a Stringable object based on the view state
of the view using the mandatory model. |
Class |
getDataType()
Returns the current class of objects returned when a model object is demanded or requested. |
InputProperties |
getInputProperties()
Returns the input properties for this view. |
Stringable |
requestObject()
Returns a Stringable object based on the view state
of the view using the optional model; throws an exception if the
input operation is cancelled by the user. |
void |
setInputProperties(InputProperties properties)
Sets the input properties for this view to the provided input properties. |
| Methods inherited from class edu.neu.ccs.gui.Display |
getAnnotation, getAnnotationAlignment, getAnnotationText, getDisplay, getSettings, getTitleAlignment, getTitleText, getViewState, revalidateAnnotationAndAlignment, revalidateTitleAndAlignment, setAnnotation, setAnnotationAlignment, setAnnotationText, setDefaultViewState, setDisplay, setSettings, setTitleAlignment, setTitleText, setViewState |
| 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 |
| Methods inherited from interface edu.neu.ccs.gui.Displayable |
getDefaultViewState, getViewState, reset, setDefaultViewState, setEnabled, setViewState |
| Field Detail |
private TypedView view
| Constructor Detail |
public InputDialog.CompoundView(TypedView viewObject)
viewObject - the view object to be decorated
NullPointerException - if the given input component
is null| Method Detail |
public Stringable demandObject()
TypedViewStringable object based on the view state
of the view using the mandatory model.
demandObject in interface TypedViewStringable model objectTypedView.requestObject()
public Stringable requestObject()
throws CancelledException
TypedViewStringable object based on the view state
of the view using the optional model; throws an exception if the
input operation is cancelled by the user.
requestObject in interface TypedViewStringable model object
CancelledExceptionTypedView.demandObject()public void setInputProperties(InputProperties properties)
TypedViewSets the input properties for this view to the provided input properties.
If the given input properties list is null, the
property list for this view is set to the base property list
containing default property values.
setInputProperties in interface TypedViewproperties - the new input properties for the viewTypedView.getInputProperties()public InputProperties getInputProperties()
TypedView
getInputProperties in interface TypedViewTypedView.setInputProperties(InputProperties)public Class getDataType()
TypedView
getDataType in interface TypedView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||