|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.core.impl.model.portal.PortalObjectImpl
org.jboss.portal.core.impl.model.portal.WindowImpl
public class WindowImpl
Field Summary | |
---|---|
protected AbstractPortalObjectContainer.ContainerContext |
containerContext
|
protected org.jboss.portal.core.impl.model.portal.WindowImpl.ContentStateImpl |
contentState
|
protected ContentType |
contentType
|
static java.lang.String |
PORTAL_INITIAL_MODE
|
static java.lang.String |
PORTAL_INITIAL_WINDOW_STATE
|
static java.lang.String |
PORTAL_PROP_WINDOW_CONTENT_TYPE
|
protected java.lang.String |
uri
|
Fields inherited from class org.jboss.portal.core.impl.model.portal.PortalObjectImpl |
---|
ALL_TYPES_MASK, log |
Fields inherited from interface org.jboss.portal.core.model.portal.PortalObject |
---|
CONTEXT_MASK, DEFAULT_OBJECT_NAME, PAGE_MASK, PORTAL_MASK, PORTAL_PROP_DEFAULT_OBJECT_NAME, TYPE_CONTEXT, TYPE_PAGE, TYPE_PORTAL, TYPE_WINDOW, WINDOW_MASK |
Constructor Summary | |
---|---|
WindowImpl()
|
|
WindowImpl(ContentType contentType,
java.lang.String contentURI)
Creates a new window. |
Method Summary | |
---|---|
protected PortalObjectImpl |
cloneObject()
|
protected void |
destroy()
Overridable callback. |
Content |
getContent()
Returns the window content or null if no content can be provided. |
ContentType |
getContentType()
Return the window content type. |
org.jboss.portal.Mode |
getInitialMode()
Returns the inital mode to use (the mode to use when no navigational state exists, for example on a new page request) for this particular window |
org.jboss.portal.WindowState |
getInitialWindowState()
Returns the inital window state (the window state to use when no navigational state exists, for example on a new page request) for this particular window |
Page |
getPage()
Return the page containing this window. |
int |
getType()
Returns the type of the object which is a value that discriminates the object type. |
java.lang.String |
getURI()
|
void |
setContext(java.lang.Object context)
|
void |
setURI(java.lang.String uri)
|
Methods inherited from class org.jboss.portal.core.impl.model.portal.PortalObjectImpl |
---|
addChild, compareTo, copy, destroyChild, equals, getChild, getChild, getChildren, getChildren, getDeclaredProperties, getDeclaredProperty, getDeclaredPropertyMap, getDefaultChild, getDisplayName, getDisplayNames, getId, getKey, getListener, getMask, getMask, getName, getObjectNode, getParent, getProperties, getProperty, hashCode, setDeclaredProperty, setDeclaredPropertyMap, setDisplayName, setDisplayNames, setKey, setListener, setObjectNode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.portal.core.model.portal.PortalObject |
---|
copy, destroyChild, getChild, getChild, getChildren, getChildren, getDeclaredProperties, getDeclaredProperty, getDisplayName, getId, getListener, getName, getParent, getProperties, getProperty, setDeclaredProperty, setDisplayName, setListener |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
public static final java.lang.String PORTAL_PROP_WINDOW_CONTENT_TYPE
public static final java.lang.String PORTAL_INITIAL_WINDOW_STATE
public static final java.lang.String PORTAL_INITIAL_MODE
protected java.lang.String uri
protected AbstractPortalObjectContainer.ContainerContext containerContext
protected ContentType contentType
protected org.jboss.portal.core.impl.model.portal.WindowImpl.ContentStateImpl contentState
Constructor Detail |
---|
public WindowImpl()
public WindowImpl(ContentType contentType, java.lang.String contentURI) throws java.lang.IllegalArgumentException
contentType
- the window content type
java.lang.IllegalArgumentException
- if the content type is null or the content URI is nullMethod Detail |
---|
public void setContext(java.lang.Object context)
setContext
in interface ContextObject
public java.lang.String getURI()
public void setURI(java.lang.String uri)
public Page getPage()
Window
getPage
in interface Window
public Content getContent()
Window
getContent
in interface Window
public ContentType getContentType()
Window
getContentType
in interface Window
public int getType()
PortalObject
getType
in interface PortalObject
getType
in class PortalObjectImpl
protected PortalObjectImpl cloneObject()
cloneObject
in class PortalObjectImpl
protected void destroy()
PortalObjectImpl
destroy
in class PortalObjectImpl
public org.jboss.portal.WindowState getInitialWindowState()
Window
getInitialWindowState
in interface Window
public org.jboss.portal.Mode getInitialMode()
Window
getInitialMode
in interface Window
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |