frysk.gui.monitor.eventviewer
Class TaskTimeLine

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.GObject
          extended by org.gnu.gtk.GtkObject
              extended by org.gnu.gtk.Widget
                  extended by org.gnu.gtk.Container
                      extended by org.gnu.gtk.Box
                          extended by org.gnu.gtk.HBox
                              extended by frysk.gui.monitor.eventviewer.TimeLine
                                  extended by frysk.gui.monitor.eventviewer.TaskTimeLine
All Implemented Interfaces:
org.gnu.gtk.event.MouseListener

public class TaskTimeLine
extends TimeLine
implements org.gnu.gtk.event.MouseListener


Field Summary
 
Fields inherited from class frysk.gui.monitor.eventviewer.TimeLine
selected, unSelected
 
Constructor Summary
TaskTimeLine(GuiTask guiTask, TimeLineSelectionManager manager)
           
 
Method Summary
static void addToTaskTimeLineSizeGroup(TaskTimeLine timeLine)
           
 GuiTask getGuiTask()
           
 boolean mouseEvent(org.gnu.gtk.event.MouseEvent event)
           
 boolean ownsEvent(Event event)
          Returns wether this time line is associated with the given event
 
Methods inherited from class frysk.gui.monitor.eventviewer.TimeLine
addToDrawingAreaSizeGroup, addToLabelsSizeGroup, isSelected, select, setEndIndex, setHAdjustment, setName, setStartIdnex, timeLineDead, unselect
 
Methods inherited from class org.gnu.gtk.HBox
getHBox, getType
 
Methods inherited from class org.gnu.gtk.Box
getHomogeneous, getSpacing, packEnd, packEnd, packStart, packStart, reorderChild, setHomogeneous, setSpacing
 
Methods inherited from class org.gnu.gtk.Container
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getEventListenerClass, getEventType, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode
 
Methods inherited from class org.gnu.gtk.Widget
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight
 
Methods inherited from class org.gnu.gtk.GtkObject
destroy, sink
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskTimeLine

public TaskTimeLine(GuiTask guiTask,
                    TimeLineSelectionManager manager)
Method Detail

ownsEvent

public boolean ownsEvent(Event event)
Description copied from class: TimeLine
Returns wether this time line is associated with the given event

Specified by:
ownsEvent in class TimeLine
Parameters:
event - the event to be checked
Returns:
true of the given event is associated with this TimeLine false otherwise.

getGuiTask

public GuiTask getGuiTask()

addToTaskTimeLineSizeGroup

public static void addToTaskTimeLineSizeGroup(TaskTimeLine timeLine)

mouseEvent

public boolean mouseEvent(org.gnu.gtk.event.MouseEvent event)
Specified by:
mouseEvent in interface org.gnu.gtk.event.MouseListener
Overrides:
mouseEvent in class TimeLine