|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.nite.gui.timelineviewer.TimeBlob
public class TimeBlob
A simple blob on a timeline. Most of the settings come from the parent element (a 'Grid'). We just hold our layer name which can't change; start and end times in milliseconds; any label to display. This is somewhat influenced by Mike Flynn's timeline approach in JFerret.
TimeGrid| Nested Class Summary | |
|---|---|
class |
TimeBlob.myWidget
the visual element of the blob |
| Constructor Summary | |
|---|---|
TimeBlob(TimeGrid grid,
int st,
int en,
java.lang.String name,
int depth,
java.lang.String label)
|
|
TimeBlob(TimeGrid grid,
NOMElement el)
|
|
TimeBlob(TimeGrid grid,
NOMElement el,
NiteTimeline timeline)
|
|
| Method Summary | |
|---|---|
int |
getEnd()
end time in milliseconds |
java.lang.String |
getLayerName()
Layer name |
int |
getLength()
length in milliseconds |
NOMElement |
getNOMElement()
NOMElement displayed by this blob |
int |
getRecursiveDepth()
Recursive depth |
boolean |
getSelected()
is this blob selected? |
int |
getStart()
start time in milliseconds |
void |
setSelected(boolean s)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeBlob(TimeGrid grid,
int st,
int en,
java.lang.String name,
int depth,
java.lang.String label)
grid - - grid to draw the blob on.st - - start time in msen - - end time in msname - - name of parent layer for this blobdepth - - each layer is split into horizontal levels, this defines which of these to put the blob on.label - - what to write on the blob
public TimeBlob(TimeGrid grid,
NOMElement el)
grid - - grid to draw the blob on.el - - Element to be added
public TimeBlob(TimeGrid grid,
NOMElement el,
NiteTimeline timeline)
grid - - grid to draw the blob on.el - - Element to be addedtimeline - - Grandparent NiteTimeline managing this blob| Method Detail |
|---|
public NOMElement getNOMElement()
public int getStart()
public int getEnd()
public int getLength()
public java.lang.String getLayerName()
public int getRecursiveDepth()
public boolean getSelected()
public void setSelected(boolean s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||