org.jgraph.graph

Class DefaultGraphSelectionModel.CellPlaceHolder

Enclosing Class:
DefaultGraphSelectionModel

protected class DefaultGraphSelectionModel.CellPlaceHolder
extends java.lang.Object

Holds a path and whether or not it is new.

Field Summary

protected Object
cell
protected boolean
isNew

Constructor Summary

CellPlaceHolder(Object cell, boolean isNew)

Method Summary

Object
getCell()
Returns the cell.
boolean
isNew()
Returns the isNew.
void
setCell(Object cell)
Sets the cell.
void
setNew(boolean isNew)
Sets the isNew.

Field Details

cell

protected Object cell

isNew

protected boolean isNew

Constructor Details

CellPlaceHolder

protected CellPlaceHolder(Object cell,
                          boolean isNew)

Method Details

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-2006 Gaudenz Alder. All rights reserved.