Enum Class Preview.PreviewAttribute
java.lang.Object
java.lang.Enum<Preview.PreviewAttribute>
com.priint.pubserver.comet.bridge.entitydata.Preview.PreviewAttribute
- All Implemented Interfaces:
Comet3Attribute,Serializable,Comparable<Preview.PreviewAttribute>,Constable
- Enclosing class:
- Preview
public static enum Preview.PreviewAttribute
extends Enum<Preview.PreviewAttribute>
implements Comet3Attribute
Attributes for the Comet3 Preview type.
CAUTION! Do not change the order of these attributes or add or remove attributes, otherwise the InDesign Comet Plug-Ins and other clients will misinterpret the data sent from the Publishing Server.
Depending on the Preview-type (i.e. text, image or snippet), some of the fields have different semantics. Just ignore the Attribute names and use the getter and setter methods defined for the concrete implementations (TextPreview etc.).
CAUTION! Do not change the order of these attributes or add or remove attributes, otherwise the InDesign Comet Plug-Ins and other clients will misinterpret the data sent from the Publishing Server.
Depending on the Preview-type (i.e. text, image or snippet), some of the fields have different semantics. Just ignore the Attribute names and use the getter and setter methods defined for the concrete implementations (TextPreview etc.).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Buttonstate.The Id.The Id 2.The Id 3.The Imagecolordepth.The Imageformat.The Imageheight.The Imagepath.The Imageresolution.The Imagewidth.The Info 1 or info 3.The Info 2 or info 1.The Linkscript.The Name.The Snippetcolumn.The Snippettable.The Stringid.The Text or description.The Textname or info 2. -
Method Summary
Modifier and TypeMethodDescriptionstatic Preview.PreviewAttributeReturns the enum constant of this class with the specified name.static Preview.PreviewAttribute[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.priint.pubserver.comet.bridge.entitydata.Comet3Attribute
getDefault, getName
-
Enum Constant Details
-
ID
The Id. -
ID2
The Id 2. -
ID3
The Id 3. -
STRINGID
The Stringid. -
NAME
The Name. -
IMAGEPATH
The Imagepath. -
IMAGEFORMAT
The Imageformat. -
IMAGEWIDTH
The Imagewidth. -
IMAGEHEIGHT
The Imageheight. -
IMAGERESOLUTION
The Imageresolution. -
IMAGECOLORDEPTH
The Imagecolordepth. -
BUTTONSTATE
The Buttonstate. -
LINKSCRIPT
The Linkscript. -
TEXTNAME_OR_INFO2
The Textname or info 2. -
INFO1_OR_INFO3
The Info 1 or info 3. -
INFO2_OR_INFO1
The Info 2 or info 1. -
TEXT_OR_DESCRIPTION
The Text or description. -
SNIPPETTABLE
The Snippettable. -
SNIPPETCOLUMN
The Snippetcolumn.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-