@Component(tag="barcode", widgetModule="fujion-barcode", widgetClass="BarCode", parentTag="*", description="Barcode component.") public class BarCode extends BaseUIComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
BarCode.Format
Supported barcode formats.
|
BaseComponent.SubComponentlog| Constructor and Description |
|---|
BarCode() |
BarCode(BarCode.Format format) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDisplayValue()
Returns true if the value is to be displayed next to the barcode.
|
BarCode.Format |
getFormat()
Returns the barcode format.
|
String |
getValue()
Returns the value to be encoded.
|
boolean |
isFlat()
Returns whether or not to render guard bars.
|
void |
setDisplayValue(boolean displayValue)
Set to true if the value is to be displayed next to the barcode.
|
void |
setFlat(boolean flat)
Set to true to suppress rendering of guard bars.
|
void |
setFormat(BarCode.Format format)
Sets the barcode format.
|
void |
setValue(String value)
Sets the value to be encoded.
|
_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, onDestroyTracked, print, print, removeClass, removeMask, removeStyle, reportSize, scrollIntoView, setBalloon, setClasses, setContext, setCss, setDisabled, setDragid, setDropid, setFlex, setFocus, setHeight, setHint, setKeycapture, setPopup, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _getChildren, _initProps, addChild, addChild, addChild, addChildren, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, addSnippet, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, finalize, findAllNamed, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getController, getControllers, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasAttribute, hasChildren, hasEventListener, hasEventListener, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, isRendered, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, propertyChange, removeAttribute, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setAttribute, setContent, setContentSynced, setData, setIndex, setName, setNamespace, setParent, sub, swapChildren, swapTrackedComponents, sync, toString, trackComponent, trimify, untrackComponent, validate, validate, validateChild, validateIsChild, validatePage, validateParent, wireControllerclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waittransformForClientpublic BarCode()
public BarCode(BarCode.Format format)
@Component.PropertyGetter(value="format", description="The barcode format.") public BarCode.Format getFormat()
@Component.PropertySetter(value="format", defaultValue="code128", description="The barcode format.") public void setFormat(BarCode.Format format)
format - The barcode format.@Component.PropertyGetter(value="displayValue", description="If true, display the value in plain text.") public boolean getDisplayValue()
@Component.PropertySetter(value="displayValue", description="If true, display the value in plain text.") public void setDisplayValue(boolean displayValue)
displayValue - True if the value is to be displayed next to the barcode.@Component.PropertyGetter(value="value", description="The value to encode.") public String getValue()
@Component.PropertySetter(value="value", defer=true, description="The value to encode.") public void setValue(String value)
value - The value to be encoded.IllegalArgumentException - If value fails validation.@Component.PropertyGetter(value="flat", description="If true, suppresses rendering of guard bars.") public boolean isFlat()
@Component.PropertySetter(value="flat", description="If true, suppresses rendering of guard bars.") public void setFlat(boolean flat)
flat - True to suppress rendering of guard bars.Copyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.