|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDrawing
Defines an interface of a drawing that contains a set of shapes
and a set of selected shapes.
This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
02/22/2010
Method Summary | |
---|---|
void |
addToSelection(IShape sh)
Adds the given shape to the selection. |
void |
addToSelection(java.util.List<IShape> shapes)
Adds the given shapes to the selection. |
IGroup |
getSelection()
|
IShape |
getTempShape()
|
IUnary<IShape> |
getUnaryTempShape()
|
void |
removeFromSelection(IShape sh)
Removes the given shape from the selection. |
void |
removeSelection()
Clears the selection. |
void |
setSelection(IShape sh)
Selects the given shape and unselect the already selected shapes. |
void |
setSelection(java.util.List<IShape> shapes)
Selects the given shapes and unselect the already selected shapes. |
void |
setTempShape(IShape tempShape)
Sets the temporary shape. |
Methods inherited from interface net.sf.latexdraw.glib.models.interfaces.ISetShapes |
---|
addShape, addShape, clear, contains, getShapeAt, getShapes, isEmpty, removeShape, removeShape, size |
Methods inherited from interface org.malai.properties.Modifiable |
---|
isModified, setModified |
Methods inherited from interface org.malai.properties.Reinitialisable |
---|
reinit |
Method Detail |
---|
IGroup getSelection()
void removeSelection()
void setSelection(IShape sh)
sh
- The shape to select.void setSelection(java.util.List<IShape> shapes)
shapes
- The shapes to select.void removeFromSelection(IShape sh)
sh
- The shape to remove from the selection.void addToSelection(IShape sh)
sh
- The shape to select.void addToSelection(java.util.List<IShape> shapes)
shapes
- The shapes to select.IShape getTempShape()
void setTempShape(IShape tempShape)
tempShape
- The new temporary shape. Can be null.IUnary<IShape> getUnaryTempShape()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |