Klasse ActivityRepositoryBase<A extends Activity>
java.lang.Object
com.flexganttfx.model.repository.ActivityRepositoryBase<A>
- Typparameter:
A- the type of the activities stored in this repository
- Alle implementierten Schnittstellen:
ActivityRepository<A>,EventTarget
- Bekannte direkte Unterklassen:
CalendarBase,MutableActivityRepositoryBase
public abstract class ActivityRepositoryBase<A extends Activity>
extends Object
implements ActivityRepository<A>
An abstract base implementation of
ActivityRepository that provides support
for event handlers (adding, removing, firing events).- Seit:
- 1.0
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedConstructs a new repository. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdds an event handler for receiving repository events.protected voidfireEvent(RepositoryEvent evt) Returns the earliest time used by the activities stored in this repository / on this row.Returns the latest time used by the activities stored in this repository / on this row.voidRemoves the given event handler from the repository.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden com.flexganttfx.model.ActivityRepository
getActivities
-
Konstruktordetails
-
ActivityRepositoryBase
protected ActivityRepositoryBase()Constructs a new repository.- Seit:
- 1.0
-
-
Methodendetails
-
addEventHandler
Beschreibung aus Schnittstelle kopiert:ActivityRepositoryAdds an event handler for receiving repository events. A repository will fire events if its state changes (e.g. activities added / removed).- Angegeben von:
addEventHandlerin SchnittstelleActivityRepository<A extends Activity>- Parameter:
l- the event handler that will be added to the repository
-
removeEventHandler
Beschreibung aus Schnittstelle kopiert:ActivityRepositoryRemoves the given event handler from the repository.- Angegeben von:
removeEventHandlerin SchnittstelleActivityRepository<A extends Activity>- Parameter:
l- the event handler that will be removed from the repository
-
getEarliestTimeUsed
Beschreibung aus Schnittstelle kopiert:ActivityRepositoryReturns the earliest time used by the activities stored in this repository / on this row. This method gets used for navigation (e.g. "scroll to earliest time used in the Gantt chart", "zoom out to show all activities").- Angegeben von:
getEarliestTimeUsedin SchnittstelleActivityRepository<A extends Activity>- Gibt zurück:
- the earliest time used by the activities in this repository / row (null if no activities found)
-
getLatestTimeUsed
Beschreibung aus Schnittstelle kopiert:ActivityRepositoryReturns the latest time used by the activities stored in this repository / on this row. This method gets used for navigation (e.g. "scroll to latest time used in the Gantt chart", "zoom out to show all activities").- Angegeben von:
getLatestTimeUsedin SchnittstelleActivityRepository<A extends Activity>- Gibt zurück:
- the latest time used by the activities in this repository / row (null if no activities found)
-
buildEventDispatchChain
- Angegeben von:
buildEventDispatchChainin SchnittstelleEventTarget
-
fireEvent
-