|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCustomWidget
artofillusion.animation.TrackGraph
public class TrackGraph
This is a graph used for displaying and editing one or more Track's keyframe values.
Field Summary | |
---|---|
static int |
HANDLE_SIZE
|
static java.awt.Color[] |
LIGHT_LINE_COLOR
|
static java.awt.Color[] |
LINE_COLOR
|
static java.awt.Color |
SELECTED_KEY_COLOR
|
static java.awt.Color |
SELECTED_VALUE_COLOR
|
static int |
TICK_SIZE
|
Constructor Summary | |
---|---|
TrackGraph(LayoutWindow win,
Score sc,
TimeAxis ta)
Create a track graph for one or more quantities which can take on any value. |
Method Summary | |
---|---|
void |
addMarker(Marker m)
Add a marker to the display. |
VerticalAxis |
getAxis()
Get the vertical axis for this graph. |
void |
selectionChanged()
Update the flags for which keyframes are selected. |
void |
setMode(int m)
Set the mode (select-and-move or scroll-and-scale) for this display. |
void |
setScale(double s)
Set the number of pixels per unit time. |
void |
setStartTime(double time)
Set the starting time to display. |
void |
setSubdivisions(int s)
Set the number of subdivisions per unit time. |
void |
setTracks(Track[] t)
Set the list of tracks to display on this graph. |
void |
setYOffset(int offset)
This method is required by the TrackDisplay interface. |
void |
showLineAtBottom(boolean show)
Set whether a line should be draw along the bottom edge. |
void |
tracksModified()
This should be called whenever a track is modified, to update the display. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HANDLE_SIZE
public static final int TICK_SIZE
public static final java.awt.Color[] LINE_COLOR
public static final java.awt.Color[] LIGHT_LINE_COLOR
public static final java.awt.Color SELECTED_VALUE_COLOR
public static final java.awt.Color SELECTED_KEY_COLOR
Constructor Detail |
---|
public TrackGraph(LayoutWindow win, Score sc, TimeAxis ta)
Method Detail |
---|
public void setStartTime(double time)
setStartTime
in interface TrackDisplay
public void setScale(double s)
setScale
in interface TrackDisplay
public void setSubdivisions(int s)
setSubdivisions
in interface TrackDisplay
public void setYOffset(int offset)
setYOffset
in interface TrackDisplay
public void addMarker(Marker m)
addMarker
in interface TrackDisplay
public void setMode(int m)
setMode
in interface TrackDisplay
public VerticalAxis getAxis()
public void setTracks(Track[] t)
public void showLineAtBottom(boolean show)
public void tracksModified()
public void selectionChanged()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |