|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.util.ui.WcmAnchor
com.filenet.wcm.toolkit.server.util.ui.WcmImageAnchor
Field Summary | |
protected java.lang.String |
altSelectedImageLabel
Deprecated. The label of the HTML image alt attribute for the selected image. |
protected java.lang.String |
altUnSelectedImageLabel
Deprecated. The label of the HTML image alt attribute for the unselected image. |
protected java.lang.String |
imageAttributes
Deprecated. Any additional image HTML attributes. |
static WcmString |
LOCALIZED_IMAGE_PATH
Deprecated. The localized image path. |
protected boolean |
selected
Deprecated. |
protected java.lang.String |
selectedImageUrl
Deprecated. The url path of the selected image. |
protected java.lang.String |
unSelectedImageUrl
Deprecated. The url path of the unselected image. |
Fields inherited from class com.filenet.wcm.toolkit.server.util.ui.WcmAnchor |
disabled, extraAttributes, hidden, id, label, locLabel, onClick, onContextMenu, popup, toolTip, urlObject, urlString, windowHeight, windowWidth |
Constructor Summary | |
WcmImageAnchor(java.lang.String url,
java.lang.String label,
java.lang.String selectedImageURL,
java.lang.String unSelectedImageURL)
Deprecated. Contructs a new WcmImageAnchor object. |
|
WcmImageAnchor(java.lang.String url,
WcmString localizedLabel,
java.lang.String selectedImageURL,
java.lang.String unSelectedImageURL)
Deprecated. Contructs a new WcmImageAnchor object. |
Method Summary | |
java.lang.String |
getAltImageLabel()
Deprecated. Returns the alt label of the active image (selected or unselected image). |
java.lang.String |
getHTML()
Deprecated. Returns the WcmImageAnchor HTML. |
java.lang.String |
getHTML(java.lang.String imageAttributes)
Deprecated. Returns the WcmImageAnchor HTML. |
java.lang.String |
getHTML(java.lang.String anchorAttributes,
java.lang.String imageAttributes)
Deprecated. Returns the WcmImageAnchor HTML. |
java.lang.String |
getImageElementHTML()
Deprecated. Returns the image HTML of the active image (selected or unselected image). |
java.lang.String |
getImageElementHTML(java.lang.String imageAttributes)
Deprecated. Returns the image HTML of the active image (selected or unselected image). |
boolean |
isSelected()
Deprecated. Returns true when the image anchor is in a selected state. |
void |
setAltSelectedImageLabel(WcmString localizedAltImageLabel)
Deprecated. Sets the selected image alt label. |
void |
setAltUnSelectedImageLabel(WcmString localizedAltImageLabel)
Deprecated. Sets the selected image alt label. |
void |
setSelected(boolean on)
Deprecated. Sets the WcmImageAnchor to a selected state. |
Methods inherited from class com.filenet.wcm.toolkit.server.util.ui.WcmAnchor |
createNonLocalized, getCloseTagHTML, getHTML, getHTML, getId, getLabel, getLabel, getOpenTagHTML, getOpenTagHTML, getToolTip, getURL, getWindowHeight, getWindowWidth, isDisabled, isHidden, isPopup, setDisabled, setHidden, setId, setNonLocalizedLabel, setOnClick, setOnContextMenu, setPopup, setToolTip, setToolTip, setToolTip, setURL, setURL, setWindowHeight, setWindowWidth, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final WcmString LOCALIZED_IMAGE_PATH
protected java.lang.String selectedImageUrl
protected java.lang.String unSelectedImageUrl
protected java.lang.String altSelectedImageLabel
protected java.lang.String altUnSelectedImageLabel
protected java.lang.String imageAttributes
protected boolean selected
Constructor Detail |
public WcmImageAnchor(java.lang.String url, WcmString localizedLabel, java.lang.String selectedImageURL, java.lang.String unSelectedImageURL)
url
- The url string of the new anchor.localizedLabel
- The localized label of the new anchor.selectedImageURL
- The selected image url path.unSelectedImageURL
- The unselected image url path.public WcmImageAnchor(java.lang.String url, java.lang.String label, java.lang.String selectedImageURL, java.lang.String unSelectedImageURL)
url
- The url string of the new anchor.label
- The label of the new anchor.selectedImageURL
- The selected image url path.unSelectedImageURL
- The unselected image url path.Method Detail |
public java.lang.String getHTML(java.lang.String imageAttributes)
getHTML
in class WcmAnchor
imageAttributes
- Any additional image tag attributes.
public java.lang.String getHTML(java.lang.String anchorAttributes, java.lang.String imageAttributes)
anchorAttributes
- Any additional anchor HTML attributes. For a disabled anchor, the extra attributes will be added
to the <span> tag. Otherwise, it is added to the <a> tag.imageAttributes
- Any additional image tag attributes.
public java.lang.String getHTML()
getHTML
in class WcmAnchor
public java.lang.String getImageElementHTML()
public void setAltSelectedImageLabel(WcmString localizedAltImageLabel)
localizedAltImageLabel
- The localized label being used for the selected image alt label.public void setAltUnSelectedImageLabel(WcmString localizedAltImageLabel)
localizedAltImageLabel
- The localized label being used for the unselected image alt label.public java.lang.String getImageElementHTML(java.lang.String imageAttributes)
imageAttributes
- Any additional image tag attributes.
public java.lang.String getAltImageLabel()
public void setSelected(boolean on)
on
- true to set the image anchor to a selected state. Otherwise, it is set to an unselected state.public boolean isSelected()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |