ch.tatool.core.display.swing.matrix
Class MatrixValue
java.lang.Object
ch.tatool.core.display.swing.matrix.MatrixValue
public class MatrixValue
- extends Object
Encapsulates a value and the associated location in the matrix.
- Author:
- Michael Ruflin
row
public int row
column
public int column
value
public Object value
action
public int action
MatrixValue
public MatrixValue()
toString
public String toString()
- Overrides:
toString in class Object
copy
public MatrixValue copy()
comparePositionTo
public boolean comparePositionTo(MatrixValue other)
fromString
public static MatrixValue fromString(String string)
- Converts a string into a matrix value.
main
public static void main(String[] args)
Copyright © 2012. All Rights Reserved.