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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.anotherbigidea.flash.structs.ButtonRecord
      extended bycom.anotherbigidea.flash.structs.ButtonRecord2

public class ButtonRecord2
extends ButtonRecord


Field Summary
protected  AlphaTransform transform
           
 
Fields inherited from class com.anotherbigidea.flash.structs.ButtonRecord
BUTTON_DOWN, BUTTON_HITTEST, BUTTON_OVER, BUTTON_UP, flags, id, layer, matrix
 
Constructor Summary
protected ButtonRecord2(com.anotherbigidea.io.InStream in, int firstByte)
           
  ButtonRecord2(int id, int layer, Matrix matrix, AlphaTransform transform, int flags)
           
 
Method Summary
 AlphaTransform getTransform()
           
static java.util.Vector read(com.anotherbigidea.io.InStream in)
          Read a button record array
 void setTransform(AlphaTransform transform)
           
 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 com.anotherbigidea.flash.structs.ButtonRecord
getCharId, getFlags, getLayer, getMatrix, isDown, isHitTest, isOver, isUp, setCharId, setFlags, setLayer, setMatrix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

transform

protected AlphaTransform transform
Constructor Detail

ButtonRecord2

public ButtonRecord2(int id,
                     int layer,
                     Matrix matrix,
                     AlphaTransform transform,
                     int flags)

ButtonRecord2

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

getTransform

public AlphaTransform getTransform()

setTransform

public void setTransform(AlphaTransform transform)

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
Overrides:
write in class ButtonRecord

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()).

Overrides:
toString in class ButtonRecord