public interface IScreenLabelChartObject extends IChartObject
Modifier and Type | Interface and Description |
---|---|
static class |
IScreenLabelChartObject.Corner |
IChartObject.ATTR_BOOLEAN, IChartObject.ATTR_COLOR, IChartObject.ATTR_DOUBLE, IChartObject.ATTR_INT, IChartObject.ATTR_LONG, IChartObject.ATTR_TEXT
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_CORNER
String constant to be used in PropertyChangeListener.
|
static String |
PROPERTY_X_DISTANCE
String constant to be used in PropertyChangeListener.
|
static String |
PROPERTY_Y_DISTANCE
String constant to be used in PropertyChangeListener.
|
PROPERTY_FONT, PROPERTY_FOREGROUND_ALPHA, PROPERTY_FOREGROUND_COLOR, PROPERTY_POINT_PRICE, PROPERTY_POINT_TIME, PROPERTY_STICKY, PROPERTY_STROKE
Modifier and Type | Method and Description |
---|---|
IScreenLabelChartObject.Corner |
getCorner()
Returns corner which label is attached to.
|
int |
getxDistance()
Returns gap between specified chart corner and label by X axis.
|
int |
getyDistance()
Returns gap between specified chart corner and label by Y axis.
|
void |
setCorner(IScreenLabelChartObject.Corner corner)
Attaches label to new corner.
|
void |
setxDistance(int xDistance)
Sets gap between specified chart corner and label by X axis.
|
void |
setyDistance(int yDistance)
Sets gap between specified chart corner and label by X axis.
|
addPropertyChangeListener, clone, getAttrBoolean, getAttrColor, getAttrDouble, getAttrInt, getAttrLong, getAttrText, getColor, getInstrument, getKey, getLineStyle, getLineWidth, getOpacity, getPointsCount, getPrice, getPropertyChangeListeners, getStroke, getText, getTextTruncation, getTime, getType, isLabelEnabled, isLocked, isMenuEnabled, isSticky, isVisibleInWorkspaceTree, move, removePropertyChangeListener, setAttrBoolean, setAttrColor, setAttrDouble, setAttrInt, setAttrLong, setAttrText, setChartObjectListener, setColor, setInstrument, setLineStyle, setLineWidth, setLocked, setMenuEnabled, setOpacity, setSticky, setStroke, setText, setText, setText, setText, setTextTruncation, setTooltip, setVisibleInWorkspaceTree
static final String PROPERTY_CORNER
static final String PROPERTY_X_DISTANCE
static final String PROPERTY_Y_DISTANCE
IScreenLabelChartObject.Corner getCorner()
void setCorner(IScreenLabelChartObject.Corner corner)
corner
- int getxDistance()
void setxDistance(int xDistance)
xDistance
- in pixelsint getyDistance()
void setyDistance(int yDistance)
yDistance
- in pixelsCopyright © 2016. All rights reserved.