public class FillHLAPI extends Object implements HLAPIClass
Constructor and Description |
---|
FillHLAPI(AnnotationGraphicsHLAPI containerAnnotationGraphics)
This constructor give access to required stuff only (and container)
|
FillHLAPI(CSS2ColorHLAPI color,
CSS2ColorHLAPI gradientcolor,
GradientHLAPI gradientrotation,
URI image)
this constructor allows you to set all 'settable' values
excepted container.
|
FillHLAPI(CSS2ColorHLAPI color,
CSS2ColorHLAPI gradientcolor,
GradientHLAPI gradientrotation,
URI image,
AnnotationGraphicsHLAPI containerAnnotationGraphics)
this constructor allows you to set all 'settable' values, including container if any.
|
FillHLAPI(CSS2ColorHLAPI color,
CSS2ColorHLAPI gradientcolor,
GradientHLAPI gradientrotation,
URI image,
NodeGraphicsHLAPI containerNodeGraphics)
this constructor allows you to set all 'settable' values, including container if any.
|
FillHLAPI(Fill lowLevelAPI)
This constructor encapsulate a low level API object in HLAPI.
|
FillHLAPI(NodeGraphicsHLAPI containerNodeGraphics)
This constructor give access to required stuff only (and container)
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FillHLAPI item) |
void |
fromPNML(org.apache.axiom.om.OMElement subRoot,
IdRefLinker idr)
creates an object from the xml nodes.
|
CSS2Color |
getColor()
Return the encapsulate Low Level API object.
|
Fill |
getContainedItem()
Return encapsulated object
|
AnnotationGraphics |
getContainerAnnotationGraphics()
Return the encapsulate Low Level API object.
|
AnnotationGraphicsHLAPI |
getContainerAnnotationGraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
NodeGraphics |
getContainerNodeGraphics()
Return the encapsulate Low Level API object.
|
NodeGraphicsHLAPI |
getContainerNodeGraphicsHLAPI()
This accessor automatically encapsulate an element of the current object.
|
CSS2Color |
getGradientcolor()
Return the encapsulate Low Level API object.
|
Gradient |
getGradientrotation()
Return the encapsulate Low Level API object.
|
URI |
getImage()
Return the encapsulate Low Level API object.
|
void |
setColorHLAPI(CSS2Color elem)
set Color
|
void |
setContainerAnnotationGraphicsHLAPI(AnnotationGraphicsHLAPI elem)
set ContainerAnnotationGraphics
|
void |
setContainerNodeGraphicsHLAPI(NodeGraphicsHLAPI elem)
set ContainerNodeGraphics
|
void |
setGradientcolorHLAPI(CSS2Color elem)
set Gradientcolor
|
void |
setGradientrotationHLAPI(Gradient elem)
set Gradientrotation
|
void |
setImageHLAPI(URI elem)
set Image
|
String |
toPNML()
Returns the PNML xml tree for this object.
|
void |
toPNML(FileChannel fc)
Writes the PNML XML tree of this object into file channel.
|
boolean |
validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics) |
public FillHLAPI(CSS2ColorHLAPI color, CSS2ColorHLAPI gradientcolor, GradientHLAPI gradientrotation, URI image)
public FillHLAPI(CSS2ColorHLAPI color, CSS2ColorHLAPI gradientcolor, GradientHLAPI gradientrotation, URI image, NodeGraphicsHLAPI containerNodeGraphics)
public FillHLAPI(CSS2ColorHLAPI color, CSS2ColorHLAPI gradientcolor, GradientHLAPI gradientrotation, URI image, AnnotationGraphicsHLAPI containerAnnotationGraphics)
public FillHLAPI(NodeGraphicsHLAPI containerNodeGraphics)
public FillHLAPI(AnnotationGraphicsHLAPI containerAnnotationGraphics)
public FillHLAPI(Fill lowLevelAPI)
public Fill getContainedItem()
getContainedItem
in interface HLAPIClass
public CSS2Color getColor()
public CSS2Color getGradientcolor()
public Gradient getGradientrotation()
public URI getImage()
public NodeGraphics getContainerNodeGraphics()
public AnnotationGraphics getContainerAnnotationGraphics()
public NodeGraphicsHLAPI getContainerNodeGraphicsHLAPI()
public AnnotationGraphicsHLAPI getContainerAnnotationGraphicsHLAPI()
public void setColorHLAPI(CSS2Color elem)
public void setGradientcolorHLAPI(CSS2Color elem)
public void setGradientrotationHLAPI(Gradient elem)
public void setImageHLAPI(URI elem)
public void setContainerNodeGraphicsHLAPI(NodeGraphicsHLAPI elem)
public void setContainerAnnotationGraphicsHLAPI(AnnotationGraphicsHLAPI elem)
public boolean equals(FillHLAPI item)
public String toPNML()
toPNML
in interface HLAPIClass
HLAPIClass.toPNML(FileChannel)
public void toPNML(FileChannel fc)
toPNML
in interface HLAPIClass
fc
- the file channel into which to write the contentspublic void fromPNML(org.apache.axiom.om.OMElement subRoot, IdRefLinker idr) throws InnerBuildException, InvalidIDException, VoidRepositoryException
fromPNML
in interface HLAPIClass
subRoot
- the sub-tree to import.idr
- an idreflinker to solve idref.InnerBuildException
- .InvalidIDException
- .VoidRepositoryException
- .public boolean validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
validateOCL
in interface HLAPIClass
diagnostics
- for diagnostic informations.Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.