|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.domain.viz.data.implement.channel.ChannelViz
public class ChannelViz
Visualizes a channel
Field Summary |
---|
Fields inherited from interface org.problets.domain.viz.data.VizConstants |
---|
ACTIVE_COLOR, COLOR_SCHEME, HIGHLIGHT_COLOR, INACTIVE_COLOR, STRIKEOUT_COLOR |
Constructor Summary | |
---|---|
ChannelViz(Channel inChannel)
|
Method Summary | |
---|---|
void |
draw(java.awt.Graphics g,
int xCoord)
|
int |
getLargerY()
|
Channel |
getModel()
Returns a reference to the model for which this visualization was created |
int |
getSmallerY()
|
void |
update()
Assigns startY and endY based on the current value of the model. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelViz(Channel inChannel)
Method Detail |
---|
public void draw(java.awt.Graphics g, int xCoord)
public Channel getModel()
public int getSmallerY()
public int getLargerY()
public void update()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |