public class MessageModel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_FONT_NAME |
static int |
DEFAULT_FONT_SIZE |
static int |
NO_SPECIAL_TYPE |
static int |
ROTATIONAL_FIT_TYPE |
| Constructor and Description |
|---|
MessageModel(java.lang.String message,
int currSpec) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getBgColor() |
java.awt.Color |
getColor() |
double |
getCurrentAngle() |
int |
getCurrentSpectrum() |
javax.swing.text.AbstractDocument |
getDoc() |
java.lang.String |
getFontname() |
int |
getFontSize() |
java.lang.String |
getMessage() |
float |
getTransparency() |
int |
getType() |
int |
getZoom() |
boolean |
isBold() |
boolean |
isEditAllowed() |
boolean |
isItalic() |
boolean |
isUnderline() |
boolean |
isVisiblePersitent() |
void |
setAllowEdit(boolean value) |
void |
setBgColor(java.awt.Color bgColor) |
void |
setBold(boolean bold) |
void |
setColor(java.awt.Color color) |
void |
setCurrentAngle(double currentAngle) |
void |
setDoc(javax.swing.text.AbstractDocument doc) |
void |
setFontname(java.lang.String fontname) |
void |
setFontSize(int fontSize) |
void |
setItalic(boolean italic) |
void |
setMessage(java.lang.String message) |
void |
setTransparency(float value) |
void |
setType(int type) |
void |
setUnderline(boolean value) |
void |
setVisiblePersitent(boolean visiblePersitent) |
void |
setZoom(int zoom) |
public static final int NO_SPECIAL_TYPE
public static final int ROTATIONAL_FIT_TYPE
public static final java.lang.String DEFAULT_FONT_NAME
public static final int DEFAULT_FONT_SIZE
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - : the message to setpublic double getCurrentAngle()
public void setCurrentAngle(double currentAngle)
currentAngle - : the currentAngle to setpublic int getZoom()
public boolean isVisiblePersitent()
public javax.swing.text.AbstractDocument getDoc()
public java.awt.Color getColor()
public int getFontSize()
public java.lang.String getFontname()
public void setZoom(int zoom)
zoom - : the zoom to setpublic void setVisiblePersitent(boolean visiblePersitent)
visiblePersitent - : the visiblePersitent to setpublic void setDoc(javax.swing.text.AbstractDocument doc)
doc - : the doc to setpublic void setColor(java.awt.Color color)
color - : the color to setpublic java.awt.Color getBgColor()
public void setBgColor(java.awt.Color bgColor)
bgColor - : the bgColor to setpublic void setFontSize(int fontSize)
fontSize - : the fontSize to setpublic void setFontname(java.lang.String fontname)
fontname - : the font name to setpublic boolean isBold()
public boolean isItalic()
public void setBold(boolean bold)
bold - : the bold to setpublic void setItalic(boolean italic)
italic - : the italic to setpublic int getCurrentSpectrum()
public float getTransparency()
public void setTransparency(float value)
public void setAllowEdit(boolean value)
public boolean isEditAllowed()
public void setType(int type)
public int getType()
public boolean isUnderline()
public void setUnderline(boolean value)