|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.gui.sequence.SequenceRenderContext.Border
The metric object for the 'border' area - the area between the extent of the rendered area and the beginning or end of the sequence. This provides information about its size, and hints about how to align information within the borders.
Field Summary |
Fields inherited from interface javax.swing.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 Summary | |
SequenceRenderContext.Border()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SequenceRenderContext.Border()
Method Detail |
public void setSize(double size)
size
- The new size in pixelspublic void setAlignment(int alignment) throws java.lang.IllegalArgumentException
alignment
- The new Alignment value
java.lang.IllegalArgumentException
- Description of Exceptionpublic double getSize()
public int getAlignment()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |