public class PaneRecord extends Record
Modifier and Type | Field and Description |
---|---|
static short |
ACTIVE_PANE_LOWER_LEFT |
static short |
ACTIVE_PANE_LOWER_RIGHT |
static short |
ACTIVE_PANE_UPER_LEFT |
static short |
ACTIVE_PANE_UPPER_RIGHT |
private short |
field_1_x |
private short |
field_2_y |
private short |
field_3_topRow |
private short |
field_4_leftColumn |
private short |
field_5_activePane |
static short |
sid |
Constructor and Description |
---|
PaneRecord() |
PaneRecord(RecordInputStream in)
Constructs a Pane record and sets its fields appropriately.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields.
|
short |
getActivePane()
Get the active pane field for the Pane record.
|
short |
getLeftColumn()
Get the left column field for the Pane record.
|
int |
getRecordSize()
Size of record (exluding 4 byte header)
|
short |
getSid()
return the non static version of the id for this record.
|
short |
getTopRow()
Get the top row field for the Pane record.
|
short |
getX()
Get the x field for the Pane record.
|
short |
getY()
Get the y field for the Pane record.
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setActivePane(short field_5_activePane)
Set the active pane field for the Pane record.
|
void |
setLeftColumn(short field_4_leftColumn)
Set the left column field for the Pane record.
|
void |
setTopRow(short field_3_topRow)
Set the top row field for the Pane record.
|
void |
setX(short field_1_x)
Set the x field for the Pane record.
|
void |
setY(short field_2_y)
Set the y field for the Pane record.
|
String |
toString()
get a string representation of the record (for biffview/debugging)
|
protected void |
validateSid(short id)
Checks the sid matches the expected side for this record
|
isInValueSection, isValue, serialize
public static final short sid
private short field_1_x
private short field_2_y
private short field_3_topRow
private short field_4_leftColumn
private short field_5_activePane
public static final short ACTIVE_PANE_LOWER_RIGHT
public static final short ACTIVE_PANE_UPPER_RIGHT
public static final short ACTIVE_PANE_LOWER_LEFT
public static final short ACTIVE_PANE_UPER_LEFT
public PaneRecord()
public PaneRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromprotected void validateSid(short id)
validateSid
in class Record
id
- the expected sid.protected void fillFields(RecordInputStream in)
Record
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic String toString()
Record
public int serialize(int offset, byte[] data)
Record
public int getRecordSize()
getRecordSize
in class Record
public short getSid()
Record
public short getX()
public void setX(short field_1_x)
public short getY()
public void setY(short field_2_y)
public short getTopRow()
public void setTopRow(short field_3_topRow)
public short getLeftColumn()
public void setLeftColumn(short field_4_leftColumn)
public short getActivePane()
public void setActivePane(short field_5_activePane)
field_5_activePane
- One of
ACTIVE_PANE_LOWER_RIGHT
ACTIVE_PANE_UPPER_RIGHT
ACTIVE_PANE_LOWER_LEFT
ACTIVE_PANE_UPER_LEFTCopyright © 2016 Open Microscopy Environment