|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.netbeans.api.visual.widget.Widget
cz.cuni.amis.nb.pogamut.unreal.timeline.widgets.TLWidget
public abstract class TLWidget
Ancestor fo all widgets in timeline.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget |
|---|
org.netbeans.api.visual.widget.Widget.Dependency |
| Field Summary | |
|---|---|
protected TLEntity |
entity
|
static int |
LEFT_MARGIN
|
static int |
zoomFactor
How many milisec equals one pixel |
| Constructor Summary | |
|---|---|
protected |
TLWidget(org.netbeans.api.visual.widget.Scene scene,
TLEntity entity)
|
| Method Summary | |
|---|---|
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)
|
| 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, getGraphics, getChildConstraint, getChildren, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isEnabled, isHitAt, isCheckClipping, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, 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, setResourceTable, setState, setToolTipText, setVisible, updateResources |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int zoomFactor
public static final int LEFT_MARGIN
protected TLEntity entity
| Constructor Detail |
|---|
protected TLWidget(org.netbeans.api.visual.widget.Scene scene,
TLEntity entity)
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||