Class EventSelection
- java.lang.Object
-
- com.metsci.glimpse.core.plot.timeline.data.EventSelection
-
public class EventSelection extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventSelection.LocationThe location of the mouse inside the event box when the event occurred.
-
Constructor Summary
Constructors Constructor Description EventSelection(Event event, EnumSet<EventSelection.Location> locations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)EventgetEvent()EnumSet<EventSelection.Location>getLocations()inthashCode()booleanisCenterSelection()booleanisEndTimeSelection()booleanisIconSelection()booleanisLocation(EventSelection.Location... locationList)booleanisStartTimeSelection()booleanisTextSelection()StringtoString()
-
-
-
Constructor Detail
-
EventSelection
public EventSelection(Event event, EnumSet<EventSelection.Location> locations)
-
-
Method Detail
-
getEvent
public Event getEvent()
-
getLocations
public EnumSet<EventSelection.Location> getLocations()
-
isIconSelection
public boolean isIconSelection()
-
isTextSelection
public boolean isTextSelection()
-
isStartTimeSelection
public boolean isStartTimeSelection()
-
isEndTimeSelection
public boolean isEndTimeSelection()
-
isCenterSelection
public boolean isCenterSelection()
-
isLocation
public boolean isLocation(EventSelection.Location... locationList)
-
-