Class Preview
java.lang.Object
com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
com.priint.pubserver.comet.bridge.entitydata.Preview
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ImagePreview,SnippetPreview,TextPreview
Java class for the Comet3 Preview type.
The Preview class is abstract, use one of the concrete implementations
- TextPreview for text alternatives
- ImagePreview for image alternatives
- SnippetPreview for snippets
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe enum Button state.static enumAttributes 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. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Preview.ButtonStatefromCode(int code) From code button state.Get attributes comet 3 attribute [ ].intgetId()Gets id.intgetId2()Gets id 2.intgetId3()Gets id 3.intGets link script.getName()Gets name.Gets string id.voidsetId(int id) Sets id.voidsetId2(int id2) Sets id 2.voidsetId3(int id3) Sets id 3.voidsetLinkScript(int linkScript) Sets link script.voidSets name.voidsetStringId(String stringId) Sets string id.Methods inherited from class com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
get, getAsObject, getContent, set, setAsObject, setContent, toStringList
-
Constructor Details
-
Preview
public Preview()
-
-
Method Details
-
fromCode
From code button state.- Parameters:
code- the code- Returns:
- the button state
-
getAttributes
Description copied from class:Comet3EntityDataGet attributes comet 3 attribute [ ].- Specified by:
getAttributesin classComet3EntityData- Returns:
- the comet 3 attribute [ ]
-
getId
public int getId()Gets id.- Returns:
- the id
-
setId
public void setId(int id) Sets id.- Parameters:
id- the id
-
getId2
public int getId2()Gets id 2.- Returns:
- the id 2
-
setId2
public void setId2(int id2) Sets id 2.- Parameters:
id2- the id 2
-
getId3
public int getId3()Gets id 3.- Returns:
- the id 3
-
setId3
public void setId3(int id3) Sets id 3.- Parameters:
id3- the id 3
-
getStringId
Gets string id.- Returns:
- the string id
-
setStringId
Sets string id.- Parameters:
stringId- the string id
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the name
-
getLinkScript
public int getLinkScript()Gets link script.- Returns:
- the link script
-
setLinkScript
public void setLinkScript(int linkScript) Sets link script.- Parameters:
linkScript- the link script
-