Package org.pentaho.di.core
Class NotePadMeta
java.lang.Object
org.pentaho.di.core.NotePadMeta
- All Implemented Interfaces:
Cloneable,org.pentaho.di.core.gui.GUIPositionInterface,org.pentaho.di.core.gui.GUISizeInterface,org.pentaho.di.core.xml.XMLInterface
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
Describes a note displayed on a Transformation, Job, Schema, or Report.
- Since:
- 28-11-2003
- Author:
- Matt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intintintstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionNotePadMeta(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) NotePadMeta(Node notepadnode) -
Method Summary
Modifier and TypeMethodDescriptionclone()voidChange a selected state to not-selected and vice-versa.intintintintintintintintintintintorg.pentaho.di.core.gui.PointgetNote()org.pentaho.di.repository.ObjectIdintgetWidth()getXML()booleanbooleanChange a drawshadow statebooleanbooleanbooleanvoidsetBackGroundColorBlue(int blue) voidsetBackGroundColorGreen(int green) voidsetBackGroundColorRed(int red) voidsetBorderColorBlue(int blue) voidsetBorderColorGreen(int green) voidsetBorderColorRed(int red) voidvoidsetChanged(boolean ch) voidsetDrawShadow(boolean drawshadow) voidsetFontBold(boolean fontbold) voidsetFontColorBlue(int blue) voidsetFontColorGreen(int green) voidsetFontColorRed(int red) voidsetFontItalic(boolean fontitalic) voidsetFontName(String fontname) voidsetFontSize(int fontsize) voidsetHeight(int height) voidsetLocation(int x, int y) voidsetLocation(org.pentaho.di.core.gui.Point p) voidvoidsetObjectId(org.pentaho.di.repository.ObjectId id) voidsetSelected(boolean selected) voidsetWidth(int width) toString()
-
Field Details
-
XML_TAG
- See Also:
-
COLOR_RGB_BLACK_RED
public static final int COLOR_RGB_BLACK_RED- See Also:
-
COLOR_RGB_BLACK_GREEN
public static final int COLOR_RGB_BLACK_GREEN- See Also:
-
COLOR_RGB_BLACK_BLUE
public static final int COLOR_RGB_BLACK_BLUE- See Also:
-
COLOR_RGB_DEFAULT_BG_RED
public static final int COLOR_RGB_DEFAULT_BG_RED- See Also:
-
COLOR_RGB_DEFAULT_BG_GREEN
public static final int COLOR_RGB_DEFAULT_BG_GREEN- See Also:
-
COLOR_RGB_DEFAULT_BG_BLUE
public static final int COLOR_RGB_DEFAULT_BG_BLUE- See Also:
-
COLOR_RGB_DEFAULT_BORDER_RED
public static final int COLOR_RGB_DEFAULT_BORDER_RED- See Also:
-
COLOR_RGB_DEFAULT_BORDER_GREEN
public static final int COLOR_RGB_DEFAULT_BORDER_GREEN- See Also:
-
COLOR_RGB_DEFAULT_BORDER_BLUE
public static final int COLOR_RGB_DEFAULT_BORDER_BLUE- See Also:
-
width
public int width -
height
public int height
-
-
Constructor Details
-
NotePadMeta
public NotePadMeta() -
NotePadMeta
-
NotePadMeta
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) -
NotePadMeta
- Throws:
org.pentaho.di.core.exception.KettleXMLException
-
-
Method Details
-
getObjectId
public org.pentaho.di.repository.ObjectId getObjectId() -
setObjectId
public void setObjectId(org.pentaho.di.repository.ObjectId id) -
setLocation
public void setLocation(int x, int y) - Specified by:
setLocationin interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
setLocation
public void setLocation(org.pentaho.di.core.gui.Point p) - Specified by:
setLocationin interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
getLocation
public org.pentaho.di.core.gui.Point getLocation()- Specified by:
getLocationin interfaceorg.pentaho.di.core.gui.GUIPositionInterface
-
getNote
- Returns:
- Returns the note.
-
setNote
- Parameters:
note- The note to set.
-
setBorderColorRed
public void setBorderColorRed(int red) - Parameters:
green- the border red color.
-
setBorderColorGreen
public void setBorderColorGreen(int green) - Parameters:
green- the border color green.
-
setBorderColorBlue
public void setBorderColorBlue(int blue) - Parameters:
green- the border blue color.
-
setBackGroundColorRed
public void setBackGroundColorRed(int red) -
setBackGroundColorGreen
public void setBackGroundColorGreen(int green) -
setBackGroundColorBlue
public void setBackGroundColorBlue(int blue) -
setFontColorRed
public void setFontColorRed(int red) - Parameters:
Returns- the font color red.
-
setFontColorGreen
public void setFontColorGreen(int green) - Parameters:
Returns- the font color green.
-
setFontColorBlue
public void setFontColorBlue(int blue) - Parameters:
Returns- the font color blue.
-
isSelected
public boolean isSelected()- Specified by:
isSelectedin interfaceorg.pentaho.di.core.gui.GUIPositionInterface- Returns:
- Returns the selected.
-
setSelected
public void setSelected(boolean selected) - Specified by:
setSelectedin interfaceorg.pentaho.di.core.gui.GUIPositionInterface- Parameters:
selected- The selected to set.
-
flipSelected
public void flipSelected()Change a selected state to not-selected and vice-versa. -
setDrawShadow
public void setDrawShadow(boolean drawshadow) - Parameters:
drawshadow- The drawshadow to set.
-
isDrawShadow
public boolean isDrawShadow()Change a drawshadow state -
clone
-
setChanged
public void setChanged() -
setChanged
public void setChanged(boolean ch) -
hasChanged
public boolean hasChanged() -
toString
-
getXML
- Specified by:
getXMLin interfaceorg.pentaho.di.core.xml.XMLInterface
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceorg.pentaho.di.core.gui.GUISizeInterface- Returns:
- the height
-
setHeight
public void setHeight(int height) - Specified by:
setHeightin interfaceorg.pentaho.di.core.gui.GUISizeInterface- Parameters:
height- the height to set
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceorg.pentaho.di.core.gui.GUISizeInterface- Returns:
- the width
-
setWidth
public void setWidth(int width) - Specified by:
setWidthin interfaceorg.pentaho.di.core.gui.GUISizeInterface- Parameters:
width- the width to set
-
getFontName
- Returns:
- Returns the font name.
-
setFontName
- Parameters:
note- The font name.
-
getFontSize
public int getFontSize()- Returns:
- Returns the font size.
-
setFontBold
public void setFontBold(boolean fontbold) - Parameters:
note- The font bold.
-
isFontBold
public boolean isFontBold()- Returns:
- Returns the font bold.
-
setFontItalic
public void setFontItalic(boolean fontitalic) - Parameters:
note- The font italic.
-
isFontItalic
public boolean isFontItalic()- Returns:
- Returns the font italic.
-
getBorderColorRed
public int getBorderColorRed()- Returns:
- Returns the backGround color red.
-
getBorderColorGreen
public int getBorderColorGreen()- Returns:
- Returns the backGround color green.
-
getBorderColorBlue
public int getBorderColorBlue()- Returns:
- Returns the backGround color blue.
-
getBackGroundColorRed
public int getBackGroundColorRed()- Returns:
- Returns the backGround color red.
-
getBackGroundColorGreen
public int getBackGroundColorGreen()- Returns:
- Returns the backGround color green.
-
getBackGroundColorBlue
public int getBackGroundColorBlue()- Returns:
- Returns the backGround color blue.
-
getFontColorRed
public int getFontColorRed()- Returns:
- Returns the font color red.
-
getFontColorGreen
public int getFontColorGreen()- Returns:
- Returns the font color green.
-
getFontColorBlue
public int getFontColorBlue()- Returns:
- Returns the font color blue.
-
setFontSize
public void setFontSize(int fontsize) - Parameters:
note- The font name.
-