public class FieldPositioner extends ContentPositioner
Positioner.PositionedLayoutComparator, Positioner.RowLayoutComparator
Modifier and Type | Field and Description |
---|---|
protected static JsContainer |
fieldJsObject |
captionElement, contentElement, document, inputParsingPattern, originalNumberOfFractionalDigitsInRawValue, uiElement, uiElements
accessibleAttributes, assistTag, breakConditions, buildNextInstance, canvas, childElements, contentArea, data, endPageNumber, id, immediateChildren, isContentTagged, isEmpty, isTagged, keepConditions, layoutOutOfDate, overflowConditions, overflowedContentAreas, parent, positionState, role, startPageNumber, startSheetNumber, template, transformation
containerJsObject
instanceManagerByTemplate, nodeJsObject, nodes, protoTemplate, tag, textJsObject, UNIVERSAL_PROTOTYPE_ROOT, utf8Charset
flattenerContext, shortcuts, treeJsObject
rhinoJsObject
Constructor and Description |
---|
FieldPositioner(XFATemplateTag templateTag, DataTag dataTag, JsNode parent, FlattenerContext flattenerContext) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(com.itextpdf.tool.xml.Tag tag) |
void |
addItem(String value, Object boundValue) |
void |
clearItems() |
protected TextElement |
createChoiceListTextContentElement(FormNode uiElementTag, XFARectangle textElementRect) |
String |
getClassName() |
String |
getDisplayItem(int index) |
String |
getFontColor() |
int |
getLength() |
String |
getSaveItem(int index) |
int |
getSelectedIndex() |
protected XFARectangle |
getTextArea() |
void |
initValues() |
boolean |
isBreakable() |
protected boolean |
isCheckButtonInsideRadioButtonList() |
void |
put(String name, org.mozilla.javascript.Scriptable start, Object value) |
protected void |
putCallback(String name, Object value) |
void |
setFontColor(String color) |
void |
setSelectedIndex(int index) |
boolean |
supportLegacyPlusPrint() |
adjustContentArea, adjustContentAreaHeight, adjustContentAreaIfImageElementSizeCalculated, adjustContentAreaUry, checkOverflowing, checkOverflowing, createCaptionElement, createContentElement, createImageContentElement, createTextContentElement, execCalculate, findNextBreakableElement, getCaption, getCaptionText, getContentRect, getElementArea, getFormattedValue, initLayout, isEmpty, isPositionedPartially, move, normalizeRawValueString, position, position, relayout, setRawValue, simulatePosition
addChild, addOverflowedPageContentArea, adjustLayout, applyMargins, applyRotation, applyTransformationToRectangle, applyTransformationToRectangle, applyTranslation, doesNotFitContentArea, drawBorder, drawBorder, execEvent, execValidate, fetchDataNode, fetchDataTagRecursively, findNextBreakableElement, getAbsoluteBbox, getAbsoluteBbox, getAccessibleAttribute, getAccessibleAttributes, getAlternateText, getBBox, getBottomInset, getBreakConditions, getCalculationScripts, getCanvas, getChildren, getContentArea, getData, getEndPageNumber, getFinalTransformation, getFlattenerContext, getId, getIndependentRotation, getKeepConditions, getLastPositionerBeforeInd, getLastPositionerInLayout, getLayout, getName, getOverflowConditions, getParent, getPositionState, getPreviousPositionerInLayout, getRawValue, getRole, getScriptsByActivity, getStartPageNumber, getStartSheetNumber, getTemplate, getTemplateId, getTransformation, getValidateScripts, initContentArea, initMinWContentAreaProperty, isBackgroundOrBorderExist, isContentTagged, isCurrentPageContentAreaOverflowed, isInline, isInvisible, isLayoutOutOfDate, isVisible, place, place, removeChild, restorePosState, savePosState, setAccessibleAttribute, setBreakConditions, setCanvas, setData, setEndPageNumber, setId, setLayoutOutOfDate, setParent, setPositionState, setRole, setStartPageNumber, setTransformation, setWidth, setX, unapplyMargins
execInitialize, execOwnEvent, get$, getDataNode, getFillColor, setFillColor
addAfterMe, addChild, addInstanceManagerForTemplate, addVariable, get, getChild, getInstanceManagerByTemplate, getIsContainer, getIsNull, getNodes, getNotNullXFAPrototype, getOneOfChild, getProtoTemplate, getPrototypeObject, getTag, isHidden, isInactive, isPropertySpecified, loadXML, retrieveAttribute, retrieveAttributes, retrieveChild, retrieveChild, retrieveChildren, retrieveChildren, retrieveContent, retrieveName, retrieveParent, retrieveRichText, retrieveValue, setOneOfChild, setProtoTemplate
getAll, getIndex, getNamePropertyByNameKey, getSomExpression, resolveNode, resolveNodeInt, resolveNodes, resolveNodesInt, searchNode, searchNodeByClassName, searchNodeById, searchNodeByName, searchNodeDown, searchNodes, searchNodesById, searchNodesByName, splitSOM, strictSearchNode, strictSearchNodeByName
defineConstantProperty, defineProperty, evaluateScript, evaluateScript, getDefaultValue, getOwnProperty, getProperty, getStringProperty, isUndefined, unwrap
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
protected static final JsContainer fieldJsObject
public FieldPositioner(XFATemplateTag templateTag, DataTag dataTag, JsNode parent, FlattenerContext flattenerContext)
public void put(String name, org.mozilla.javascript.Scriptable start, Object value)
put
in interface org.mozilla.javascript.Scriptable
put
in class Positioner
protected void putCallback(String name, Object value)
putCallback
in class JsNode
public boolean isBreakable()
isBreakable
in class Positioner
public void clearItems()
public String getDisplayItem(int index)
public String getSaveItem(int index)
public void setSelectedIndex(int index)
public int getSelectedIndex()
public int getLength()
public void setFontColor(String color)
public String getFontColor()
public String getClassName()
getClassName
in interface FormNode
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class RhinoJsObject
public void initValues()
initValues
in class ContentPositioner
protected boolean isCheckButtonInsideRadioButtonList()
protected XFARectangle getTextArea()
getTextArea
in class ContentPositioner
protected TextElement createChoiceListTextContentElement(FormNode uiElementTag, XFARectangle textElementRect)
createChoiceListTextContentElement
in class ContentPositioner
public boolean supportLegacyPlusPrint()
supportLegacyPlusPrint
in class Positioner
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.