|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.gui.ChannelGUI
cz.cuni.jagrlib.gui.ChannelGUIImproved
public class ChannelGUIImproved
Improved class that care about visual representation of channels. It has four orientation of arrow - North, South, West, East.
Field Summary |
---|
Fields inherited from class cz.cuni.jagrlib.gui.ChannelGUI |
---|
info |
Constructor Summary | |
---|---|
ChannelGUIImproved(InfoChannel _info)
Creates new ChannelGUIImproved. |
Method Summary | |
---|---|
boolean |
contains(int px,
int py)
Tests, if point lies on channel. |
void |
extend(java.awt.Rectangle r)
Extends the given rectangle to hold the channel image. |
void |
paintItem(java.awt.Graphics g)
Paints extra graphics on composition panel: channels with arrows.. |
void |
registryChannel()
Registration of channel in plugs. |
void |
removeChannel()
Remove channel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelGUIImproved(InfoChannel _info)
_info
- Information about channel.Method Detail |
---|
public boolean contains(int px, int py)
contains
in class ChannelGUI
px
- x-axis.py
- y-axis.
true
if point lies on a channel.public void extend(java.awt.Rectangle r)
extend
in class ChannelGUI
public void registryChannel()
registryChannel
in class ChannelGUI
public void removeChannel()
removeChannel
in class ChannelGUI
public void paintItem(java.awt.Graphics g)
paintItem
in class ChannelGUI
g
- Graphics.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |