Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.client.simulation
Class TimeLineWidget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.drools.guvnor.client.simulation.TimeLineWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

public class TimeLineWidget
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
protected static interface TimeLineWidget.TimeLineWidgetBinder
           
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
protected  com.google.gwt.user.client.ui.PushButton addPathButton
           
protected  com.google.gwt.user.client.ui.FlowPanel addStepsPanel
           
protected  SimulationResources simulationResources
           
protected  SimulationStyle simulationStyle
           
protected  com.google.gwt.user.client.ui.LayoutPanel timeLineContent
           
protected  com.google.gwt.user.client.ui.ScrollPanel timeLineScrollPanel
           
protected  com.google.gwt.user.client.ui.PushButton zoomInButton
           
protected  com.google.gwt.user.client.ui.PushButton zoomOutButton
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
TimeLineWidget(SimulationTestEventHandler simulationTestEventHandler)
           
 
Method Summary
 void addedPath(SimulationPathModel path)
           
 void addedStep(SimulationStepModel step)
           
protected  void addPath(com.google.gwt.event.dom.client.ClickEvent event)
           
 void removedPath(SimulationPathModel path)
           
 void removedStep(SimulationStepModel step)
           
 void scrollToDistanceMillis(long distanceMillis)
           
 void setSimulation(SimulationModel simulation)
           
 void zoomIn()
           
protected  void zoomIn(com.google.gwt.event.dom.client.ClickEvent event)
           
 void zoomOut()
           
protected  void zoomOut(com.google.gwt.event.dom.client.ClickEvent event)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

simulationResources

@UiField
protected SimulationResources simulationResources

simulationStyle

protected SimulationStyle simulationStyle

addPathButton

@UiField
protected com.google.gwt.user.client.ui.PushButton addPathButton

zoomInButton

@UiField
protected com.google.gwt.user.client.ui.PushButton zoomInButton

zoomOutButton

@UiField
protected com.google.gwt.user.client.ui.PushButton zoomOutButton

timeLineScrollPanel

@UiField
protected com.google.gwt.user.client.ui.ScrollPanel timeLineScrollPanel

timeLineContent

@UiField
protected com.google.gwt.user.client.ui.LayoutPanel timeLineContent

addStepsPanel

@UiField
protected com.google.gwt.user.client.ui.FlowPanel addStepsPanel
Constructor Detail

TimeLineWidget

public TimeLineWidget(SimulationTestEventHandler simulationTestEventHandler)
Method Detail

setSimulation

public void setSimulation(SimulationModel simulation)

addedPath

public void addedPath(SimulationPathModel path)

removedPath

public void removedPath(SimulationPathModel path)

addedStep

public void addedStep(SimulationStepModel step)

removedStep

public void removedStep(SimulationStepModel step)

scrollToDistanceMillis

public void scrollToDistanceMillis(long distanceMillis)

addPath

@UiHandler(value="addPathButton")
protected void addPath(com.google.gwt.event.dom.client.ClickEvent event)

zoomIn

@UiHandler(value="zoomInButton")
protected void zoomIn(com.google.gwt.event.dom.client.ClickEvent event)

zoomIn

public void zoomIn()

zoomOut

@UiHandler(value="zoomOutButton")
protected void zoomOut(com.google.gwt.event.dom.client.ClickEvent event)

zoomOut

public void zoomOut()

Guvnor web application Drools 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.