|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbuoy.event.EventSource
buoy.widget.Widget
buoy.widget.CustomWidget
artofillusion.animation.TimeAxis
public class TimeAxis
This is a Widget which displays a time axis.
| Constructor Summary | |
|---|---|
TimeAxis(int subdivisions,
double scale,
Score sc)
|
|
| Method Summary | |
|---|---|
void |
addMarker(Marker m)
Add a marker to the axis. |
java.awt.Dimension |
getPreferredSize()
|
double |
getScale()
Get the number of pixels per unit time. |
double |
getStartTime()
Get the starting time to 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. |
| Methods inherited from class buoy.widget.CustomWidget |
|---|
isOpaque, setMaximumSize, setMinimumSize, setOpaque, setPreferredSize |
| Methods inherited from class buoy.widget.Widget |
|---|
addEventLink, dispatchEvent, getBackground, getBounds, getComponent, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, hasFocus, isEnabled, isFocusable, isVisible, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName, setVisible |
| Methods inherited from class buoy.event.EventSource |
|---|
addEventLink, addEventLink, removeEventLink |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeAxis(int subdivisions,
double scale,
Score sc)
| Method Detail |
|---|
public double getStartTime()
public void setStartTime(double time)
public double getScale()
public void setScale(double s)
public void setSubdivisions(int s)
public void addMarker(Marker m)
public java.awt.Dimension getPreferredSize()
getPreferredSize in class buoy.widget.Widget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||