Class 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
    • Constructor Detail

      • NotePadMeta

        public NotePadMeta()
      • NotePadMeta

        public NotePadMeta​(String n,
                           int xl,
                           int yl,
                           int w,
                           int h)
      • 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

        public NotePadMeta​(Node notepadnode)
                    throws org.pentaho.di.core.exception.KettleXMLException
        Throws:
        org.pentaho.di.core.exception.KettleXMLException
    • Method Detail

      • 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:
        setLocation in interface org.pentaho.di.core.gui.GUIPositionInterface
      • setLocation

        public void setLocation​(org.pentaho.di.core.gui.Point p)
        Specified by:
        setLocation in interface org.pentaho.di.core.gui.GUIPositionInterface
      • getLocation

        public org.pentaho.di.core.gui.Point getLocation()
        Specified by:
        getLocation in interface org.pentaho.di.core.gui.GUIPositionInterface
      • getNote

        public String getNote()
        Returns:
        Returns the note.
      • setNote

        public void setNote​(String note)
        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:
        isSelected in interface org.pentaho.di.core.gui.GUIPositionInterface
        Returns:
        Returns the selected.
      • setSelected

        public void setSelected​(boolean selected)
        Specified by:
        setSelected in interface org.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
      • setChanged

        public void setChanged()
      • setChanged

        public void setChanged​(boolean ch)
      • hasChanged

        public boolean hasChanged()
      • getXML

        public String getXML()
        Specified by:
        getXML in interface org.pentaho.di.core.xml.XMLInterface
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface org.pentaho.di.core.gui.GUISizeInterface
        Returns:
        the height
      • setHeight

        public void setHeight​(int height)
        Specified by:
        setHeight in interface org.pentaho.di.core.gui.GUISizeInterface
        Parameters:
        height - the height to set
      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface org.pentaho.di.core.gui.GUISizeInterface
        Returns:
        the width
      • setWidth

        public void setWidth​(int width)
        Specified by:
        setWidth in interface org.pentaho.di.core.gui.GUISizeInterface
        Parameters:
        width - the width to set
      • getFontName

        public String getFontName()
        Returns:
        Returns the font name.
      • setFontName

        public void setFontName​(String fontname)
        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.