public class NotePadMeta extends Object implements Cloneable, XMLInterface, GUIPositionInterface, GUISizeInterface
Modifier and Type | Field and Description |
---|---|
static int |
COLOR_RGB_BLACK_BLUE |
static int |
COLOR_RGB_BLACK_GREEN |
static int |
COLOR_RGB_BLACK_RED |
static int |
COLOR_RGB_DEFAULT_BG_BLUE |
static int |
COLOR_RGB_DEFAULT_BG_GREEN |
static int |
COLOR_RGB_DEFAULT_BG_RED |
static int |
COLOR_RGB_DEFAULT_BORDER_BLUE |
static int |
COLOR_RGB_DEFAULT_BORDER_GREEN |
static int |
COLOR_RGB_DEFAULT_BORDER_RED |
int |
height |
int |
width |
static String |
XML_TAG |
Constructor and Description |
---|
NotePadMeta() |
NotePadMeta(Node notepadnode) |
NotePadMeta(String n,
int xl,
int yl,
int w,
int h) |
NotePadMeta(String n,
int xl,
int yl,
int w,
int h,
String fontname,
int fontsize,
boolean fontbold,
boolean fontitalic,
int fontColorRed,
int fontColorGreen,
int fontColorBlue,
int backGrounColorRed,
int backGrounColorGreen,
int backGrounColorBlue,
int borderColorRed,
int borderColorGreen,
int borderColorBlue,
boolean drawshadow) |
public static final String XML_TAG
public static final int COLOR_RGB_BLACK_RED
public static final int COLOR_RGB_BLACK_GREEN
public static final int COLOR_RGB_BLACK_BLUE
public static final int COLOR_RGB_DEFAULT_BG_RED
public static final int COLOR_RGB_DEFAULT_BG_GREEN
public static final int COLOR_RGB_DEFAULT_BG_BLUE
public static final int COLOR_RGB_DEFAULT_BORDER_RED
public static final int COLOR_RGB_DEFAULT_BORDER_GREEN
public static final int COLOR_RGB_DEFAULT_BORDER_BLUE
public int width
public int height
public NotePadMeta()
public NotePadMeta(String n, int xl, int yl, int w, int h)
public NotePadMeta(String n, int xl, int yl, int w, int h, String fontname, int fontsize, boolean fontbold, boolean fontitalic, int fontColorRed, int fontColorGreen, int fontColorBlue, int backGrounColorRed, int backGrounColorGreen, int backGrounColorBlue, int borderColorRed, int borderColorGreen, int borderColorBlue, boolean drawshadow)
public NotePadMeta(Node notepadnode) throws KettleXMLException
KettleXMLException
public ObjectId getObjectId()
public void setObjectId(ObjectId id)
public void setLocation(int x, int y)
setLocation
in interface GUIPositionInterface
public void setLocation(Point p)
setLocation
in interface GUIPositionInterface
public Point getLocation()
getLocation
in interface GUIPositionInterface
public String getNote()
public void setNote(String note)
note
- The note to set.public void setBorderColorRed(int red)
green
- the border red color.public void setBorderColorGreen(int green)
green
- the border color green.public void setBorderColorBlue(int blue)
green
- the border blue color.public void setBackGroundColorRed(int red)
public void setBackGroundColorGreen(int green)
public void setBackGroundColorBlue(int blue)
public void setFontColorRed(int red)
Returns
- the font color red.public void setFontColorGreen(int green)
Returns
- the font color green.public void setFontColorBlue(int blue)
Returns
- the font color blue.public boolean isSelected()
isSelected
in interface GUIPositionInterface
public void setSelected(boolean selected)
setSelected
in interface GUIPositionInterface
selected
- The selected to set.public void flipSelected()
public void setDrawShadow(boolean drawshadow)
drawshadow
- The drawshadow to set.public boolean isDrawShadow()
public void setChanged()
public void setChanged(boolean ch)
public boolean hasChanged()
public String getXML()
getXML
in interface XMLInterface
public int getHeight()
getHeight
in interface GUISizeInterface
public void setHeight(int height)
setHeight
in interface GUISizeInterface
height
- the height to setpublic int getWidth()
getWidth
in interface GUISizeInterface
public void setWidth(int width)
setWidth
in interface GUISizeInterface
width
- the width to setpublic String getFontName()
public void setFontName(String fontname)
note
- The font name.public int getFontSize()
public void setFontBold(boolean fontbold)
note
- The font bold.public boolean isFontBold()
public void setFontItalic(boolean fontitalic)
note
- The font italic.public boolean isFontItalic()
public int getBorderColorRed()
public int getBorderColorGreen()
public int getBorderColorBlue()
public int getBackGroundColorRed()
public int getBackGroundColorGreen()
public int getBackGroundColorBlue()
public int getFontColorRed()
public int getFontColorGreen()
public int getFontColorBlue()
public void setFontSize(int fontsize)
note
- The font name.Copyright © 2018 Hitachi Vantara. All rights reserved.