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

java.lang.Objectorg.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.LabelWidget
cz.cuni.amis.nb.pogamut.unreal.timeline.widgets.LogEventWidget
public class LogEventWidget
Widget representing Log event. Shape of this widget is box and color is same as is color of entity. LogEvent is a event that took some time from the start to end. There is also LogMessage for instant events. This widget is part of LogCategoryWidget shown in as slot under the category axis.
LogCategoryWidget| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.LabelWidget |
|---|
org.netbeans.api.visual.widget.LabelWidget.Alignment, org.netbeans.api.visual.widget.LabelWidget.Orientation, org.netbeans.api.visual.widget.LabelWidget.VerticalAlignment |
| Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget |
|---|
org.netbeans.api.visual.widget.Widget.Dependency |
| Field Summary | |
|---|---|
static int |
height
|
protected int |
LEFT_MARGIN
|
protected int |
zoomFactor
|
| Constructor Summary | |
|---|---|
LogEventWidget(LogCategoryWidget logAxisWidget,
LogEvent logEvent)
|
|
| Method Summary | |
|---|---|
protected int |
getOffsetFromStart(long ms)
Get offset from the start of the entity this widget represents to the passed ms. |
protected int |
getStartOffset()
|
protected int |
getTimeframeLength(long delta)
|
protected int |
getTimeframeLength(long startTS,
long endTS)
|
void |
updateLocation()
Update location and range |
| Methods inherited from class org.netbeans.api.visual.widget.LabelWidget |
|---|
calculateClientArea, getAlignment, getLabel, getOrientation, getVerticalAlignment, isPaintAsDisabled, isUseGlyphVector, paintWidget, setAlignment, setLabel, setOrientation, setPaintAsDisabled, setUseGlyphVector, setVerticalAlignment |
| 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 |
|---|
public static final int height
protected final int zoomFactor
protected final int LEFT_MARGIN
| Constructor Detail |
|---|
public LogEventWidget(LogCategoryWidget logAxisWidget,
LogEvent logEvent)
| Method Detail |
|---|
public void updateLocation()
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||