Class GBounded

    • Constructor Detail

      • GBounded

        public GBounded()
    • Method Detail

      • addMouseListener

        public void addMouseListener​(java.awt.event.MouseListener k)
      • getPosition

        public java.awt.Point getPosition()
      • setPosition

        public void setPosition​(java.awt.Point p)
      • getX

        public int getX()
      • getY

        public int getY()
      • setX

        public void setX​(int x)
      • setY

        public void setY​(int y)
      • translate

        public void translate​(java.awt.Point gap)
        Specified by:
        translate in class GElement
      • drawContents

        public void drawContents​(java.awt.Graphics2D g)
      • draw

        public void draw​(java.awt.Graphics2D g)
        Specified by:
        draw in class GElement
      • getBounds

        public java.awt.Rectangle getBounds()
      • getDimension

        public java.awt.Dimension getDimension()
      • getGlobalBounds

        public java.awt.Rectangle getGlobalBounds()
      • setDimension

        public void setDimension​(java.awt.Dimension dim)
      • setWidth

        public void setWidth​(java.lang.Integer width)
      • setHeight

        public void setHeight​(java.lang.Integer height)
      • clear

        public void clear()
        Specified by:
        clear in interface GContainer
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • dispatchMouseClicked

        public void dispatchMouseClicked​(java.awt.event.MouseEvent e)
        Overrides:
        dispatchMouseClicked in class GElement
      • dispatchMousePressed

        public void dispatchMousePressed​(java.awt.event.MouseEvent e)
        Overrides:
        dispatchMousePressed in class GElement
      • dispatchMouseReleased

        public void dispatchMouseReleased​(java.awt.event.MouseEvent e)
        Overrides:
        dispatchMouseReleased in class GElement
      • dispatchMouseEntered

        public void dispatchMouseEntered​(java.awt.event.MouseEvent e)
        Overrides:
        dispatchMouseEntered in class GElement
      • dispatchMouseExited

        public void dispatchMouseExited​(java.awt.event.MouseEvent e)
        Overrides:
        dispatchMouseExited in class GElement
      • whenMouseClicked

        public void whenMouseClicked​(java.awt.event.MouseEvent e)
      • whenMousePressed

        public void whenMousePressed​(java.awt.event.MouseEvent e)
      • whenMouseReleased

        public void whenMouseReleased​(java.awt.event.MouseEvent e)
      • whenMouseEntered

        public void whenMouseEntered​(java.awt.event.MouseEvent e)
      • whenMouseExited

        public void whenMouseExited​(java.awt.event.MouseEvent e)