|
||||||||||
| 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.TimeTicsWidget
public final class TimeTicsWidget
This widget shows long axis with time tics in the scene so user has better idea when did something happen.
It has space on the left TLWidget.LEFT_MARGIN pixels long.
| 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 long |
totalTime
Total time this widget should show, in ms |
| Constructor Summary | |
|---|---|
TimeTicsWidget(org.netbeans.api.visual.widget.Scene scene)
|
|
| Method Summary | |
|---|---|
protected Rectangle |
calculateClientArea()
|
protected void |
paintWidget()
|
void |
setTime(long newTime)
Change length of the widget according to time interval. |
| Methods inherited from class org.netbeans.api.visual.widget.Widget |
|---|
addDependency, addChild, addChild, addChild, addChild, addChildren, bringToBack, bringToFront, 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, 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 |
|---|
protected long totalTime
| Constructor Detail |
|---|
public TimeTicsWidget(org.netbeans.api.visual.widget.Scene scene)
| Method Detail |
|---|
protected Rectangle calculateClientArea()
calculateClientArea in class org.netbeans.api.visual.widget.Widgetprotected void paintWidget()
paintWidget in class org.netbeans.api.visual.widget.Widgetpublic void setTime(long newTime)
newTime - total time that this widget will show, in ms
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||