Class NotePadMeta

    • Constructor Detail

      • NotePadMeta

        public NotePadMeta()
      • NotePadMeta

        public NotePadMeta​(String note,
                           int locationX,
                           int locationY,
                           int width,
                           int height)
      • 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)
    • Method Detail

      • getXml

        public String getXml()
      • 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:
        red - the border red color.
      • setBorderColorGreen

        public void setBorderColorGreen​(int green)
        Parameters:
        green - the border color green.
      • setBorderColorBlue

        public void setBorderColorBlue​(int blue)
        Parameters:
        blue - 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)
      • setFontColorGreen

        public void setFontColorGreen​(int green)
        Parameters:
        green - the font color green.
      • setFontColorBlue

        public void setFontColorBlue​(int blue)
        Parameters:
        blue - the font color blue.
      • isSelected

        public boolean isSelected()
        Specified by:
        isSelected in interface IGuiPosition
        Returns:
        Returns the selected.
      • setSelected

        public void setSelected​(boolean selected)
        Specified by:
        setSelected in interface IGuiPosition
        Parameters:
        selected - The selected to set.
      • flipSelected

        public void flipSelected()
        Change a selected state to not-selected and vice-versa.
      • setChanged

        public void setChanged()
      • setChanged

        public void setChanged​(boolean ch)
      • hasChanged

        public boolean hasChanged()
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface IGuiSize
        Returns:
        the height
      • setHeight

        public void setHeight​(int height)
        Specified by:
        setHeight in interface IGuiSize
        Parameters:
        height - the height to set
      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface IGuiSize
        Returns:
        the width
      • setWidth

        public void setWidth​(int width)
        Specified by:
        setWidth in interface IGuiSize
        Parameters:
        width - the width to set
      • getFontName

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

        public void setFontName​(String fontname)
        Parameters:
        fontname - The font name.
      • getFontSize

        public int getFontSize()
        Returns:
        Returns the font size.
      • setFontBold

        public void setFontBold​(boolean fontbold)
        Parameters:
        fontbold - The font bold.
      • isFontBold

        public boolean isFontBold()
        Returns:
        Returns the font bold.
      • setFontItalic

        public void setFontItalic​(boolean fontitalic)
        Parameters:
        fontitalic - 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:
        fontsize - The font name.