public class PictureImpl extends AbstractPictureAdv
SPicture.Format
Constructor and Description |
---|
PictureImpl(AbstractSheetAdv sheet,
String id,
int picDataIndex,
ViewAnchor anchor)
This constructor use the existing picData in the .
|
PictureImpl(AbstractSheetAdv sheet,
String id,
SPicture.Format format,
byte[] data,
ViewAnchor anchor)
This constructor will create a
SPictureData internally |
Modifier and Type | Method and Description |
---|---|
void |
checkOrphan() |
void |
destroy()
Destroy / release this model object, for example all the dependency, parent linking.
|
ViewAnchor |
getAnchor() |
byte[] |
getData() |
SPicture.Format |
getFormat() |
String |
getId() |
SPictureData |
getPictureData()
Returns the SPictureData
|
SSheet |
getSheet() |
void |
setAnchor(ViewAnchor anchor) |
public PictureImpl(AbstractSheetAdv sheet, String id, SPicture.Format format, byte[] data, ViewAnchor anchor)
SPictureData
internallypublic PictureImpl(AbstractSheetAdv sheet, String id, int picDataIndex, ViewAnchor anchor)
public SSheet getSheet()
public String getId()
public SPicture.Format getFormat()
public ViewAnchor getAnchor()
public void setAnchor(ViewAnchor anchor)
public byte[] getData()
public void destroy()
LinkedModelObject
public void checkOrphan()
public SPictureData getPictureData()
SPicture
Copyright © 2020. All rights reserved.