|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.servlets.controls.ControlContext
com.bea.netuix.servlets.controls.PresentationContext
com.bea.netuix.servlets.controls.window.AbstractButtonPresentationContext
Used to provide access to presentation-related attributes specific to the
Button
in use. Typically used during portal rendering via look and feel skeleton files
(e.g. buttondelete.jsp).
getAbstractButtonPresentationContext(javax.servlet.http.HttpServletRequest)
,
Serialized FormField Summary | |
static String |
CLASS_NAME
|
Fields inherited from class com.bea.netuix.servlets.controls.ControlContext |
debug |
Method Summary | |
static AbstractButtonPresentationContext |
getAbstractButtonPresentationContext(HttpServletRequest request)
This is a convenience method for returning a reference to the one and only AbstractButtonPresentationContext for a given Button .
|
String |
getAltText()
Returns the value specified by the altText attribute in the Button portal component. |
protected String |
getContextKey()
|
String |
getEvent()
event represents a request parameter value which corresponds to a request parameter retrieved via getEventParam . |
String |
getEventParam()
eventParam represents a request parameter name, to be appended to the Button s
HREF URL, for example. |
String |
getImage()
The image attribute represents the name of the standard image for this Button . |
String |
getImageSrc()
The imageSrc attribute represents the content URI to the standard image for this Button , as might
be supplied to the src attribute of an <img> tag. |
String |
getName()
Returns the value specified by the name attribute in the Button portal component. |
String |
getRolloverImage()
The rolloverImage attribute represents the name of the image to be rendered upon rollover of this Button . |
String |
getRolloverImageSrc()
The rolloverImageSrc attribute represents the content URI to the image to be rendered upon rollover of this Button , as might be supplied to the src attribute of an >img< tag. |
String |
getWindowLabel()
Get the instance label (portlet) or definition label (book, page) of the parent Window for this
Button portal component. |
boolean |
isParentPortlet()
Will return true if this Button 's parent is an instance of Portlet . |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
getChildren, getChildren, getFirstChild, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getResolvedLocale, getTagName, isVisible, setVisible |
Methods inherited from class com.bea.netuix.servlets.controls.ControlContext |
getContextFromRequest, getContextFromRequest, getControl, getRequestKey, getUniqueId, removeContextFromRequest, setContextInRequest |
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 static AbstractButtonPresentationContext getAbstractButtonPresentationContext(HttpServletRequest request)
AbstractButtonPresentationContext
for a given Button
.
Note this method will only work if called from within a portal (e.g. buttondelete.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
public String getAltText()
Button
portal component.
protected String getContextKey()
public String getEvent()
getEventParam
.
public String getEventParam()
Button
s
HREF URL, for example. The value for the request parameter can be retrieved via the getEvent
method.
public String getImage()
Button
.
Button
portal component, if anypublic String getImageSrc()
Button
, as might
be supplied to the src
attribute of an <img> tag.
Button
portal component, if anypublic String getName()
Button
portal component.
public String getRolloverImage()
Button
.
Button
portal component, if anypublic String getRolloverImageSrc()
Button
, as might be supplied to the src
attribute of an >img< tag.
Button
portal component, if anypublic String getWindowLabel()
Window
for this
Button
portal component. This can be used to determine which resource a particular
Button
is residing on.
public boolean isParentPortlet()
Button
's parent is an instance of Portlet
.
Book
)
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |