cz.cuni.jagrlib.gui
Class ChannelGUI

java.lang.Object
  extended by cz.cuni.jagrlib.gui.ChannelGUI
Direct Known Subclasses:
ChannelGUIImproved

public abstract class ChannelGUI
extends java.lang.Object

Abstract class that cares about visual representation of channels.

See Also:
ChannelGUI.java

Field Summary
 InfoChannel info
          Information about channel.
 
Constructor Summary
ChannelGUI()
           
 
Method Summary
abstract  boolean contains(int px, int py)
          Tests, if point is on channel.
abstract  void extend(java.awt.Rectangle r)
          Extends the given rectangle to hold the channel image.
abstract  void paintItem(java.awt.Graphics g)
          Paint bonus graphics on composition panel.
abstract  void registryChannel()
          Registration of channel in plugs.
abstract  void removeChannel()
          Remove channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

public InfoChannel info
Information about channel.

Constructor Detail

ChannelGUI

public ChannelGUI()
Method Detail

registryChannel

public abstract void registryChannel()
Registration of channel in plugs.


contains

public abstract boolean contains(int px,
                                 int py)
Tests, if point is on channel.

Parameters:
px - x-axis.
py - y-axis.
Returns:
true if point is on channel.

extend

public abstract void extend(java.awt.Rectangle r)
Extends the given rectangle to hold the channel image.


removeChannel

public abstract void removeChannel()
Remove channel.


paintItem

public abstract void paintItem(java.awt.Graphics g)
Paint bonus graphics on composition panel.

Parameters:
g - Graphics.