Interface UIControl

All Known Implementing Classes:
BaseControl, ButtonControl, CanvasControl, FrameControl, ImgControl, ImgSvgControl, InputControl, RSSControl, SelectControl, SVGControl, TextAreaControl, UIControlWrapper

public interface UIControl

Abstract UIControl interface.

  • Method Details

    • getBackgroundColor

      Color getBackgroundColor()

      getBackgroundColor.

      Returns:
      a Color object.
    • getComponent

      Component getComponent()

      getComponent.

      Returns:
      a Component object.
    • getPreferredSize

      Dimension getPreferredSize()

      getPreferredSize.

      Returns:
      a Dimension object.
    • getVAlign

      default int getVAlign()

      getVAlign.

      Returns:
      a Integer object.
    • invalidate

      void invalidate()

      invalidate.

    • paint

      void paint(Graphics g)

      paint.

      Parameters:
      g - a Graphics object.
    • reset

      void reset(int availWidth, int availHeight)

      reset.

      Parameters:
      availWidth - a Integer object.
      availHeight - a Integer object.
    • setBounds

      void setBounds(int x, int y, int width, int height)

      setBounds.

      Parameters:
      x - a Integer object.
      y - a Integer object.
      width - a Integer object.
      height - a Integer object.
    • setRUIControl

      void setRUIControl(RUIControl ruicontrol)

      setRUIControl.

      Parameters:
      ruicontrol - a RUIControl object.