public class TabStop extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TabStop.Alignment |
Modifier and Type | Field and Description |
---|---|
protected TabStop.Alignment |
alignment |
protected char |
anchorChar |
protected DrawInterface |
leader |
protected float |
position |
Constructor and Description |
---|
TabStop(float position) |
TabStop(float position, DrawInterface leader) |
TabStop(float position, DrawInterface leader, TabStop.Alignment alignment) |
TabStop(float position, DrawInterface leader, TabStop.Alignment alignment, char anchorChar) |
TabStop(float position, TabStop.Alignment alignment) |
TabStop(float position, TabStop.Alignment alignment, char anchorChar) |
TabStop(TabStop tabStop) |
Modifier and Type | Method and Description |
---|---|
TabStop.Alignment |
getAlignment() |
char |
getAnchorChar() |
DrawInterface |
getLeader() |
float |
getPosition() |
float |
getPosition(float tabPosition, float currentPosition, float anchorPosition) |
static TabStop |
newInstance(float currentPosition, float tabInterval) |
void |
setAlignment(TabStop.Alignment alignment) |
void |
setAnchorChar(char anchorChar) |
void |
setLeader(DrawInterface leader) |
void |
setPosition(float position) |
protected float position
protected TabStop.Alignment alignment
protected DrawInterface leader
protected char anchorChar
public TabStop(float position)
public TabStop(float position, DrawInterface leader)
public TabStop(float position, TabStop.Alignment alignment)
public TabStop(float position, TabStop.Alignment alignment, char anchorChar)
public TabStop(float position, DrawInterface leader, TabStop.Alignment alignment)
public TabStop(float position, DrawInterface leader, TabStop.Alignment alignment, char anchorChar)
public TabStop(TabStop tabStop)
public static TabStop newInstance(float currentPosition, float tabInterval)
public float getPosition()
public void setPosition(float position)
public TabStop.Alignment getAlignment()
public void setAlignment(TabStop.Alignment alignment)
public DrawInterface getLeader()
public void setLeader(DrawInterface leader)
public char getAnchorChar()
public void setAnchorChar(char anchorChar)
public float getPosition(float tabPosition, float currentPosition, float anchorPosition)
Copyright © 1998–2024. All rights reserved.