org.jgraph.graph

Class DefaultGraphSelectionModel.CellPlaceHolder

protected class DefaultGraphSelectionModel.CellPlaceHolder extends Object

Holds a path and whether or not it is new.
Field Summary
protected Objectcell
protected booleanisNew
Constructor Summary
protected CellPlaceHolder(Object cell, boolean isNew)
Method Summary
ObjectgetCell()
Returns the cell.
booleanisNew()
Returns the isNew.
voidsetCell(Object cell)
Sets the cell.
voidsetNew(boolean isNew)
Sets the isNew.

Field Detail

cell

protected Object cell

isNew

protected boolean isNew

Constructor Detail

CellPlaceHolder

protected CellPlaceHolder(Object cell, boolean isNew)

Method Detail

getCell

public Object getCell()
Returns the cell.

Returns: Object

isNew

public boolean isNew()
Returns the isNew.

Returns: boolean

setCell

public void setCell(Object cell)
Sets the cell.

Parameters: cell The cell to set

setNew

public void setNew(boolean isNew)
Sets the isNew.

Parameters: isNew The isNew to set

Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.