org.concord.flash.player
Class FButton

java.lang.Object
  |
  +--org.concord.flash.player.FScriptObject
        |
        +--org.concord.flash.player.FComponent
              |
              +--org.concord.flash.player.FButton
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.util.EventListener, java.awt.event.MouseListener

public class FButton
extends FComponent
implements java.awt.event.MouseListener

Object for handling button objects in flash. the mouseXXXXX methods are only used to implement this button (it sets itself as the listener on the main component -- FFlash), and need to be public (because MouseListener requires them to be), and should not be called from user code.


Field Summary
static int DOWN_STATE
           
static int HIT_AREA
           
static int IDLE
           
static int OUTDOWN
           
static int OVER_STATE
           
static int OVERDOWN
           
static int OVERUP
           
static int UP_STATE
           
 
Fields inherited from class org.concord.flash.player.FComponent
movie, symbol
 
Fields inherited from class org.concord.flash.player.FScriptObject
members, name, parent
 
Method Summary
 void addActionListener(java.awt.event.ActionListener listener)
           
 void addMouseListener(java.awt.event.MouseListener listener)
           
 void mouseClicked(java.awt.event.MouseEvent ev)
           
 void mouseEntered(java.awt.event.MouseEvent ev)
           
 void mouseExited(java.awt.event.MouseEvent ev)
           
 void mousePressed(java.awt.event.MouseEvent ev)
           
 void mouseReleased(java.awt.event.MouseEvent ev)
           
 void removeActionListener(java.awt.event.ActionListener listener)
           
 void removeMouseListener(java.awt.event.MouseListener listener)
           
 
Methods inherited from class org.concord.flash.player.FComponent
compareTo, get_alpha, get_name, get_rotation, get_visible, get_x, get_xscale, get_y, get_yscale, getBounds, getBounds2D, getClipDepth, getColorTransform, getDepth, getParentClip, getToolTipText, getTransform, getTransformed, isModified, isTransformed, paint, set_alpha, set_alpha, set_name, set_rotation, set_rotation, set_rotation, set_visible, set_x, set_x, set_x, set_xscale, set_xscale, set_xscale, set_y, set_y, set_y, set_yscale, set_yscale, set_yscale, setClipDepth, setColorTransform, setDepth, setToolTipText, setTransform, setTranslation, setTranslation, translate, translate
 
Methods inherited from class org.concord.flash.player.FScriptObject
callMethod, clone, getAllMembers, getMember, getName, getObjectType, getParent, removeMember, setMember, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UP_STATE

public static final int UP_STATE

OVER_STATE

public static final int OVER_STATE

DOWN_STATE

public static final int DOWN_STATE

HIT_AREA

public static final int HIT_AREA

IDLE

public static final int IDLE

OVERDOWN

public static final int OVERDOWN

OVERUP

public static final int OVERUP

OUTDOWN

public static final int OUTDOWN
Method Detail

addActionListener

public void addActionListener(java.awt.event.ActionListener listener)

addMouseListener

public void addMouseListener(java.awt.event.MouseListener listener)

removeActionListener

public void removeActionListener(java.awt.event.ActionListener listener)

removeMouseListener

public void removeMouseListener(java.awt.event.MouseListener listener)

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent ev)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent ev)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent ev)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent ev)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent ev)
Specified by:
mouseReleased in interface java.awt.event.MouseListener