|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.AbstractDestination
com.guiseframework.ComponentDestination
public class ComponentDestination
Default implementation of a navigation point based upon a component.
| Field Summary | |
|---|---|
static java.lang.String |
STYLE_PROPERTY
The style bound property. |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Constructor Summary | |
|---|---|
ComponentDestination(java.util.regex.Pattern pathPattern,
java.lang.Class<? extends Component> componentClass)
Path pattern and component constructor with no style specified. |
|
ComponentDestination(java.util.regex.Pattern pathPattern,
java.lang.Class<? extends Component> componentClass,
java.net.URI style)
Path pattern, component, and style constructor. |
|
ComponentDestination(com.globalmentor.net.URIPath path,
java.lang.Class<? extends Component> componentClass)
Path and component constructor with no style specified. |
|
ComponentDestination(com.globalmentor.net.URIPath path,
java.lang.Class<? extends Component> componentClass,
java.net.URI style)
Path, component, and style constructor. |
|
| Method Summary | |
|---|---|
java.lang.Class<? extends Component> |
getComponentClass()
|
java.net.URI |
getStyle()
|
void |
setStyle(java.net.URI newStyle)
Sets the style of this destination. |
| Methods inherited from class com.guiseframework.AbstractDestination |
|---|
equals, exists, getCategories, getPath, getPath, getPathPattern, hashCode, isAuthorized, setCategories |
| 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, toString, wait, wait, wait |
| Methods inherited from interface com.globalmentor.beans.PropertyBindable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
public static final java.lang.String STYLE_PROPERTY
| Constructor Detail |
|---|
public ComponentDestination(com.globalmentor.net.URIPath path,
java.lang.Class<? extends Component> componentClass)
path - The application context-relative path within the Guise container context, which does not begin with '/'.componentClass - The class of the component to represent this destination.
java.lang.NullPointerException - if the path and/or the component class is null.
java.lang.IllegalArgumentException - if the provided path is absolute.
public ComponentDestination(com.globalmentor.net.URIPath path,
java.lang.Class<? extends Component> componentClass,
java.net.URI style)
path - The application context-relative path within the Guise container context, which does not begin with '/'.componentClass - The class of the component to represent this destination.style - The style of this destination, or null if no destination-specific style is specified.
java.lang.NullPointerException - if the path and/or the component class is null.
java.lang.IllegalArgumentException - if the provided path is absolute.
public ComponentDestination(java.util.regex.Pattern pathPattern,
java.lang.Class<? extends Component> componentClass)
pathPattern - The pattern to match an application context-relative path within the Guise container context, which does not begin with '/'.componentClass - The class of the component to represent this destination.
java.lang.NullPointerException - if the path pattern and/or the component class is null.
public ComponentDestination(java.util.regex.Pattern pathPattern,
java.lang.Class<? extends Component> componentClass,
java.net.URI style)
pathPattern - The pattern to match an application context-relative path within the Guise container context, which does not begin with '/'.componentClass - The class of the component to represent this destination.style - The style of this destination, or null if no destination-specific style is specified.
java.lang.NullPointerException - if the path pattern and/or the component class is null.
java.lang.IllegalArgumentException - if the provided path is absolute.| Method Detail |
|---|
public java.lang.Class<? extends Component> getComponentClass()
public java.net.URI getStyle()
null if no destination-specific style is specified.public void setStyle(java.net.URI newStyle)
URI.
newStyle - The style of this destination, or null if no destination-specific style is specified.STYLE_PROPERTY
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||