T
- needed for generics Comparable.compareTo(Object)
.public abstract class APointPainterCandleStick<T extends IPointPainterConfigurableUI<T>> extends APointPainter<T> implements IPointPainterCandleStick<T>
Constructor and Description |
---|
APointPainterCandleStick() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getWidth()
Returns the width of the
CandleStick . |
int |
hashCode() |
boolean |
isDrawLowerWickDash()
Returns whether the lower wick is terminated with a dash.
|
boolean |
isDrawUpperWickDash()
Returns whether the upper wick is terminated with a dash.
|
void |
setDrawLowerWickDash(boolean doit)
Set whether the lower wick should be terminated with a dash.
|
void |
setDrawUpperWickDash(boolean doit)
Set whether the upper wick should be terminated with a dash.
|
int |
setWidth(int width)
Sets the visible width of the candlestick.
|
compareTo, endPaintIteration, getColor, getColorFill, getStroke, getTransparency, getTransparencyFill, installColor, installColorFill, installStroke, setColor, setColorFill, setStroke, setTransparency, setTransparencyFill, startPaintIteration
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getColor, getColorFill, getStroke, getTransparency, getTransparencyFill, setColor, setColorFill, setStroke, setTransparency, setTransparencyFill
calculateMaxX, calculateMaxY, calculateMinX, calculateMinY, endPaintIteration, isAdditionalSpaceRequiredX, isAdditionalSpaceRequiredY, isPixelTransformationNeededX, isPixelTransformationNeededY, paintPoint, startPaintIteration
compareTo
public boolean equals(Object obj)
equals
in class APointPainter<T extends IPointPainterConfigurableUI<T>>
Object.equals(java.lang.Object)
public int getWidth()
IPointPainterCandleStick
CandleStick
.
getWidth
in interface IPointPainterCandleStick<T extends IPointPainterConfigurableUI<T>>
CandleStick
.IPointPainterCandleStick.getWidth()
public int hashCode()
hashCode
in class APointPainter<T extends IPointPainterConfigurableUI<T>>
Object.hashCode()
public boolean isDrawLowerWickDash()
IPointPainterCandleStick
isDrawLowerWickDash
in interface IPointPainterCandleStick<T extends IPointPainterConfigurableUI<T>>
IPointPainterCandleStick.isDrawLowerWickDash()
public boolean isDrawUpperWickDash()
IPointPainterCandleStick
isDrawUpperWickDash
in interface IPointPainterCandleStick<T extends IPointPainterConfigurableUI<T>>
IPointPainterCandleStick.isDrawUpperWickDash()
public void setDrawLowerWickDash(boolean doit)
IPointPainterCandleStick
setDrawLowerWickDash
in interface IPointPainterCandleStick<T extends IPointPainterConfigurableUI<T>>
doit
- if true the lower wick will be terminated with a dash.IPointPainterCandleStick.setDrawLowerWickDash(boolean)
public void setDrawUpperWickDash(boolean doit)
IPointPainterCandleStick
setDrawUpperWickDash
in interface IPointPainterCandleStick<T extends IPointPainterConfigurableUI<T>>
doit
- if true the upper wick will be terminated with a dash.IPointPainterCandleStick.setDrawUpperWickDash(boolean)
public int setWidth(int width)
IPointPainterCandleStick
setWidth
in interface IPointPainterCandleStick<T extends IPointPainterConfigurableUI<T>>
width
- the visible width of the candlestick.IPointPainterCandleStick.setWidth(int)
Copyright © 2018. All rights reserved.