|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umd.cfar.lamp.viper.gui.chronology.AbstractAttributeSegmentFactory edu.umd.cfar.lamp.viper.gui.chronology.IntegerWidthSegmentFactory
Nested Class Summary | |
class |
IntegerWidthSegmentFactory.WidthSegment
|
Field Summary |
Fields inherited from class edu.umd.cfar.lamp.viper.gui.chronology.AbstractAttributeSegmentFactory |
med, tqe |
Constructor Summary | |
IntegerWidthSegmentFactory()
|
Method Summary | |
double |
getPreferredHeight()
|
boolean |
isCentered()
Returns true if the boxes should be centered on the line. |
edu.umd.cs.piccolo.PNode |
makeSegment(Interval i)
Makes a segment, whose width is a function of an integer. |
void |
setCentered(boolean centered)
Set to false to align the boxes to the baseline of the
timeline holder, and true to center the boxes in the
middle. |
Methods inherited from class edu.umd.cfar.lamp.viper.gui.chronology.AbstractAttributeSegmentFactory |
setTimeLine, setViewer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntegerWidthSegmentFactory()
Method Detail |
public edu.umd.cs.piccolo.PNode makeSegment(Interval i)
i
- a DynamicValue
containing an Integer to make a line for
public boolean isCentered()
public void setCentered(boolean centered)
false
to align the boxes to the baseline of the
timeline holder, and true
to center the boxes in the
middle.
centered
- true
centers the bars.public double getPreferredHeight()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |