|
|||||||||
| 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.AbstractFlyoverFrame
public abstract class AbstractFlyoverFrame
Abstract implementation of a frame for flyovers. A flyover frame by default is nonmodal, immovable, and not resizable. When loading the tether image from the resources, a resource key will be generated based upon the compass point of the tether bearing. For example, with a tether bearing of 250 and a tether resource key of "myTether", a resource key will be requested using "myTether.WSW", after which a resource key of "myTether" will be requested if that resource is not available.
This implementation defaults to accepting tether bearings of:
CompassPoint.NORTHEAST_BY_NORTHCompassPoint.NORTHEAST_BY_EASTCompassPoint.SOUTHEAST_BY_EASTCompassPoint.SOUTHEAST_BY_SOUTHCompassPoint.SOUTHWEST_BY_SOUTHCompassPoint.SOUTHWEST_BY_WESTCompassPoint.NORTHWEST_BY_WESTCompassPoint.NORTHWEST_BY_NORTH
| 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.net.URI |
TETHER_IMAGE_RESOURCE_URI
The base resource URI for the flyover tether image URI. |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.component.FlyoverFrame |
|---|
TETHER_BEARING_COMPASS_POINTS_PROPERTY, TETHER_BEARING_PROPERTY, TETHER_IMAGE_PROPERTY |
| 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 | |
|---|---|
AbstractFlyoverFrame(Component component)
Component constructor. |
|
| Method Summary | |
|---|---|
java.math.BigDecimal |
getTetherBearing()
|
java.util.Set<CompassPoint> |
getTetherBearingCompassPoints()
|
java.net.URI |
getTetherImage()
|
void |
setTetherBearing(java.math.BigDecimal newTetherBearing)
Sets the bearing of the tether in relation to the frame. |
void |
setTetherBearingCompassPoints(java.util.Set<CompassPoint> newTetherBearingCompassPoints)
Sets the compass points supported for tether bearing. |
void |
setTetherImage(java.net.URI newTetherImage)
Sets the URI of the tether image. |
| Methods inherited from class com.guiseframework.component.AbstractEnumCompositeComponent |
|---|
getComponent, setComponent |
| Methods inherited from class com.guiseframework.component.AbstractArrayCompositeComponent |
|---|
getChildComponents, getChildList, getComponent, hasChildComponents, 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 |
|---|
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 |
| Methods inherited from interface com.guiseframework.component.ContentComponent |
|---|
getContent, setContent |
| Methods inherited from interface com.guiseframework.component.CompositeComponent |
|---|
addCompositeComponentListener, getChildComponents, hasChildComponents, 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.net.URI TETHER_IMAGE_RESOURCE_URI
| Constructor Detail |
|---|
public AbstractFlyoverFrame(Component component)
component - The single child component, or null if this frame should have no child component.| Method Detail |
|---|
public java.math.BigDecimal getTetherBearing()
getTetherBearing in interface FlyoverFramepublic void setTetherBearing(java.math.BigDecimal newTetherBearing)
setTetherBearing in interface FlyoverFramenewTetherBearing - The new bearing of the tether in relation to the frame.
java.lang.NullPointerException - if the given bearing is null.
java.lang.IllegalArgumentException - if the given bearing is greater than 360.FlyoverFrame.TETHER_BEARING_PROPERTYpublic java.util.Set<CompassPoint> getTetherBearingCompassPoints()
getTetherBearingCompassPoints in interface FlyoverFramepublic void setTetherBearingCompassPoints(java.util.Set<CompassPoint> newTetherBearingCompassPoints)
setTetherBearingCompassPoints in interface FlyoverFramenewTetherBearingCompassPoints - The new set of compass points supported for tether bearing.
java.lang.NullPointerException - if the given set is null.FlyoverFrame.TETHER_BEARING_COMPASS_POINTS_PROPERTYpublic java.net.URI getTetherImage()
getTetherImage in interface FlyoverFramenull if there is no tether image URI.public void setTetherImage(java.net.URI newTetherImage)
URI.
setTetherImage in interface FlyoverFramenewTetherImage - The new URI of the image, which may be a resource URI.FlyoverFrame.TETHER_IMAGE_PROPERTY
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||