public class AlignmentCursor extends java.lang.Object
AlignmentArea
.Constructor and Description |
---|
AlignmentCursor(AlignmentArea owner) |
Modifier and Type | Method and Description |
---|---|
void |
adoptFromOther(AlignmentCursor other) |
int |
getColumn()
Returns the column index in front of which the cursor is located.
|
int |
getHeight()
Returns the height in rows if the cursor.
|
AlignmentArea |
getOwner() |
int |
getRow()
Returns the row index in front of which the cursor is located.
|
void |
setColumn(int column) |
void |
setColumnRowHeight(int column,
int row,
int height)
Sets a new column, row and height in one step.
|
void |
setHeight(int height) |
void |
setRow(int row) |
public AlignmentCursor(AlignmentArea owner)
public AlignmentArea getOwner()
public int getColumn()
public void setColumn(int column)
public int getRow()
public void setRow(int row)
public int getHeight()
public void setHeight(int height)
public void setColumnRowHeight(int column, int row, int height)
column
- the new column indexrow
- the new row indexheight
- the new height (in rows)public void adoptFromOther(AlignmentCursor other)