public class ActionAdd extends Object implements ActionOnGrid
Modifier and Type | Field and Description |
---|---|
protected Feature[] |
feats |
protected MapSheetsGrid |
grid |
GRID_ACTION_ADD, GRID_ACTION_DELETE, GRID_ACTION_MOVE, GRID_ACTION_ROTATE
Constructor and Description |
---|
ActionAdd(Feature[] ff,
MapSheetsGrid gr) |
protected Feature[] feats
protected MapSheetsGrid grid
public ActionAdd(Feature[] ff, MapSheetsGrid gr)
public int getType()
getType
in interface ActionOnGrid
public boolean undo()
undo
in interface ActionOnGrid