sub_arctic.new_lib
Class wb_obj_state

java.lang.Object
  |
  +--sub_arctic.new_lib.wb_obj_state
Direct Known Subclasses:
line_wb_obj_state, text_wb_obj_state

public class wb_obj_state
extends java.lang.Object

This class provides the base class for storing the historical state of objects that appear in an historical_whiteboard object. Since this is basically just a helper class that is basically just providing storage, we make all the fields public.


Field Summary
 int h
          Height of object
 int mod_id
          Modifier id
 int owner_id
          Owner id
 long time
          Timestamp indicating time that this state is valid at.
 int w
          Width of object
 int x
          X position of object
 int y
          Y position of object
 
Constructor Summary
wb_obj_state(long tm, int xv, int yv, int wv, int hv, int oid, int mid)
          Constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

public long time
Timestamp indicating time that this state is valid at.

x

public int x
X position of object

y

public int y
Y position of object

w

public int w
Width of object

h

public int h
Height of object

owner_id

public int owner_id
Owner id

mod_id

public int mod_id
Modifier id
Constructor Detail

wb_obj_state

public wb_obj_state(long tm,
                    int xv,
                    int yv,
                    int wv,
                    int hv,
                    int oid,
                    int mid)
Constructor.
Parameters:
long - tm timestamp that this state is valid at.
int - xv x position of the object
int - yv y position of the object
int - wv width of the object
int - hv height of the object