Class GUIComponent

java.lang.Object
interfascia.GUIComponent
Direct Known Subclasses:
GUIController, IFButton, IFCheckBox, IFLabel, IFProgressBar, IFRadioButton, IFRadioController, IFTextField

public abstract class GUIComponent extends Object
  • Constructor Details

    • GUIComponent

      public GUIComponent()
  • Method Details

    • setIndex

      public void setIndex(int i)
    • getIndex

      public int getIndex()
    • update

      public void update(int argX, int argY)
    • draw

      public void draw()
    • render

      public void render(PGraphics graphics)
    • setController

      public void setController(GUIController c)
    • getController

      public GUIController getController()
    • initWithParent

      public void initWithParent()
    • setLookAndFeel

      public void setLookAndFeel(IFLookAndFeel lf)
    • getLookAndFeel

      public IFLookAndFeel getLookAndFeel()
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String argLabel)
    • canReceiveFocus

      public boolean canReceiveFocus()
    • getWidth

      public int getWidth()
    • setWidth

      public void setWidth(int newWidth)
    • getHeight

      public int getHeight()
    • setHeight

      public void setHeight(int newHeight)
    • addActionListener

      public void addActionListener(Object newListener)
    • setSize

      public void setSize(int newWidth, int newHeight)
    • setPosition

      public void setPosition(int newX, int newY)
    • setX

      public void setX(int newX)
    • getX

      public int getX()
    • getAbsoluteX

      public int getAbsoluteX()
    • setY

      public void setY(int newY)
    • getY

      public int getY()
    • getAbsoluteY

      public int getAbsoluteY()
    • mouseEvent

      public void mouseEvent(MouseEvent e)
    • keyEvent

      public void keyEvent(KeyEvent e)
    • actionPerformed

      public void actionPerformed(GUIEvent e)
    • fireEventNotification

      public void fireEventNotification(GUIComponent argComponent, String argMessage)
    • isMouseOver

      public boolean isMouseOver(int mouseX, int mouseY)