com.adobe.xfa.text.StrNullFrame Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-sdk-api Show documentation
Show all versions of aem-sdk-api Show documentation
The Adobe Experience Manager SDK
package com.adobe.xfa.text;
/**
* @exclude from published api.
*/
class StrNullFrame extends StrItem {
private final TextNullFrame mpoNullFrame;
StrNullFrame () {
super (TextItem.NULL_FRAME);
mpoNullFrame = null;
}
StrNullFrame (TextNullFrame poNullFrame) {
super (TextItem.NULL_FRAME);
mpoNullFrame = poNullFrame;
}
// Inherited from class TextStrItem
TextNullFrame nullFrameAt (int nIndex) {
return mpoNullFrame;
}
boolean isEqual (StrItem poCompare) {
StrNullFrame poOther = ((StrNullFrame) (poCompare));
return mpoNullFrame.equals (poOther.mpoNullFrame); // TBD: or are all null frames equal?
}
// TBD: investigate stream copy and stream insert for creating spurious
// null frame references.
StrItem cloneItem (TextGfxSource oGfxSource) {
return new StrNullFrame (mpoNullFrame);
}
// For debugging.
void debug (int indent) {
System.out.println (Pkg.doIndent (indent+1) + "Null frame");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy