|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.event.GuiseBoundPropertyObject
com.guiseframework.model.ui.AbstractPresentationModel
com.guiseframework.component.AbstractComponent
com.guiseframework.component.AbstractCompositeComponent
com.guiseframework.component.AbstractMultipleCompositeComponent
com.guiseframework.component.AbstractArrayCompositeComponent
com.guiseframework.component.AbstractEnumCompositeComponent<AbstractFrame.FrameComponent>
com.guiseframework.component.AbstractFrame
com.guiseframework.component.AbstractApplicationFrame
public abstract class AbstractApplicationFrame
Abstract implementation of an application frame.
This implementation binds the command ProcessCommand.CONTINUE to the key input Key.ENTER,
as well as the command ProcessCommand.ABORT to the key input Key.ESCAPE.
LayoutPanel| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractFrame |
|---|
AbstractFrame.DefaultPrototypeProvider, AbstractFrame.FrameComponent |
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractComponent |
|---|
AbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>, AbstractComponent.AbstractFlyoverStrategy<S extends Component>, AbstractComponent.DefaultFlyoverStrategy<S extends Component> |
| Nested classes/interfaces inherited from interface com.guiseframework.component.Frame |
|---|
Frame.Mode, Frame.State |
| Field Summary | |
|---|---|
static java.lang.String |
LABEL_SEPARATOR
The delimiter to use when constructing the label from its various segments. |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.component.Frame |
|---|
CLOSE_ACTION_CONTROL_PROPERTY, MENU_PROPERTY, MODAL_PROPERTY, MOVABLE_PROPERTY, OPEN_EFFECT_PROPERTY, RELATED_COMPONENT_PROPERTY, RESIZABLE_PROPERTY, STATE_PROPERTY, TITLE_BACKGROUND_COLOR_PROPERTY, TITLE_VISIBLE_PROPERTY, TOOLBAR_PROPERTY |
| Fields inherited from interface com.guiseframework.component.ContentComponent |
|---|
CONTENT_PROPERTY |
| Fields inherited from interface com.guiseframework.component.ModalComponent |
|---|
MODE_PROPERTY |
| Fields inherited from interface com.guiseframework.component.InputFocusGroupComponent |
|---|
INPUT_FOCUS_STRATEGY_PROPERTY, INPUT_FOCUSED_COMPONENT_PROPERTY |
| Constructor Summary | |
|---|---|
AbstractApplicationFrame(Component component)
Component constructor. |
|
| Method Summary | |
|---|---|
void |
addChildFrame(Frame frame)
Adds a frame to the list of child frames. |
boolean |
canClose()
Determines whether the frame should be allowed to close. |
protected abstract java.lang.String |
getBasePlainLabel()
Retrieves the plain-text base title to use when constructing a label. |
java.lang.Iterable<Frame> |
getChildFrames()
|
protected java.util.List<Component> |
getChildList()
Retrieves a list of all child components. |
boolean |
hasChildComponents()
Determines whether this component has children. |
void |
removeChildFrame(Frame frame)
Removes a frame from the list of child frames. |
void |
setContent(Component newContent)
Sets the content child component. |
protected void |
updateLabel()
Called when the content changes so that the label can be updated. |
| Methods inherited from class com.guiseframework.component.AbstractEnumCompositeComponent |
|---|
getComponent, setComponent |
| Methods inherited from class com.guiseframework.component.AbstractArrayCompositeComponent |
|---|
getChildComponents, getComponent, setComponent |
| Methods inherited from class com.guiseframework.component.AbstractMultipleCompositeComponent |
|---|
addComponent, removeComponent |
| Methods inherited from class com.guiseframework.event.GuiseBoundPropertyObject |
|---|
getSession |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.component.Frame |
|---|
close, getCloseActionControl, getCloseActionPrototype, getMenu, getOpenEffect, getRelatedComponent, getState, getTitleBackgroundColor, getToolbar, isModal, isMovable, isResizable, isTitleVisible, open, open, open, setCloseActionControl, setMenu, setModal, setMovable, setOpenEffect, setRelatedComponent, setResizable, setTitleBackgroundColor, setTitleVisible, setToolbar |
| Methods inherited from interface com.guiseframework.component.ContentComponent |
|---|
getContent |
| Methods inherited from interface com.guiseframework.component.CompositeComponent |
|---|
addCompositeComponentListener, getChildComponents, removeCompositeComponentListener |
| Methods inherited from interface com.guiseframework.component.ModalComponent |
|---|
getMode, setMode |
| Methods inherited from interface com.guiseframework.component.InputFocusGroupComponent |
|---|
getInputFocusedComponent, getInputFocusStrategy, setInputFocusedComponent, setInputFocusStrategy |
| Field Detail |
|---|
public static final java.lang.String LABEL_SEPARATOR
| Constructor Detail |
|---|
public AbstractApplicationFrame(Component component)
component - The single child component, or null if this frame should have no child component.| Method Detail |
|---|
public java.lang.Iterable<Frame> getChildFrames()
getChildFrames in interface ApplicationFramepublic void addChildFrame(Frame frame)
addChildFrame in interface ApplicationFrameframe - The frame to add.
java.lang.NullPointerException - if the given frame is null.
java.lang.IllegalArgumentException - if the given frame is this frame.public void removeChildFrame(Frame frame)
removeChildFrame in interface ApplicationFrameframe - The frame to remove.
java.lang.NullPointerException - if the given frame is null.
java.lang.IllegalArgumentException - if the given frame is the application frame.public void setContent(Component newContent)
updateLabel().
setContent in interface ContentComponentsetContent in class AbstractFramenewContent - The content child component, or null if this frame does not have a content child component.AbstractFrame.FrameComponent.CONTENT_COMPONENT,
ContentComponent.CONTENT_PROPERTYprotected abstract java.lang.String getBasePlainLabel()
null if there is no base label.updateLabel()protected void updateLabel()
AbstractFrame.getContent(),
getBasePlainLabel(),
AbstractComponent.setLabel(String),
AbstractComponent.setLabelContentType(ContentType)public boolean canClose()
false.
This method is called from AbstractFrame.close().
canClose in interface FramecanClose in class AbstractFrametrue if the frame should be allowed to close.protected java.util.List<Component> getChildList()
getChildList in class AbstractArrayCompositeComponentgetChildFrames()public boolean hasChildComponents()
hasChildComponents in interface CompositeComponenthasChildComponents in class AbstractArrayCompositeComponentgetChildFrames()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||