Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.flash.structs
Class ButtonRecord  view ButtonRecord download ButtonRecord.java

java.lang.Object
  extended bycom.anotherbigidea.flash.structs.ButtonRecord
Direct Known Subclasses:
ButtonRecord2

public class ButtonRecord
extends java.lang.Object


Field Summary
static int BUTTON_DOWN
           
static int BUTTON_HITTEST
           
static int BUTTON_OVER
           
static int BUTTON_UP
           
protected  int flags
           
protected  int id
           
protected  int layer
           
protected  Matrix matrix
           
 
Constructor Summary
protected ButtonRecord(com.anotherbigidea.io.InStream in, int firstByte)
           
  ButtonRecord(int id, int layer, Matrix matrix, int flags)
           
 
Method Summary
 int getCharId()
           
 int getFlags()
           
 int getLayer()
           
 Matrix getMatrix()
           
 boolean isDown()
           
 boolean isHitTest()
           
 boolean isOver()
           
 boolean isUp()
           
static java.util.Vector read(com.anotherbigidea.io.InStream in)
          Read a button record array
 void setCharId(int id)
           
 void setFlags(int flags)
           
 void setLayer(int layer)
           
 void setMatrix(Matrix matrix)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
protected  void write(com.anotherbigidea.io.OutStream out)
           
static void write(com.anotherbigidea.io.OutStream out, java.util.Vector records)
          Write a button record array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUTTON_HITTEST

public static final int BUTTON_HITTEST
See Also:
Constant Field Values

BUTTON_DOWN

public static final int BUTTON_DOWN
See Also:
Constant Field Values

BUTTON_OVER

public static final int BUTTON_OVER
See Also:
Constant Field Values

BUTTON_UP

public static final int BUTTON_UP
See Also:
Constant Field Values

flags

protected int flags

id

protected int id

layer

protected int layer

matrix

protected Matrix matrix
Constructor Detail

ButtonRecord

public ButtonRecord(int id,
                    int layer,
                    Matrix matrix,
                    int flags)

ButtonRecord

protected ButtonRecord(com.anotherbigidea.io.InStream in,
                       int firstByte)
                throws java.io.IOException
Method Detail

getCharId

public int getCharId()

getLayer

public int getLayer()

getMatrix

public Matrix getMatrix()

getFlags

public int getFlags()

isHitTest

public boolean isHitTest()

isDown

public boolean isDown()

isOver

public boolean isOver()

isUp

public boolean isUp()

setCharId

public void setCharId(int id)

setLayer

public void setLayer(int layer)

setMatrix

public void setMatrix(Matrix matrix)

setFlags

public void setFlags(int flags)

read

public static java.util.Vector read(com.anotherbigidea.io.InStream in)
                             throws java.io.IOException
Read a button record array


write

public static void write(com.anotherbigidea.io.OutStream out,
                         java.util.Vector records)
                  throws java.io.IOException
Write a button record array


write

protected void write(com.anotherbigidea.io.OutStream out)
              throws java.io.IOException

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).