cassis.gui.plot.popup
public class MessageModel extends java.lang.Object
| Constructor and Description |
|---|
MessageModel(java.lang.String message,
double xValue,
double yValue,
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() |
double |
getxValue() |
double |
getyValue() |
int |
getZoom() |
boolean |
isBold() |
boolean |
isEditAllowed() |
boolean |
isItalic() |
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 |
setVisiblePersitent(boolean visiblePersitent) |
void |
setxValue(double xValue) |
void |
setyValue(double yValue) |
void |
setZoom(int zoom) |
public MessageModel(java.lang.String message,
double xValue,
double yValue,
int currSpec)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - : the message to setpublic double getxValue()
public double getyValue()
public void setxValue(double xValue)
xValue - : the xValue to setpublic void setyValue(double yValue)
yValue - : the yValue 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()