public class SelectionCellImpl extends java.lang.Object implements SelectionCell
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PERSISTENCE_DEFINITION_NAME |
| Constructor and Description |
|---|
SelectionCellImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Cell cell) |
void |
clear() |
java.lang.Object |
clone()
Creates a copy of the object.
|
java.awt.geom.Rectangle2D |
getRectangle() |
Cell |
getStartCell() |
boolean |
isSelected(Cell cell) |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistent() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloneQuietly, cloneQuietlypublic static final java.lang.String PERSISTENCE_DEFINITION_NAME
public void add(Cell cell)
add in interface SelectionCellpublic boolean isSelected(Cell cell)
isSelected in interface SelectionCellpublic void clear()
clear in interface SelectionCellpublic Cell getStartCell()
getStartCell in interface SelectionCellpublic java.awt.geom.Rectangle2D getRectangle()
getRectangle in interface SelectionCellpublic static void registerPersistent()
public void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.