public class TextLabel extends TextDispStr
DEFAULT_STREAMLEVEL_CORRECT_SPACING, LEVEL_NORMAL, LEVEL_V6| Constructor and Description |
|---|
TextLabel()
Default constructor.
|
TextLabel(String sSource)
Constructor with source text string.
|
TextLabel(TextLabel oSource)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(TextLabel oSource)
Assign this text label's content from the given text label.
|
boolean |
notEqual(TextLabel oCompare)
Compare text streams for inequality.
|
allowOverflow, allowOverflow, combCells, combCells, enforceJustifyHeight, enforceJustifyWidth, equals, extent, hashCode, justifyHeight, justifyHPoint, justifyVPoint, justifyWidth, maxHeight, maxWidth, minHeight, minWidth, notEqual, onLoadFrame, runtimeExtent, unlimitedHeight, unlimitedWidthappendFrame, appendFrame, appendFrameRef, appendFrameRef, createDisplay, defaultDirection, defaultDirection, forceFrame, forceFrame, getContext, getFrame, getFrameCount, insertFrame, insertFrameRef, onFrameRemoved, onNewFrame, onRemoveFrame, removeFrame, removeFrame, setContext, setFrame, setFrameCount, setFrameRefallowNewLines, allowNewLines, anyNewLines, append, append, append, append, append, append, cascadeLegacyLevel, coalesceMarker, contiguousText, copyFrom, currentSize, debug, display, enumEmbed, enumField, enumMarker, find, find, findRangeMarkerOver, fontService, fontService, gfxSource, gfxSource, isDescendentOf, isDescendentOf, legacyPositioning, markup, markup, markup, markup, markup, maxSize, maxSize, notEqual, position, posnCount, posnInsert, posnInsert, posnInsertPara, posnNext, posnNextAttr, posnNextChar, posnNextEmbed, posnNextField, posnNextType, posnNextType, posnPrev, posnPrevAttr, posnPrevChar, posnPrevEmbed, posnPrevField, posnPrevType, posnPrevType, posnUpdateStreamLoc, rangeEnumMarker, rangeMarker, rangeMarkerInternal, removeMarker, setText, spaceLeft, splitMarker, suppressFormat, text, text, updateNotificationgetLegacyLevel, hasCorrectPositioning, hasLegacyPositioning, hasNormalPositioning, setLegacyLevelpublic TextLabel()
The text stream contains no content and has no pool/mapping assocotiation.
public TextLabel(TextLabel oSource)
Copies all contents of the text label.
public TextLabel(String sSource)
Create a text stream whose initial content is copied from the given string. The text stream initially has no attribute pool association. The display is not automatically created.
sSource - - String whose contents are to be copied to the text
stream.public void copyFrom(TextLabel oSource)
Replace this stream's content with a copy of the content of the given stream. The graphic source information is not copied. In other words, fonts will be re-mapped in this stream's font service and attributes will be re-pooled in any attribute pool associated with this stream. The display pointer is not copied, as each stream has its own display; nor is a display automatically created.
oSource - - Stream containing source content to copy.public boolean notEqual(TextLabel oCompare)
Compare this stream against the one passed on the parameter oCompare for inequality. The graphics sources of the streams are not compared. This is the exact opposite of the equality comparison. The display does not participate in the comparison.
oCompare - - Stream to compare againstCopyright © 2010 - 2020 Adobe. All Rights Reserved