com.guiseframework.component
Interface ModalFrame<R>
- Type Parameters:
R - The type of modal result this modal frame produces.
- All Superinterfaces:
- Component, CompositeComponent, ContentComponent, DepictedObject, Displayable, Frame, InfoModel, InputFocusableComponent, InputFocusGroupComponent, LabelModel, ModalComponent<Frame.Mode>, Model, PresentationModel, com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable
- All Known Implementing Classes:
- AbstractModalFrame, DefaultModalFrame
public interface ModalFrame<R>
- extends Frame
A frame that supports modal interaction.
- Author:
- Garret Wilson
|
Field Summary |
static java.lang.String |
MODAL_PROPERTY
The modal state bound property. |
static java.lang.String |
RESULT_PROPERTY
The result bound property. |
| Methods inherited from interface com.guiseframework.component.Frame |
canClose, 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 |
MODAL_PROPERTY
static final java.lang.String MODAL_PROPERTY
- The modal state bound property.
RESULT_PROPERTY
static final java.lang.String RESULT_PROPERTY
- The result bound property.
getResult
R getResult()
- Returns:
- The result of this frame's modal interaction, or
null if no result is given.
setResult
void setResult(R newResult)
- Sets the modal result.
This is a bound property that only fires a change event when the new value is different via the
equals() method.
- Parameters:
newResult - The new result of this frame's modal interaction, or null if no result is given.- See Also:
RESULT_PROPERTY
Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.