public static class SequenceRenderContext.Border
extends java.lang.Object
implements java.io.Serializable, javax.swing.SwingConstants
Constructor and Description |
---|
Border() |
Modifier and Type | Method and Description |
---|---|
int |
getAlignment()
Gets the Alignment - one of LEADING, TRAILING or CENTER.
|
double |
getSize()
Gets the current size of the border in pixels.
|
void |
setAlignment(int alignment)
Sets the Alignment attribute of the Border object.
|
void |
setSize(double size)
Sets the size of the border in number of pixels.
|
public void setSize(double size)
size
- The new size in pixelspublic void setAlignment(int alignment) throws java.lang.IllegalArgumentException
alignment
- The new Alignment valuejava.lang.IllegalArgumentException
- Description of Exceptionpublic double getSize()
public int getAlignment()