|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.netuix.servlets.controls.ControlContext
com.bea.netuix.servlets.controls.PresentationContext
com.bea.netuix.servlets.controls.window.TitlebarPresentationContext
public class TitlebarPresentationContext
Used to provide access to presentation-related attributes specific to the Titlebar
in use. Typically used during portal rendering via look and feel skeleton files (e.g. titlebar.jsp).
getTitlebarPresentationContext(javax.servlet.http.HttpServletRequest)
, Serialized FormField Summary | |
---|---|
static String |
CLASS_NAME |
Method Summary | |
---|---|
List<AbstractButtonPresentationContext> |
getButtons() This method returns the child buttons of the Titlebar , sorted in the order specified in the <netuix:titlebarButtonOrder> child of <netuix:lookAndFeel>. |
String |
getIconUrl() The iconUrl attribute represents the content URI to the icon image for this particular Titlebar portal component. |
WindowPresentationContext |
getParentWindowPresentationContext() Get the presentation context for the parent window. |
static TitlebarPresentationContext |
getTitlebarPresentationContext(javax.servlet.http.HttpServletRequest request) This is a convenience method for returning a reference to the one and only TitlebarPresentationContext for a given Titlebar . |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
---|
addCookie, addDateHeader, addHeader, addIntHeader, getAttributeRenderer, getChildren, getChildren, getFirstChild, getOrderedChildren, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getRenderFormat, getResolvedLocale, getTagName, isVisible, setCharacterEncoding, setContentType, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CLASS_NAME
Method Detail |
---|
public String getIconUrl()
Titlebar
portal component.Titlebar
portal component, if anypublic List<AbstractButtonPresentationContext> getButtons()
Titlebar
, sorted in the order specified in the <netuix:titlebarButtonOrder>
child of <netuix:lookAndFeel>. If no <netuix:titlebarButtonOrder>
child is specified, the buttons will be returned in the order that they exist in the .portlet file.Titlebar
, or an empty list if this Titlebar
has no buttons.public WindowPresentationContext getParentWindowPresentationContext()
Get the presentation context for the parent window.
Will return null if the titlebar is not nested within aWindow
or subclass thereof.public static TitlebarPresentationContext getTitlebarPresentationContext(javax.servlet.http.HttpServletRequest request)
TitlebarPresentationContext
for a given Titlebar
. Note this method will only work if called from within a portal (e.g. titlebar.jsp skeleton). This method may return null if called when no appropriate context exists, but such a context should safely exist when being fetched from the associated skeleton JSP during normal portal rendering.request
- The current HTTPServletRequest instance
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.