net.openai.ai.nn.gui.data
Interface Drawable

All Known Subinterfaces:
GUINeuron
All Known Implementing Classes:
AbstractDrawable, AbstractGUINeuron

public interface Drawable

A common interface for all drag- and selectable widgets in the GUI

Version:
$Id: Drawable.java,v 1.2 2002/02/14 23:22:22 gleo Exp $ History:
$Log: Drawable.java,v $
Revision 1.2 2002/02/14 23:22:22 gleo
Jindent run through.

Revision 1.1 2002/02/13 09:15:22 tweber
Initial release of a new GUI-datamodel
Author:
Thomas Weber

Method Summary
 boolean contains(double x, double y)
          Checks if x,y is within objects visual representation
 boolean getSelected()
          Returns the 'selected' flag of this object
 void paint(java.awt.Graphics g, double zoom)
          Paint this object to screen
 void setSelected(boolean s)
          Sets the 'selected' flag of this object
 

Method Detail

paint

public void paint(java.awt.Graphics g,
                  double zoom)
Paint this object to screen


setSelected

public void setSelected(boolean s)
Sets the 'selected' flag of this object


getSelected

public boolean getSelected()
Returns the 'selected' flag of this object


contains

public boolean contains(double x,
                        double y)
Checks if x,y is within objects visual representation



Copyright - 2001 OpenAI Labs. All Rights Reserved.