public static class MatrixEditor.Strikeout
extends java.lang.Object
Constructor and Description |
---|
MatrixEditor.Strikeout(int index,
java.awt.Color color)
Creates a new strikeout.
|
MatrixEditor.Strikeout(int index,
java.awt.Color color,
int lineWidth)
Creates a new strikeout.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor()
The color in which the strikeout should be displayed.
|
int |
getIndex()
Gets the index of the row or column that should be striked out.
|
int |
getLineWidth()
Gets the line width of the stroke that represents the strikeout.
|
public MatrixEditor.Strikeout(int index, java.awt.Color color) throws java.lang.IllegalArgumentException
index
- the index of the row or columncolor
- the color in which the strikeout should be displayedjava.lang.IllegalArgumentException
- < 0
public MatrixEditor.Strikeout(int index, java.awt.Color color, int lineWidth) throws java.lang.IllegalArgumentException
index
- the index of the row or columncolor
- the color in which the strikeout should be displayedlineWidth
- the line width of the strikeoutjava.lang.IllegalArgumentException
- < 0
< 1
public final int getIndex()
public final java.awt.Color getColor()
public final int getLineWidth()