Class DBTextBox


  • public class DBTextBox
    extends Object
    • Field Detail

      • x

        protected int x
      • y

        protected int y
      • x2

        protected int x2
      • y2

        protected int y2
      • border

        protected boolean border
      • fontName

        protected String fontName
      • fontSize

        protected int fontSize
      • fontStyle

        protected int fontStyle
      • color

        protected Color color
      • description

        protected String description
      • parentBorderID

        protected String parentBorderID
    • Constructor Detail

      • DBTextBox

        public DBTextBox​(String name,
                         int x,
                         int y,
                         int x2,
                         int y2,
                         boolean border,
                         String fontName,
                         int fontSize,
                         int fontStyle,
                         Color color,
                         String description,
                         String parentBorderID)
        Insert the method's description here. Creation date: (23.4.2001 21:12:09)
        Parameters:
        name - name
        x - x
        y - y
        fontStyle - fontStyle
        color - color
        border - border
        x2 - x2
        fontSize - fontSize
        y2 - y2
        fontName - fontName
        description - description
        parentBorderID - parentBorderID
    • Method Detail

      • getColor

        public Color getColor()
        Returns the color.
        Returns:
        Color
      • getBorder

        public boolean getBorder()
        Returns the dashed.
        Returns:
        boolean
      • getName

        public String getName()
        Returns the name.
        Returns:
        String
      • getX

        public int getX()
        Returns the x.
        Returns:
        int
      • getX2

        public int getX2()
        Returns the x2.
        Returns:
        int
      • getY

        public int getY()
        Returns the y.
        Returns:
        int
      • getY2

        public int getY2()
        Returns the y2.
        Returns:
        int
      • setColor

        public void setColor​(Color color)
        Sets the color.
        Parameters:
        color - The color to set
      • setBorder

        public void setBorder​(boolean border)
        Sets the border flag.
        Parameters:
        border - border
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - The name to set
      • setX

        public void setX​(int x)
        Sets the x.
        Parameters:
        x - The x to set
      • setX2

        public void setX2​(int x2)
        Sets the x2.
        Parameters:
        x2 - The x2 to set
      • setY

        public void setY​(int y)
        Sets the y.
        Parameters:
        y - The y to set
      • setY2

        public void setY2​(int y2)
        Sets the y2.
        Parameters:
        y2 - The y2 to set
      • isBorder

        public boolean isBorder()
        Returns the border.
        Returns:
        boolean
      • getDescription

        public String getDescription()
        Returns the description.
        Returns:
        String
      • getFontName

        public String getFontName()
        Returns the fontName.
        Returns:
        String
      • getFontSize

        public int getFontSize()
        Returns the fontSize.
        Returns:
        int
      • setDescription

        public void setDescription​(String description)
        Sets the description.
        Parameters:
        description - The description to set
      • setFontName

        public void setFontName​(String fontName)
        Sets the fontName.
        Parameters:
        fontName - The fontName to set
      • setFontSize

        public void setFontSize​(int fontSize)
        Sets the fontSize.
        Parameters:
        fontSize - The fontSize to set
      • getFontStyle

        public int getFontStyle()
        Returns the fontStyle.
        Returns:
        int
      • setFontStyle

        public void setFontStyle​(int fontStyle)
        Sets the fontStyle.
        Parameters:
        fontStyle - The fontStyle to set
      • getParentBorderID

        public String getParentBorderID()
        Returns:
        Returns the parentBorderID.
      • setParentBorderID

        public void setParentBorderID​(String parentBorderID)
        Parameters:
        parentBorderID - The parentBorderID to set.