|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.uif.component.ConfigurableBase org.kuali.rice.krad.uif.component.ComponentBase org.kuali.rice.krad.uif.field.FieldBase org.kuali.rice.krad.uif.field.ImageField
public class ImageField
Field that wraps an image content element.
Puts a <DIV>
tag around an image element. This allows for labeling, styling, etc.
Image
,
Serialized FormField Summary |
---|
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered |
---|
INITIAL_ORDER_VALUE |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
ImageField()
|
Method Summary | |
---|---|
String |
getAltText()
Provides alternate information for the image element |
Header |
getCaptionHeader()
Gets the caption header |
String |
getCaptionHeaderText()
Gets the caption header text |
List<Component> |
getComponentsForLifecycle()
List of components that are contained within the component and should be sent through the lifecycle |
Message |
getCutline()
Gets the cutline |
String |
getCutlineText()
Gets the cutline text |
String |
getHeight()
Gets the height of the image |
Image |
getImage()
Retrieves the Image element wrapped by this field |
String |
getSource()
Retrieves the URL the image wrapped by this field |
String |
getWidth()
Gets the width of the image |
boolean |
isCaptionHeaderAboveImage()
Gets boolen of whether the caption header is above the image |
void |
setAltText(String altText)
Sets the alternate text attribute of the image assosiated with this field |
void |
setCaptionHeader(Header captionHeader)
Sets the caption header |
void |
setCaptionHeaderAboveImage(boolean captionHeaderAboveImage)
Sets boolen of whether the caption header is above the image |
void |
setCaptionHeaderText(String captionHeaderText)
Sets the caption header text |
void |
setCutline(Message cutline)
Sets the cutline |
void |
setCutlineText(String cutlineText)
Sets the cutline text |
void |
setHeight(String height)
Sets the height of the image |
void |
setImage(Image image)
Sets the Image to be wrapped by this field |
void |
setSource(String source)
Sets the source URL for the Image associated with this field |
void |
setWidth(String width)
Sets the width of the image |
Methods inherited from class org.kuali.rice.krad.uif.field.FieldBase |
---|
getComponentSecurity, getComponentSecurityClass, getComponentTypeName, getFieldLabel, getLabel, getLabelColSpan, getLabelPlacement, getLabelStyleClasses, getShortLabel, isLabelRendered, performFinalize, performInitialization, setComponentSecurity, setFieldLabel, setLabel, setLabelColSpan, setLabelPlacement, setLabelRendered, setLabelStyleClasses, setNestedComponentIdAndSuffix, setShortLabel, setShowLabel |
Methods inherited from class org.kuali.rice.krad.uif.component.ConfigurableBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.uif.component.Configurable |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.uif.component.ScriptEventSupport |
---|
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, setOnBlurScript, setOnLoadScript |
Constructor Detail |
---|
public ImageField()
Method Detail |
---|
public List<Component> getComponentsForLifecycle()
Component
Used by ViewHelperService
for the various lifecycle callbacks
getComponentsForLifecycle
in interface Component
getComponentsForLifecycle
in class FieldBase
ComponentBase.getComponentsForLifecycle()
public Image getImage()
Image
element wrapped by this field
public void setImage(Image image)
image
- - the Image element to be wrapped by this fieldpublic String getSource()
Image.getSource()
public void setSource(String source)
source
- - String URL for the imagepublic String getAltText()
The altText property specifies an alternate text for an image. It is displayed by the browser if the image cannot be displayed. This is especially important for accessibility, because screen readers can't understand images, but rather will read aloud the alternative text assigned to them.
Image.getAltText()
public void setAltText(String altText)
altText
- - a String containing the alternative information about the imagepublic String getHeight()
public void setHeight(String height)
height
- public void setWidth(String width)
setWidth
in class ComponentBase
width
- public String getWidth()
getWidth
in class ComponentBase
public String getCaptionHeaderText()
public void setCaptionHeaderText(String captionHeaderText)
captionHeaderText
- public Header getCaptionHeader()
public void setCaptionHeader(Header captionHeader)
captionHeader
- public String getCutlineText()
public void setCutlineText(String cutlineText)
cutlineText
- public Message getCutline()
public void setCutline(Message cutline)
cutline
- public boolean isCaptionHeaderAboveImage()
public void setCaptionHeaderAboveImage(boolean captionHeaderAboveImage)
captionHeaderAboveImage
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |