public class EventBounds extends Object
EventSelectionHandler
to indicate
what part of an event was clicked (the icon, label, etc...).Constructor and Description |
---|
EventBounds() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsIcon(TimeStamp time) |
boolean |
containsText(TimeStamp time) |
TimeStamp |
getIconEndTime()
Returns the timestamp associated with the right hand side of the icon.
|
TimeStamp |
getIconStartTime()
Returns the timestamp associated with the left hand side of the icon.
|
TimeStamp |
getTextEndTime()
Returns the timestamp associated with the right hand side of the label.
|
TimeStamp |
getTextStartTime()
Returns the timestamp associated with the left hand side of the label.
|
boolean |
isIconVisible() |
boolean |
isTextVisible() |
void |
setIconEndTime(TimeStamp iconEndTime) |
void |
setIconStartTime(TimeStamp iconStartTime) |
void |
setIconVisible(boolean isIconVisible) |
void |
setTextEndTime(TimeStamp textEndTime) |
void |
setTextStartTime(TimeStamp textStartTime) |
void |
setTextVisible(boolean isTextVisible) |
public boolean containsText(TimeStamp time)
public boolean containsIcon(TimeStamp time)
public void setIconVisible(boolean isIconVisible)
public void setTextVisible(boolean isTextVisible)
public void setIconStartTime(TimeStamp iconStartTime)
public void setIconEndTime(TimeStamp iconEndTime)
public void setTextStartTime(TimeStamp textStartTime)
public void setTextEndTime(TimeStamp textEndTime)
public boolean isTextVisible()
#isShowLabel()
is set to false.public boolean isIconVisible()
#isShowIcon()
is set to false.public TimeStamp getIconStartTime()
public TimeStamp getIconEndTime()
public TimeStamp getTextStartTime()
public TimeStamp getTextEndTime()
Copyright © 2016 Metron, Inc.. All rights reserved.