cz.cuni.amis.nb.pogamut.unreal.timeline.widgets
Class AxisWidget

Package class diagram package AxisWidget
java.lang.Object
  extended by org.netbeans.api.visual.widget.Widget
      extended by cz.cuni.amis.nb.pogamut.unreal.timeline.widgets.TLWidget
          extended by cz.cuni.amis.nb.pogamut.unreal.timeline.widgets.AxisWidget
All Implemented Interfaces:
Accessible
Direct Known Subclasses:
LogCategoryWidget

public abstract class AxisWidget
extends TLWidget

Ancestor of axis. It provides label and strip on the right side of label.

Author:
Honza

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  org.netbeans.api.visual.widget.LabelWidget nameWidget
          Widget representing entity name
protected  StripWidget stripWidget
           
protected  int TEXT_HEIGHT
           
 int TOP_MARGIN
           
protected  int zoom
           
 
Fields inherited from class cz.cuni.amis.nb.pogamut.unreal.timeline.widgets.TLWidget
entity, LEFT_MARGIN, zoomFactor
 
Method Summary
 TLEntity getEntity()
           
 int getStripHeight()
           
protected  void updateStripRange()
           
 void updateWidget()
           
 
Methods inherited from class cz.cuni.amis.nb.pogamut.unreal.timeline.widgets.TLWidget
getEntityTimeframe, getOffsetFromStart, getStartOffset, getTimeframeLength, getTimeframeLength
 
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

zoom

protected int zoom

TEXT_HEIGHT

protected final int TEXT_HEIGHT
See Also:
Constant Field Values

TOP_MARGIN

public final int TOP_MARGIN
See Also:
Constant Field Values

nameWidget

protected org.netbeans.api.visual.widget.LabelWidget nameWidget
Widget representing entity name


stripWidget

protected StripWidget stripWidget
Method Detail

getStripHeight

public int getStripHeight()

updateStripRange

protected void updateStripRange()

updateWidget

public void updateWidget()

getEntity

public TLEntity getEntity()


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.