Package com.adobe.xfa.text
Class TextNullFrame
- java.lang.Object
-
- com.adobe.xfa.text.TextFrame
-
- com.adobe.xfa.text.TextNullFrame
-
- All Implemented Interfaces:
GFXContext,GFXModelContext
public class TextNullFrame extends TextFrame
The null frame is a place-holder for frames not loaded yet. It allows content-based operations to detect missing frames and cause them to be loaded.
-
-
Field Summary
Fields Modifier and Type Field Description static intMODE_ALLOWstatic intMODE_IGNOREstatic intMODE_LOADstatic intMODE_STOP
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextFramecloneFrame()Create a copy (deep clone) of this frame object.TextNullFrameisNullFrame()UnitSpanmaxHeight()Return the frame's maximum height.UnitSpanmaxWidth()Return the frame's maximum width.UnitSpanminHeight()Return the frame's minimum height.UnitSpanminWidth()Return the frame's minimum width.-
Methods inherited from class com.adobe.xfa.text.TextFrame
alignHPoint, alignVPoint, combCells, copyFrom, format, getLayoutOrientation, getLineCount, gfxDraw, gfxDraw, gfxDraw, gfxDraw, gfxDraw, isDirty, releaseDisposableMaps, setDirty, unlimitedHeight, unlimitedWidth
-
-
-
-
Field Detail
-
MODE_LOAD
public static final int MODE_LOAD
- See Also:
- Constant Field Values
-
MODE_ALLOW
public static final int MODE_ALLOW
- See Also:
- Constant Field Values
-
MODE_IGNORE
public static final int MODE_IGNORE
- See Also:
- Constant Field Values
-
MODE_STOP
public static final int MODE_STOP
- See Also:
- Constant Field Values
-
-
Method Detail
-
minWidth
public UnitSpan minWidth()
Description copied from class:TextFrameReturn the frame's minimum width.All frames have both a minimum and maximum width, which may or may not be the same. This method returns the minimum width.
-
minHeight
public UnitSpan minHeight()
Description copied from class:TextFrameReturn the frame's minimum height.All frames have both a minimum and maximum height, which may or may not be the same. This method returns the minimum height.
-
maxWidth
public UnitSpan maxWidth()
Description copied from class:TextFrameReturn the frame's maximum width.All frames have both a minimum and maximum width, which may or may not be the same. This method returns the maximum width.
-
maxHeight
public UnitSpan maxHeight()
Description copied from class:TextFrameReturn the frame's maximum height.All frames have both a minimum and maximum height, which may or may not be the same. This method returns the maximum height.
-
cloneFrame
public TextFrame cloneFrame()
Description copied from class:TextFrameCreate a copy (deep clone) of this frame object.The copy must have the same geometry as this object. It is up to AXTE to subsequently manage the clones layout and relationship to content.
- Specified by:
cloneFramein classTextFrame- Returns:
- Cloned copy of the frame. The lifetime of this object will be managed with reference counting.
-
isNullFrame
public TextNullFrame isNullFrame()
-
-