
package jp.riken.brain.ni.samuraigraph.base;

/**
 * An interface for the objects which can be "selected".
 */
public interface SGISelectable
{

	/**
	 * Set selected or deselected the object.
	 * @param b  - true selects and false deselects the object
	 * @uml.property  name="selected"
	 */
	public void setSelected( boolean b );


	/**
	 * Returns whether this object is selected
	 * @return  whether this object is selected
	 * @uml.property  name="selected"
	 */
	public boolean isSelected();

}

