public final class TimeTicsWidget
extends org.netbeans.api.visual.widget.Widget
It has space on the left TLWidget.LEFT_MARGIN pixels long.
| Modifier and Type | Field and Description |
|---|---|
protected long |
totalTime
Total time this widget should show, in ms
|
| Constructor and Description |
|---|
TimeTicsWidget(org.netbeans.api.visual.widget.Scene scene) |
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle |
calculateClientArea() |
protected void |
paintWidget() |
void |
setTime(long newTime)
Change length of the widget according to time interval.
|
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, 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, 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, updateResourcesprotected 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 msCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.