|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface describes the public API for a shape.
| Method Summary | |
void |
bringForward()
Brings this shape forward |
void |
bringToFront()
Brings this shape to the front of all shapes |
boolean |
canChangeType()
Returns whether or not this shape's type can change |
boolean |
canFlip()
Returns whether or not this shape can flip |
boolean |
canRegroup()
Returns whether or not this shape can be part of a regroup operation |
boolean |
canUngroup()
Returns whether or not this shape can be part of an ungroup operation |
void |
delete()
Delete this shape from the drawing. |
void |
flipHorizontal()
Flip this shape horizontally. |
void |
flipVertical()
Flip this shape vertically. |
EAutoShape |
getAutoShapeType()
Returns the auto shape type. |
Format |
getFormat()
Returns the Format object associated with this shape. |
int |
getID()
Returns the shape's ID. |
java.lang.String |
getName()
Returns the shape's name. |
ShapeAnchor |
getShapeAnchor()
Returns the shape's ShapeAnchor. |
java.lang.String |
getText()
Returns the shape's text. |
EShape |
getType()
Returns the shape's type. |
int |
getZOrderPosition()
Returns the shape's Z-Order position. |
boolean |
hasText()
Returns whether or not the shape has had text added to it. |
boolean |
isAllowChanges()
Returns whether or not the shape can be changed. |
boolean |
isAllowSelection()
Returns whether or not the shape can be selected. |
boolean |
isAllowText()
Returns whether or not the shape can have text added to it. |
boolean |
isHorizontalFlip()
Returns whether or not the shape is flipped horizontally. |
boolean |
isVerticalFlip()
Returns whether or not the shape is flipped vertically. |
void |
sendBackward()
Send the shape backward. |
void |
sendToBack()
Send the shape to the back of all shapes. |
void |
setAutoShapeType(EAutoShape eType)
Sets the auto shape type of this shape. |
void |
setFormat(Format format)
Sets the Format for this shape. |
void |
setName(java.lang.String strName)
Sets the shape's name. |
void |
setShapeAnchor(ShapeAnchor shapeAnchor)
Sets the shape's ShapeAnchor. |
void |
setText(java.lang.String text)
Sets the shape's text. |
short |
setZOrder(EZOrder eZOrderCmd)
Sets the shape's Z-Order. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public void bringForward()
throws AccessDeniedException,
F1Exception
public void bringToFront()
throws AccessDeniedException,
F1Exception
public boolean canChangeType()
public boolean canFlip()
public boolean canRegroup()
public boolean canUngroup()
public void delete()
throws AccessDeniedException,
F1Exception
public void flipHorizontal()
throws AccessDeniedException,
UnsupportedFeatureException,
F1Exception
public void flipVertical()
throws AccessDeniedException,
UnsupportedFeatureException,
F1Exception
public EAutoShape getAutoShapeType()
throws F1Exception
public Format getFormat()
public int getID()
throws UnsupportedFeatureException,
F1Exception
public java.lang.String getName()
throws UnsupportedFeatureException,
F1Exception
public ShapeAnchor getShapeAnchor()
public java.lang.String getText()
throws UnsupportedFeatureException,
F1Exception
public EShape getType()
throws F1Exception
public int getZOrderPosition()
throws F1Exception
public boolean hasText()
throws UnsupportedFeatureException,
F1Exception
public boolean isAllowChanges()
public boolean isAllowSelection()
public boolean isAllowText()
throws UnsupportedFeatureException,
F1Exception
public boolean isHorizontalFlip()
public boolean isVerticalFlip()
public void sendBackward()
throws AccessDeniedException,
F1Exception
public void sendToBack()
throws AccessDeniedException,
F1Exception
public void setAutoShapeType(EAutoShape eType)
eType - the auto shape type.public void setFormat(Format format)
format - the format.
public void setName(java.lang.String strName)
throws UnsupportedFeatureException,
F1Exception
strName - the name.
public void setShapeAnchor(ShapeAnchor shapeAnchor)
throws AccessDeniedException,
SelectionException,
F1Exception
shapeAnchor - the ShapeAnchor.
public void setText(java.lang.String text)
throws UnsupportedFeatureException,
F1Exception
text - the text.
public short setZOrder(EZOrder eZOrderCmd)
throws AccessDeniedException,
F1Exception
eZOrderCmd - the Z-Order.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||