miSim

misim.editor
Class CursorPos

java.lang.Object
  |
  +--misim.editor.CursorPos

public class CursorPos
extends java.lang.Object

A simple class for passing the cursor position around


Field Summary
 int col
          The column for the cursor.
 int row
          The Row for the cursor.
 int x
          The pixel column for the cursor.
 
Constructor Summary
CursorPos(int row, int col, int x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

row

public int row
The Row for the cursor. A line of text takes up one row.

col

public int col
The column for the cursor. This is the number of characters into the current line

x

public int x
The pixel column for the cursor.
Constructor Detail

CursorPos

public CursorPos(int row,
                 int col,
                 int x)

miSim