net.openai.ai.nn.gui.data
Class AbstractDrawable

java.lang.Object
  |
  +--net.openai.ai.nn.gui.data.AbstractDrawable
All Implemented Interfaces:
Drawable
Direct Known Subclasses:
GUIConnection

public abstract class AbstractDrawable
extends java.lang.Object
implements Drawable

Author:
tom

Field Summary
protected  boolean bSelected
           
protected  java.awt.Shape shape
           
 
Constructor Summary
AbstractDrawable()
           
 
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 setSelected(boolean s)
          Sets the 'selected' flag of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.openai.ai.nn.gui.data.Drawable
paint
 

Field Detail

shape

protected java.awt.Shape shape

bSelected

protected boolean bSelected
Constructor Detail

AbstractDrawable

public AbstractDrawable()
Method Detail

getSelected

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

Specified by:
getSelected in interface Drawable

setSelected

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

Specified by:
setSelected in interface Drawable

contains

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

Specified by:
contains in interface Drawable


Copyright - 2001 OpenAI Labs. All Rights Reserved.