Class sprite.CheckboxSprite
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sprite.CheckboxSprite

java.lang.Object
   |
   +----sprite.Sprite
           |
           +----sprite.CheckboxSprite

public class CheckboxSprite
extends Sprite

Variable Index

 o BOX_SIZE

Constructor Index

 o CheckboxSprite(SpriteArea, int, int, String)
 o CheckboxSprite(CheckboxOwner, SpriteArea, int, int, String)

Method Index

 o Action(boolean)
 o Disable()
 o Draw(Graphics)
 o Enable()
 o GetState()
 o Inside(int, int)
 o SetFont(Font)
 o SetFore(Color)
 o SetState(boolean)
 o SetTitle(String)
 o handleEvent(Event)

Variables

 o BOX_SIZE
  public final static int BOX_SIZE

Constructors

 o CheckboxSprite
  public CheckboxSprite(SpriteArea area,
                        int x,
                        int y,
                        String title)
 o CheckboxSprite
  public CheckboxSprite(CheckboxOwner owner,
                        SpriteArea area,
                        int x,
                        int y,
                        String title)

Methods

 o SetState
  public void SetState(boolean state)
 o GetState
  public boolean GetState()
 o SetFore
  public void SetFore(Color color)
 o SetFont
  public void SetFont(Font font)
 o SetTitle
  public void SetTitle(String title)
 o Enable
  public void Enable()
 o Disable
  public void Disable()
 o Inside
  public boolean Inside(int x,
                        int y)
Overrides:
Inside in class Sprite
 o Draw
  public void Draw(Graphics g)
Overrides:
Draw in class Sprite
 o handleEvent
  public void handleEvent(Event e)
Overrides:
handleEvent in class Sprite
 o Action
  public void Action(boolean state)

All Packages  Class Hierarchy  This Package  Previous  Next  Index