| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.bioinfweb.treegraph.document.format.LabelFormats
public class LabelFormats
Implements basic label formats.
| Field Summary | |
|---|---|
private  boolean | 
above
 | 
static float | 
DEFAULT_MARGIN_IN_MM
 | 
private  int | 
lineNumber
 | 
private  int | 
linePosition
 | 
private  Margin | 
margin
 | 
private  Label | 
owner
 | 
| Constructor Summary | |
|---|---|
LabelFormats(Label owner)
 | 
|
LabelFormats(Label owner,
             boolean above,
             int line,
             int linePosition)
 | 
|
| Method Summary | |
|---|---|
 void | 
assignLabelFormats(LabelFormats other)
 | 
 LabelFormats | 
clone()
Returns a deep copy with the owner null. | 
 int | 
getLineNumber()
The number of the line in which this label shall be displayed.  | 
 int | 
getLinePosition()
If more than one element is located in the same line the line position is used to determine the order of the elements.  | 
 Margin | 
getMargin()
 | 
 Label | 
getOwner()
 | 
 boolean | 
isAbove()
 | 
private  void | 
reinsert()
If this object has an owner- Label this is reinserted into its 
 Labels-object. | 
 void | 
setAbove(boolean above)
 | 
 void | 
setLineNumber(int line)
 | 
 void | 
setLinePosition(int linePosition)
 | 
 void | 
setOwner(Label labelOwner)
 | 
| Methods inherited from class java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final float DEFAULT_MARGIN_IN_MM
private boolean above
private int lineNumber
private int linePosition
private Label owner
private Margin margin
| Constructor Detail | 
|---|
public LabelFormats(Label owner)
public LabelFormats(Label owner, boolean above, int line, int linePosition)
| Method Detail | 
|---|
private void reinsert()
Label this is reinserted into its 
 Labels-object. This is necassary because the store-position in the
 Labels-object is dependent of the label position formats.
public int getLineNumber()
public void setLineNumber(int line)
public int getLinePosition()
public void setLinePosition(int linePosition)
public void setAbove(boolean above)
public boolean isAbove()
public Label getOwner()
public void setOwner(Label labelOwner)
public Margin getMargin()
public void assignLabelFormats(LabelFormats other)
public LabelFormats clone()
null.
clone in interface ElementFormatsclone in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||