cz.cuni.amis.nb.pogamut.unreal.timeline.widgets
Class TLScene

Package class diagram package TLScene
java.lang.Object
  extended by org.netbeans.api.visual.widget.Widget
      extended by org.netbeans.api.visual.widget.Scene
          extended by cz.cuni.amis.nb.pogamut.unreal.timeline.widgets.TLScene
All Implemented Interfaces:
Accessible

public class TLScene
extends org.netbeans.api.visual.widget.Scene

This is a scene that is used to show timeline.

It has an time axis at the top and {EntityWidget}s can be added through addEntityWidget.

Author:
Honza

Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Scene
org.netbeans.api.visual.widget.Scene.SceneListener
 
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.Widget.Dependency
 
Constructor Summary
TLScene(TLDatabase db)
           
 
Method Summary
 void addEntityWidget(EntityWidget entityWidget)
          Add new entity to the scene.
 void setTimeAxisLength(long time)
          Set time interval that will be displayed in the widget showing time
 
Methods inherited from class org.netbeans.api.visual.widget.Scene
addSceneListener, convertSceneToView, convertSceneToView, convertViewToScene, createBirdView, createSatelliteView, createView, createWidgetHoverAction, getActiveTool, getDefaultFont, getFocusedWidget, getGraphics, getInputBindings, getKeyEventProcessingType, getLookFeel, getMaximumBounds, getPriorActions, getResourceTable, getSceneAnimator, getView, getZoomFactor, isRepaintRequiredForRevalidating, isValidated, paint, removeSceneListener, setActiveTool, setFocusedWidget, setKeyEventProcessingType, setLookFeel, setMaximumBounds, setResourceTable, setZoomFactor, validate, validate
 
Methods inherited from class org.netbeans.api.visual.widget.Widget
addDependency, addChild, addChild, addChild, addChild, addChildren, bringToBack, bringToFront, calculateClientArea, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getChildConstraint, getChildren, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getScene, getState, getToolTipText, hashCode, isEnabled, isHitAt, isCheckClipping, isOpaque, isPreferredBoundsSet, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, paintWidget, removeDependency, removeFromParent, removeChild, removeChildren, removeChildren, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setCheckClipping, setChildConstraint, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setState, setToolTipText, setVisible, updateResources
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TLScene

public TLScene(TLDatabase db)
Method Detail

addEntityWidget

public void addEntityWidget(EntityWidget entityWidget)
Add new entity to the scene. The widget will listen for changes in TLEntity

Parameters:
entity -

setTimeAxisLength

public void setTimeAxisLength(long time)
Set time interval that will be displayed in the widget showing time

Parameters:
time -


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.