public class PrintSetDocumentBlib extends BaseManager
PrintSetDocumentStore
.BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
boolean |
getBold()
Returns whether this blib should be rendered in bold.
|
PrintSetDocumentStore |
getDocumentStore()
Returns the child blibs for this container blib.
|
java.lang.String |
getFont()
Returns the font name for this blib.
|
int |
getFontColor()
Returns the RGB value representing the font color in the default sRGB
ColorModel . |
int |
getFontSize()
Returns the font size for this blib.
|
int |
getImageAlignment()
Gets image alignment for this blib.
|
byte[] |
getImageData()
Gets image data for this blib.
|
boolean |
getItalic()
Returns whether this blib should be rendered in italic.
|
PrintSetTabSet |
getPrintSetTabSet()
Returns the tab set for this blib.
|
java.lang.String |
getText()
Returns the text of this blib.
|
boolean |
getUnderline()
Returns whether this blib should be rendered using an underline.
|
boolean |
isStore()
Returns whether this blib contains textual information or is a container blib.
|
void |
setBold(boolean value)
Adds the bold attribute to the layout of this blib.
|
void |
setFont(java.lang.String font)
Sets the font name for this blib.
|
void |
setFontColor(int color)
Sets the font color as RGB value representing the color.
|
void |
setFontSize(int size)
Sets the font size for this blib.
|
void |
setImageAlignment(int alignment)
Sets image alignment for this blib.
|
void |
setImageData(byte[] coreData)
Sets image data for this blib.
|
void |
setItalic(boolean value)
Adds the italic attribute to the layout of this blib.
|
void |
setTabSet(javax.swing.text.TabSet tabSet)
Sets the tab set for this blib.
|
void |
setText(java.lang.String text)
Returns the text for this blib.
|
void |
setUnderline(boolean value)
Adds the underline attribute to the layout of this blib.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public java.lang.String getText()
public void setText(java.lang.String text)
text
- this blibs textpublic java.lang.String getFont()
public void setFont(java.lang.String font)
font
- font namepublic int getFontSize()
public void setFontSize(int size)
size
- font sizepublic int getFontColor()
ColorModel
. (Bits 24-31 are alpha, 16-23 are red, 8-15 are
green, 0-7 are blue).ColorModel
.public void setFontColor(int color)
color
- the combined RGB componentspublic boolean getBold()
public void setBold(boolean value)
value
- true if blib should be boldpublic boolean getItalic()
public void setItalic(boolean value)
value
- true if blib should be italicpublic boolean getUnderline()
public void setUnderline(boolean value)
value
- true if blib should be underlinepublic void setImageData(byte[] coreData)
coreData
- image data to savepublic byte[] getImageData()
public void setImageAlignment(int alignment)
alignment
- alignmentpublic int getImageAlignment()
public PrintSetTabSet getPrintSetTabSet()
public void setTabSet(javax.swing.text.TabSet tabSet)
tabSet
- new tab set for this blibpublic boolean isStore()
public PrintSetDocumentStore getDocumentStore()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.