public static class SequenceRenderContext.Border extends Object implements Serializable, SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
Constructor and Description |
---|
SequenceRenderContext.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 SequenceRenderContext.Border()
public void setSize(double size)
size
- The new size in pixelspublic void setAlignment(int alignment) throws IllegalArgumentException
alignment
- The new Alignment valueIllegalArgumentException
- Description of Exceptionpublic double getSize()
public int getAlignment()
Copyright © 2014 BioJava. All rights reserved.