Package io.keikai.model.impl
Class PictureImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractPictureAdv
-
- io.keikai.model.impl.PictureImpl
-
- All Implemented Interfaces:
LinkedModelObject,SPicture,Serializable
public class PictureImpl extends AbstractPictureAdv
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.model.SPicture
SPicture.Format
-
-
Constructor Summary
Constructors Constructor 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 aSPictureDatainternally
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckOrphan()voiddestroy()Destroy / release this model object, for example all the dependency, parent linking.ViewAnchorgetAnchor()byte[]getData()SPicture.FormatgetFormat()StringgetId()SPictureDatagetPictureData()Returns the SPictureDataSSheetgetSheet()voidsetAnchor(ViewAnchor anchor)
-
-
-
Constructor Detail
-
PictureImpl
public PictureImpl(AbstractSheetAdv sheet, String id, SPicture.Format format, byte[] data, ViewAnchor anchor)
This constructor will create aSPictureDatainternally
-
PictureImpl
public PictureImpl(AbstractSheetAdv sheet, String id, int picDataIndex, ViewAnchor anchor)
This constructor use the existing picData in the .
-
-
Method Detail
-
getSheet
public SSheet getSheet()
-
getId
public String getId()
-
getFormat
public SPicture.Format getFormat()
-
getAnchor
public ViewAnchor getAnchor()
-
setAnchor
public void setAnchor(ViewAnchor anchor)
-
getData
public byte[] getData()
-
destroy
public void destroy()
Description copied from interface:LinkedModelObjectDestroy / release this model object, for example all the dependency, parent linking. this method has to be called before remove this linking from parent object
-
checkOrphan
public void checkOrphan()
-
getPictureData
public SPictureData getPictureData()
Description copied from interface:SPictureReturns the SPictureData- Returns:
-
-