|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShapeContainer<S extends Shape<S,P>,P extends TextParagraph<S,P,?>>
Method Summary | |
---|---|
void |
addShape(S shape)
|
AutoShape<S,P> |
createAutoShape()
create a new shape with a predefined geometry and add it to this shape container |
ConnectorShape<S,P> |
createConnector()
create a connector |
FreeformShape<S,P> |
createFreeform()
create a new shape with a custom geometry |
GroupShape<S,P> |
createGroup()
create a group of shapes belonging to this container |
PictureShape<S,P> |
createPicture(PictureData pictureData)
create a picture belonging to this container |
TableShape<S,P> |
createTable(int numRows,
int numCols)
Create a new Table of the given number of rows and columns |
TextBox<S,P> |
createTextBox()
create a text box |
java.util.List<S> |
getShapes()
Returns an list containing all of the elements in this container in proper sequence (from first to last element). |
boolean |
removeShape(S shape)
Removes the specified shape from this sheet, if it is present (optional operation). |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
java.util.List<S> getShapes()
void addShape(S shape)
boolean removeShape(S shape)
shape
- the shape to be removed from this sheet, if present
java.lang.IllegalArgumentException
- if the type of the specified shape
is incompatible with this sheet (optional)AutoShape<S,P> createAutoShape()
FreeformShape<S,P> createFreeform()
TextBox<S,P> createTextBox()
ConnectorShape<S,P> createConnector()
GroupShape<S,P> createGroup()
PictureShape<S,P> createPicture(PictureData pictureData)
TableShape<S,P> createTable(int numRows, int numCols)
numRows
- the number of rowsnumCols
- the number of columns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |