@Component(tag="caption", widgetClass="Caption", parentTag="*", childTag=@Component.ChildTag(value="*")) public class Caption extends BaseLabeledComponent<BaseLabeledComponent.LabelPositionAll>
| Modifier and Type | Class and Description |
|---|---|
static class |
Caption.LabelAlignment |
BaseLabeledComponent.ILabelPosition, BaseLabeledComponent.LabelPositionAll, BaseLabeledComponent.LabelPositionHorz, BaseLabeledComponent.LabelPositionNoneBaseComponent.SubComponent| Constructor and Description |
|---|
Caption() |
| Modifier and Type | Method and Description |
|---|---|
Caption.LabelAlignment |
getAlignment()
Returns the alignment of the label.
|
String |
getLabelClass()
Returns the css class(es) associated with the label.
|
String |
getLabelStyle()
Returns the style(s) associated with the label.
|
BaseLabeledComponent.LabelPositionAll |
getPosition()
Returns the position of the label relative to its associated component.
|
void |
setAlignment(Caption.LabelAlignment alignment)
Sets the alignment of the label.
|
void |
setLabelClass(String labelClass)
Sets the css class(es) of the label.
|
void |
setLabelStyle(String labelStyle)
Sets the style(s) of the label.
|
void |
setPosition(BaseLabeledComponent.LabelPositionAll position)
Sets the position of the label relative to its associated component.
|
getLabel, setLabel_syncClasses, _syncStyles, addClass, addMask, addMask, addMask, addStyle, addStyles, afterRemoveChild, focus, getBalloon, getClasses, getContext, getCss, getDragid, getDropid, getFirstVisibleChild, getFirstVisibleChild, getFlex, getHeight, getHint, getKeycapture, getPopup, getStyle, getStyles, getTabindex, getWidth, hide, isDisabled, isVisible, removeClass, removeMask, removeStyle, scrollIntoView, setBalloon, setClasses, setContext, setCss, setDisabled, setDragid, setDropid, setFlex, setFocus, setHeight, setHint, setKeycapture, setPopup, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _initProps, addChild, addChild, addChild, addChildren, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bringToFront, defaultify, destroy, destroyChildren, detach, finalize, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, getAncestor, getAncestor, getAttribute, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasAttribute, hasEventListener, hasEventListener, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, notifyAncestors, nullify, onAttach, onDestroy, removeAttribute, removeChild, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setAttribute, setContent, setContentSynced, setData, setIndex, setName, setParent, sub, swapChildren, sync, toString, trimify, validate, validate, validateChild, validateIsChild, validatePage, validateParent, wireController@Component.PropertyGetter(value="position") public BaseLabeledComponent.LabelPositionAll getPosition()
getPosition in class BaseLabeledComponent<BaseLabeledComponent.LabelPositionAll>@Component.PropertySetter(value="position") public void setPosition(BaseLabeledComponent.LabelPositionAll position)
setPosition in class BaseLabeledComponent<BaseLabeledComponent.LabelPositionAll>position - May be one of: left, right, top, or bottom.@Component.PropertyGetter(value="alignment") public Caption.LabelAlignment getAlignment()
@Component.PropertySetter(value="alignment") public void setAlignment(Caption.LabelAlignment alignment)
alignment - May be one of: start, center, end.public String getLabelStyle()
public void setLabelStyle(String labelStyle)
labelStyle - The label style(s).public String getLabelClass()
public void setLabelClass(String labelClass)
labelClass - The label css class(es).Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.