Klasse HighLowChartActivityBase<T>
java.lang.Object
com.flexganttfx.model.activity.ActivityBase<T>
com.flexganttfx.model.activity.HighLowChartActivityBase<T>
- Typparameter:
T- the type of the optional user object
- Alle implementierten Schnittstellen:
Activity,HighLowChartActivity
- Bekannte direkte Unterklassen:
MutableHighLowChartActivityBase
The base implementation of a high-low activity, which are used in combination
with a
ChartLayout. A typical use-case for such activities are
candle-stick diagrams used for plotting historical stock prices.- Seit:
- 1.0
-
Feldübersicht
FelderVon Klasse geerbte Felder com.flexganttfx.model.activity.ActivityBase
DEFAULT_DURATION, endTime, id, name, startTime, userObject -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructs a new high-low activity.HighLowChartActivityBase(double low, double high, Instant time) Constructs a new high-low activity with the given initial high and low values and the start and end time set to the given time.HighLowChartActivityBase(double low, double high, Instant startTime, Instant endTime) Constructs a new high-low activity with the given initial high and low values and the given start and end time. -
Methodenübersicht
Von Klasse geerbte Methoden com.flexganttfx.model.activity.ActivityBase
getEndTime, getId, getName, getStartTime, getUserObject, setUserObjectVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden com.flexganttfx.model.Activity
getEndTime, getId, getName, getStartTime
-
Felddetails
-
low
protected double low -
high
protected double high
-
-
Konstruktordetails
-
HighLowChartActivityBase
public HighLowChartActivityBase()Constructs a new high-low activity. The initial high and low values will both be equal to zero. The start time will be equal toInstant.now()and the end time will be equal toInstant.now()plusActivityBase.DEFAULT_DURATION.- Seit:
- 1.0
-
HighLowChartActivityBase
Constructs a new high-low activity with the given initial high and low values and the given start and end time.- Parameter:
low- the low value of the activityhigh- the high value of the activitystartTime- the start time of the activityendTime- the end time of the activity- Löst aus:
IllegalArgumentException- if low is larger than high- Seit:
- 1.0
-
HighLowChartActivityBase
Constructs a new high-low activity with the given initial high and low values and the start and end time set to the given time.- Parameter:
low- the low value of the activityhigh- the high value of the activitytime- the start and end time of the activity- Löst aus:
IllegalArgumentException- if low is larger than high- Seit:
- 1.0
-
-
Methodendetails
-
getLow
public double getLow()Beschreibung aus Schnittstelle kopiert:HighLowChartActivityReturns the low value of the activity.- Angegeben von:
getLowin SchnittstelleHighLowChartActivity- Gibt zurück:
- the low value
-
getHigh
public double getHigh()Beschreibung aus Schnittstelle kopiert:HighLowChartActivityReturns the high value of the activity.- Angegeben von:
getHighin SchnittstelleHighLowChartActivity- Gibt zurück:
- the high value
-
toString
- Setzt außer Kraft:
toStringin KlasseActivityBase<T>
-