public class NotePadMeta extends Object implements Cloneable, org.pentaho.di.core.xml.XMLInterface, org.pentaho.di.core.gui.GUIPositionInterface, org.pentaho.di.core.gui.GUISizeInterface
| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
clone() |
void |
flipSelected()
Change a selected state to not-selected and vice-versa.
|
int |
getBackGroundColorBlue() |
int |
getBackGroundColorGreen() |
int |
getBackGroundColorRed() |
int |
getBorderColorBlue() |
int |
getBorderColorGreen() |
int |
getBorderColorRed() |
int |
getFontColorBlue() |
int |
getFontColorGreen() |
int |
getFontColorRed() |
String |
getFontName() |
int |
getFontSize() |
int |
getHeight() |
org.pentaho.di.core.gui.Point |
getLocation() |
String |
getNote() |
org.pentaho.di.repository.ObjectId |
getObjectId() |
int |
getWidth() |
String |
getXML() |
boolean |
hasChanged() |
boolean |
isDrawShadow()
Change a drawshadow state
|
boolean |
isFontBold() |
boolean |
isFontItalic() |
boolean |
isSelected() |
void |
setBackGroundColorBlue(int blue) |
void |
setBackGroundColorGreen(int green) |
void |
setBackGroundColorRed(int red) |
void |
setBorderColorBlue(int blue) |
void |
setBorderColorGreen(int green) |
void |
setBorderColorRed(int red) |
void |
setChanged() |
void |
setChanged(boolean ch) |
void |
setDrawShadow(boolean drawshadow) |
void |
setFontBold(boolean fontbold) |
void |
setFontColorBlue(int blue) |
void |
setFontColorGreen(int green) |
void |
setFontColorRed(int red) |
void |
setFontItalic(boolean fontitalic) |
void |
setFontName(String fontname) |
void |
setFontSize(int fontsize) |
void |
setHeight(int height) |
void |
setLocation(int x,
int y) |
void |
setLocation(org.pentaho.di.core.gui.Point p) |
void |
setNote(String note) |
void |
setObjectId(org.pentaho.di.repository.ObjectId id) |
void |
setSelected(boolean selected) |
void |
setWidth(int width) |
String |
toString() |
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 org.pentaho.di.core.exception.KettleXMLException
org.pentaho.di.core.exception.KettleXMLExceptionpublic org.pentaho.di.repository.ObjectId getObjectId()
public void setObjectId(org.pentaho.di.repository.ObjectId id)
public void setLocation(int x,
int y)
setLocation 在接口中 org.pentaho.di.core.gui.GUIPositionInterfacepublic void setLocation(org.pentaho.di.core.gui.Point p)
setLocation 在接口中 org.pentaho.di.core.gui.GUIPositionInterfacepublic org.pentaho.di.core.gui.Point getLocation()
getLocation 在接口中 org.pentaho.di.core.gui.GUIPositionInterfacepublic 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 在接口中 org.pentaho.di.core.gui.GUIPositionInterfacepublic void setSelected(boolean selected)
setSelected 在接口中 org.pentaho.di.core.gui.GUIPositionInterfaceselected - 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 在接口中 org.pentaho.di.core.xml.XMLInterfacepublic int getHeight()
getHeight 在接口中 org.pentaho.di.core.gui.GUISizeInterfacepublic void setHeight(int height)
setHeight 在接口中 org.pentaho.di.core.gui.GUISizeInterfaceheight - the height to setpublic int getWidth()
getWidth 在接口中 org.pentaho.di.core.gui.GUISizeInterfacepublic void setWidth(int width)
setWidth 在接口中 org.pentaho.di.core.gui.GUISizeInterfacewidth - 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 © 2024 Hitachi Vantara. All rights reserved.