Enum Preview.PreviewAttribute
- java.lang.Object
-
- java.lang.Enum<Preview.PreviewAttribute>
-
- com.priint.pubserver.comet.bridge.entitydata.Preview.PreviewAttribute
-
- All Implemented Interfaces:
Comet3Attribute,java.io.Serializable,java.lang.Comparable<Preview.PreviewAttribute>
- Enclosing class:
- Preview
public static enum Preview.PreviewAttribute extends java.lang.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.).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUTTONSTATEThe Buttonstate.IDThe Id.ID2The Id 2.ID3The Id 3.IMAGECOLORDEPTHThe Imagecolordepth.IMAGEFORMATThe Imageformat.IMAGEHEIGHTThe Imageheight.IMAGEPATHThe Imagepath.IMAGERESOLUTIONThe Imageresolution.IMAGEWIDTHThe Imagewidth.INFO1_OR_INFO3The Info 1 or info 3.INFO2_OR_INFO1The Info 2 or info 1.LINKSCRIPTThe Linkscript.NAMEThe Name.SNIPPETCOLUMNThe Snippetcolumn.SNIPPETTABLEThe Snippettable.STRINGIDThe Stringid.TEXT_OR_DESCRIPTIONThe Text or description.TEXTNAME_OR_INFO2The Textname or info 2.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Preview.PreviewAttributevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Preview.PreviewAttribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.priint.pubserver.comet.bridge.entitydata.Comet3Attribute
getDefault, getName
-
-
-
-
Enum Constant Detail
-
ID
public static final Preview.PreviewAttribute ID
The Id.
-
ID2
public static final Preview.PreviewAttribute ID2
The Id 2.
-
ID3
public static final Preview.PreviewAttribute ID3
The Id 3.
-
STRINGID
public static final Preview.PreviewAttribute STRINGID
The Stringid.
-
NAME
public static final Preview.PreviewAttribute NAME
The Name.
-
IMAGEPATH
public static final Preview.PreviewAttribute IMAGEPATH
The Imagepath.
-
IMAGEFORMAT
public static final Preview.PreviewAttribute IMAGEFORMAT
The Imageformat.
-
IMAGEWIDTH
public static final Preview.PreviewAttribute IMAGEWIDTH
The Imagewidth.
-
IMAGEHEIGHT
public static final Preview.PreviewAttribute IMAGEHEIGHT
The Imageheight.
-
IMAGERESOLUTION
public static final Preview.PreviewAttribute IMAGERESOLUTION
The Imageresolution.
-
IMAGECOLORDEPTH
public static final Preview.PreviewAttribute IMAGECOLORDEPTH
The Imagecolordepth.
-
BUTTONSTATE
public static final Preview.PreviewAttribute BUTTONSTATE
The Buttonstate.
-
LINKSCRIPT
public static final Preview.PreviewAttribute LINKSCRIPT
The Linkscript.
-
TEXTNAME_OR_INFO2
public static final Preview.PreviewAttribute TEXTNAME_OR_INFO2
The Textname or info 2.
-
INFO1_OR_INFO3
public static final Preview.PreviewAttribute INFO1_OR_INFO3
The Info 1 or info 3.
-
INFO2_OR_INFO1
public static final Preview.PreviewAttribute INFO2_OR_INFO1
The Info 2 or info 1.
-
TEXT_OR_DESCRIPTION
public static final Preview.PreviewAttribute TEXT_OR_DESCRIPTION
The Text or description.
-
SNIPPETTABLE
public static final Preview.PreviewAttribute SNIPPETTABLE
The Snippettable.
-
SNIPPETCOLUMN
public static final Preview.PreviewAttribute SNIPPETCOLUMN
The Snippetcolumn.
-
-
Method Detail
-
values
public static Preview.PreviewAttribute[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Preview.PreviewAttribute c : Preview.PreviewAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Preview.PreviewAttribute valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-