public abstract class TLWidget
extends org.netbeans.api.visual.widget.Widget
| Modifier and Type | Field and Description |
|---|---|
protected TLEntity |
entity |
static int |
LEFT_MARGIN |
static int |
zoomFactor
How many milisec equals one pixel
|
| Modifier | Constructor and Description |
|---|---|
protected |
TLWidget(org.netbeans.api.visual.widget.Scene scene,
TLEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
getEntityTimeframe() |
protected int |
getOffsetFromStart(long ms)
Get offset from the start of the entity this widget represents to
the passed ms.
|
protected int |
getStartOffset()
Get offset from the start of db to start of entity this widget belongs to.
|
protected int |
getTimeframeLength(long delta) |
protected int |
getTimeframeLength(long startTS,
long endTS) |
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, calculateClientArea, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, paintWidget, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setResourceTable, setState, setToolTipText, setVisible, updateResourcespublic static final int zoomFactor
public static final int LEFT_MARGIN
protected TLEntity entity
protected TLWidget(org.netbeans.api.visual.widget.Scene scene,
TLEntity entity)
protected final int getStartOffset()
protected final int getOffsetFromStart(long ms)
ms - protected final int getTimeframeLength(long startTS,
long endTS)
protected final int getTimeframeLength(long delta)
protected final long getEntityTimeframe()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.