scg.ac.ni.pmf.newgraph.graphdata
Interface Element

All Known Implementing Classes:
Edge, Vertex

public interface Element

The common base interface for both vertices and edges. Allows the basic manipulation.

Author:
Vladimir Brankov

Method Summary
 void delete()
          Deletes the element.
 void deselect()
          Deselects this element.
 boolean isSelected()
          Retrieves is the element selected.
 void select()
          Selects this element.
 void setPrimarySelected()
          Sets this element as primary selected.
 

Method Detail

delete

void delete()
Deletes the element.


select

void select()
Selects this element.


deselect

void deselect()
Deselects this element.


setPrimarySelected

void setPrimarySelected()
Sets this element as primary selected.


isSelected

boolean isSelected()
Retrieves is the element selected.

Returns:
boolean Indicates whether the element is selected.


Copyright © 2004 Dragan Stevanovic, Vladimir Brankov.