frysk.gui.monitor.eventviewer
Class EventViewerWidget
java.lang.Object
frysk.gui.monitor.GuiObject
frysk.gui.monitor.eventviewer.EventViewerWidget
- All Implemented Interfaces:
- SaveableXXX
- Direct Known Subclasses:
- EventViewerWidgetList
public abstract class EventViewerWidget
- extends GuiObject
An EventViewerWidget is a widget within the EventViewer.
This Glyph design pattern will make complex manipulations
of EventViewer and its children simpler.
Field Summary |
private int |
height
|
private int |
width
|
private int |
x
|
private int |
y
|
Method Summary |
abstract void |
draw(org.gnu.gdk.GdkCairo cairo)
|
int |
getHeight()
|
int |
getWidth()
|
boolean |
isInside(int x,
int y)
Return wether the given points are inside the widget. |
void |
setSize(int x,
int y,
int w,
int h)
|
Methods inherited from class frysk.gui.monitor.GuiObject |
dontSaveObject, doSaveObject, getCopy, getName, getSummary, getToolTip, load, save, setName, setSummay, setToolTip, shouldSaveObject, toString |
x
private int x
y
private int y
height
private int height
width
private int width
EventViewerWidget
EventViewerWidget(String name,
String tooltip)
draw
public abstract void draw(org.gnu.gdk.GdkCairo cairo)
setSize
public void setSize(int x,
int y,
int w,
int h)
getHeight
public int getHeight()
getWidth
public int getWidth()
isInside
public boolean isInside(int x,
int y)
- Return wether the given points are inside the widget.
useful for mouse event ownership.