- All Superinterfaces:
Model
,ReadOnlyInterface
,WritableInterface
public interface Model extends Model, WritableInterface
The writable model can be used to create and add additional components to a network model document.
See
The
Model
for more details about the constitution of Omix network documents.The
Model
provides write access to Model
.
Possible components of Model
are Compartment
and MetaboliteType
. Instances of these types can be created
in the Model
. After creating a component it must be
finally inserted into the Model
by addComponent(AbstractModelComponent)
.- Since:
- Omix 1.9.0
- Author:
- Dr. Peter Droste, Omix Visualization
-
Method Summary
Modifier and Type Method Description void
activatePlugin(String plugin)
Activates the given plugin on the network model document.void
addChangeListener(ModelChangeListener listener)
Adds aNetworkChangeListener
which is triggered when the composition of the network changes.void
addComponent(AbstractModelComponent item)
Created diagram items have to be inserted into the metabolic network before taking any effect.
OVL definitions do not become part of a diagram component until the item is added to the diagram.
After adding aMetabolite
orMetabolite
to the diagram, aModelMetaboliteType
is simultaneously added to theModel
.CustomShape
addCustomShape(String name, List<? extends AbstractCurvePoint> points)
Creates a new custom shape available for nodes or edge markers.void
addDiagram(Diagram diagram)
void
addMotifStamp(MotifStamp motifStamp)
void
addPublicIdentifier(PublicIdentifier publicIdentifier)
Adds a public identifier to the model.List<? extends Compartment>
allCompartments()
Returns an unchangeableList
of all compartment items.void
attach(OVLEnvironment environment)
Attaches this writable model to the OVL environment.UndoMacro
beginUndoMacro(Supplier<String> description)
ModelCapabilities
capabilities()
void
clearCapabilities(ModelCapabilities capabilities)
default void
clearCapabilities(ModelCapability... capabilities)
boolean
compartmentExists(String name)
Determines if compartment of certain name exists.default Arc
createArc(double x, double y, double radius, double startAngle, double length)
Create an arc with the given center, radius, start angle and length.Arc
createArc(double x, double y, double radiusX, double radiusY, double startAngle, double length)
Create an arc with the given center, radiusX, radiusY, start angle and length.BezierPoint
createBezierPoint(double x, double y)
Create a bezier controlpoint.default FluxEdge
createCofactorEdge(AbstractBioNode src, AbstractBioNode dst)
FluxEdge
createCofactorEdge(AbstractBioNode src, AbstractBioNode dst, double coefficient)
Creates a new cofactor edge between a source and destination node.default LinkEdge
createCofactorEdge(AbstractBioNode src, Link dst)
LinkEdge
createCofactorEdge(AbstractBioNode src, Link dst, double coefficient)
Creates a new link edge with flux edge appearance between a source node and destination link.default LinkEdge
createCofactorEdge(Link src, AbstractBioNode dst)
LinkEdge
createCofactorEdge(Link src, AbstractBioNode dst, double coefficient)
Creates a new link edge with flux edge appearance between a source link and destination node.Compartment
createCompartment(String name)
Create a new compartment item.
After creating a new compartment, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.Compartment
createCompartment(String namePlainText, String nameRichText)
Create a new compartment item.
After creating a new compartment, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.Compartment
createCompartment(String namePlainText, String nameRichText, Compartment outside)
Create a new compartment item inside another compartment.
After creating a new compartment, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.Compartment
createCompartment(String name, Compartment outside)
Create a new compartment item inside another compartment.
After creating a new compartment, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.Diagram
createDiagram()
Creates a new diagram with generic identifier.Diagram
createDiagram(String identifier)
Creates a new diagram.LinkEdge
createEffectorEdge(Link src, Reaction dst, double effect)
Creates a new link edge with effector edge appearance between a source link and destination node.LinkEdge
createEffectorEdge(Metabolite src, Link dst, double effect)
Creates a new link edge with effector edge appearance between a source node and destination link.EffectorEdge
createEffectorEdge(Metabolite src, Reaction dst, double effect)
Creates a new effector edge between a source and destination node with the given effect.default FluxEdge
createFluxEdge(AbstractBioNode src, AbstractBioNode dst)
FluxEdge
createFluxEdge(AbstractBioNode src, AbstractBioNode dst, double coefficient)
Creates a new flux edge between a source and destination node.default LinkEdge
createFluxEdge(AbstractBioNode src, Link dst)
LinkEdge
createFluxEdge(AbstractBioNode src, Link dst, double coefficient)
Creates a new link edge with flux edge appearance between a source node and destination link.default LinkEdge
createFluxEdge(Link src, AbstractBioNode dst)
LinkEdge
createFluxEdge(Link src, AbstractBioNode dst, double coefficient)
Creates a new link edge with flux edge appearance between a source link and destination node.GraphicsEdge
createGraphicsEdge(AbstractNode src, AbstractNode dst)
Creates a new graphics edge between a source and destination node.LinkEdge
createGraphicsEdge(AbstractNode src, Link dst)
Creates a new link edge between a source node and destination link.LinkEdge
createGraphicsEdge(Link src, AbstractNode dst)
Creates a new link edge between a source link and destination node.GraphicsNode
createGraphicsNode()
Create a new graphics node item with a generated random identifier.
After creating a new node, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.GraphicsNode
createGraphicsNode(String text)
Create a new graphics node item.
After creating a new node, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.default Link
createLink(File file)
Link
createLink(File file, String description)
Create a new link to given model file.
After creating a new link, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.Link
createLink(String description)
Create a new link.
After creating a new link, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.default Link
createLink(Diagram diagram)
Link
createLink(Diagram diagram, String description)
Create a new link to given model file.
After creating a new link, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.Link
createLink(Pathway pathway)
Create a new link to given pathway.
After creating a new link, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.Metabolite
createMetabolite(String name)
Creates a new metabolite with the given unique name and returns a visible instance of the metabolite (Metabolite
).Metabolite
createMetabolite(String namePlainText, String nameRichText)
Creates a new metabolite with the given unique name and returns a visible instance of the metabolite (Metabolite
).Metabolite
createMetabolite(String namePlainText, String nameRichText, Compartment compartment)
Creates a new metabolite with the given unique name lying in the given compartment.Metabolite
createMetabolite(String name, Compartment compartment)
Creates a new metabolite with the given unique name lying in the given compartment.MetaboliteType
createMetaboliteType(String name)
Creates a new metabolite type.
After creating a new instance, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.
When the metabolite type is added to the model, aMetabolite
is created for each compartment in the model representing the metabolite pools.MetaboliteType
createMetaboliteType(String name, String nameFormat)
Creates a new metabolite type.
After creating a new instance, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.
When the metabolite type is added to the model, aMetabolite
is created for each compartment in the model representing the metabolite pools.MotifStamp
createMotifStamp(String name)
Pathway
createPathway(String name)
Create a new pathway item.Pathway
createPathway(String namePlainText, String nameRichText)
Create a new pathway item.Reaction
createReaction(String name)
Create a new reaction item.Reaction
createReaction(String name, String nameFormat)
Create a new reaction item.Reaction
createReaction(String namePlainText, String nameRichText, Pathway pathway)
Create a new reaction item belonging to the given pathway.
After creating a new reaction, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.Reaction
createReaction(String name, Pathway pathway)
Create a new reaction item belonging to the given pathway.
After creating a new reaction, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.Separator
createSeparator()
default SplinePoint
createSplinePoint(double x, double y)
Create a spline point.SplinePoint
createSplinePoint(double x, double y, Smoothness smoothness)
Create a spline point with the given smoothness.void
deactivatePlugin(String string)
void
detach(OVLEnvironment environment)
Detaches this writable model from the OVL environment.List<? extends Diagram>
diagrams()
List<? extends EffectorEdge>
effectorEdges()
Returns an unchangeableList
of all effector edges.List<? extends FluxEdge>
fluxEdges()
Returns an unchangeableList
of all flux edges.List<? extends Accessory>
getAccessories()
Returns all accessories of the submitted network object defined in the document embedded OVL script.List<? extends Accessory>
getAccessories(String namespace)
Returns all accessories of the submitted network object defined in the namespace.Accessory
getAccessory(String accessoryName)
Returns the accessory of the submitted network object defined in the document embedded OVL script.default <T extends Accessory>
TgetAccessory(String accessoryName, Class<T> accessoryItemClass)
Accessory
getAccessory(String namespace, String accessoryName)
Returns the accessory of the submitted network object defined in the namespace.default <T extends Accessory>
TgetAccessory(String namespace, String accessoryName, Class<T> accessoryItemClass)
List<String>
getActivePlugins()
Returns a list of all acive plugins.List<? extends Accessory>
getAllAccessories()
Returns all accessories of the submitted network object defined in the document embedded OVL script and all namespaces.Diagram
getCurrentDiagram()
DataSourceManager
getDataSourceManager()
Returns the DataSourceManager of the model.Diagram
getDiagram(String identifier)
String
getDocumentSetting(String key)
Get a setting by key.
A plugin program can read and write settings in order to realize an own document based settings management.String
getDocumentSetting(String key, String defaultValue)
Get a setting by key.
A plugin program can read and write settings in order to realize an own document based settings management.Set<Map.Entry<String,String>>
getDocumentSettings()
Returns a set of all available settings of the document.
A plugin program can read and write settings in order to realize an own document based settings management.Field
getField(String fieldName)
Returns the field of the submitted network object defined in the document embedded OVL script.Field
getField(String namespace, String fieldName)
Returns the field of the submitted network object defined in the give namespace.GraphicsBox
getGraphicsBox(String identifier)
Returns the graphics item with the given identifier if available, otherwise null.GraphicsNode
getGraphicsNode(String identifier)
Returns the graphics node by identifier if available, otherwise null.String
getIdentifier()
Returns the name of the modelLink
getLink(String identifier)
Returns the link by identifier if available, otherwise null.Metabolite
getMetabolite(String name)
Returns the (compartment free) metabolite node of the given name if available, otherwise null.MetaboliteType
getMetaboliteType(String name)
Get a metabolite type by name.Method
getMethod(String methodName, Class<?>... params)
Returns the method of the submitted network object defined in the document embedded OVL script.Method
getMethod(String namespace, String methodName, Class<?>... params)
Returns the method of the submitted network object defined in the given namespace.
Example code:
OVL:
extend Model{
void myMethod(String strg, int i){...}
}
can be called by:getMethod("myMethod", String.class, int.class)
orgetMethod("myMethod(java.lang.String,int)")
default Method
getMethod(OVLMethodDefinition methodDefinition)
Returns the method of the submitted network object defined in the document embedded OVL script.MotifStamp
getMotifStamp(String name)
List<String>
getNamespaces()
Returns a list of all available namespaces.Pathway
getPathway(String name)
Returns the pathway of the given name if available, otherwise null.Set<? extends PublicIdentifier>
getPublicIdentifiers()
Returns the components public identifiersReaction
getReaction(String name)
Returns the reaction nodes of the given name if available, otherwise null.Compartment
getTopLevelCompartment(String name)
Returns a toplevel compartment of the given name if available, otherwise null.List<? extends GraphicsBox>
graphicsBoxes()
Returns an unchangeableList
of all graphical boxes.boolean
graphicsBoxExists(String identifier)
Determines if graphics box of certain name exists.List<? extends GraphicsEdge>
graphicsEdges()
Returns an unchangeableList
of all graphics edges (connection edges).boolean
graphicsNodeExists(String identifier)
Determines if graphics node item of certain name exists.List<? extends GraphicsNode>
graphicsNodes()
Returns an unchangeableList
of all graphics nodes.boolean
graphicsPathExists(String identifier)
Determines if graphics path (free-form curve) of certain name exists.List<? extends GraphicsPath>
graphicsPaths()
Returns an unchangeableList
of all graphical paths.boolean
isChangeable()
Checks if the given element can be changed.boolean
isPluginActive(String id)
Asks if a plugin is active on the network model.boolean
isPluginAvailable(String plugin)
Determines if plugin is available in the current Omix session.List<? extends LinkEdge>
linkEdges()
Returns an unchangeableList
of all link edges.List<? extends Link>
links()
Returns an unchangeableList
of all links.List<? extends Metabolite>
metabolites()
Returns an unchangeableList
of all metabolite nodes.boolean
metaboliteTypeExists(String name)
Determines if metabolite type of certain name exists.List<? extends MetaboliteType>
metaboliteTypes()
All metabolite types being part of the model.List<? extends MotifStamp>
motifStamps()
boolean
pathwayExists(String name)
Determines if pathway of certain name exists.List<? extends Pathway>
pathways()
Returns an unchangeableList
of all pathway items.void
performAction(UndoableAction change)
boolean
reactionExists(String name)
Determines if reaction of certain name exists.List<? extends Reaction>
reactions()
Returns an unchangeableList
of all reaction nodes.void
removeChangeListener(ModelChangeListener listener)
Removes the listener which is therefore no longer triggered.void
removeComponent(AbstractModelComponent item)
void
removeDiagram(Diagram diagram)
void
removeMotifStamp(MotifStamp motifStamp)
void
removePublicIdentifier(PublicIdentifier publicIdentifier)
Removes the public identifier from the model.void
setCapabilities(ModelCapabilities capabilities)
default void
setCapabilities(ModelCapability... capabilities)
void
setCurrentDiagram(Diagram diagram)
void
setDocumentSetting(String key, String value)
Set a setting of the model document.
For instance: last used levels of detail, last used editing tool etc.void
setName(String name)
Changes name of the model.void
setPublicIdentifiers(Collection<? extends PublicIdentifier> publicIdentifiers)
Set the public identifiers of the model.StyleSheet
styleSheet()
Model
toReadOnly()
Returns the read-only interface of this model.Diagram
toWritable(Diagram type)
default AbstractBioNode
toWritable(AbstractBioNode type)
default AbstractEdge
toWritable(AbstractEdge type)
default AbstractModelComponent
toWritable(AbstractModelComponent type)
default AbstractNode
toWritable(AbstractNode type)
default AbstractVisibleComponent
toWritable(AbstractVisibleComponent type)
default Accessory
toWritable(Accessory type)
default AbstractSideBox
toWritable(AbstractSideBox type)
AnnotationArray<?>
toWritable(AnnotationArray<?> type)
ChartSideBox
toWritable(ChartSideBox type)
default DataAnnotation
toWritable(DataAnnotation type)
DoubleField
toWritable(DoubleField type)
ImageField
toWritable(ImageField type)
IntegerField
toWritable(IntegerField type)
ItemGroup
toWritable(ItemGroup type)
SideBox
toWritable(SideBox type)
default SimpleValueField
toWritable(SimpleValueField type)
TextField
toWritable(TextField type)
default Array<?>
toWritable(Array<?> type)
CheckButton
toWritable(CheckButton type)
DoublePlayer
toWritable(DoublePlayer type)
DoubleSlider
toWritable(DoubleSlider type)
DoubleSpinBox
toWritable(DoubleSpinBox type)
default DoubleTrigger
toWritable(DoubleTrigger type)
default IntegerTrigger
toWritable(IntegerTrigger type)
Player
toWritable(Player type)
PushButton
toWritable(PushButton type)
Slider
toWritable(Slider type)
SpinBox
toWritable(SpinBox type)
default Trigger
toWritable(Trigger type)
TriggerArray<?>
toWritable(TriggerArray<?> type)
Compartment
toWritable(Compartment compartment)
EffectorEdge
toWritable(EffectorEdge edge)
FluxEdge
toWritable(FluxEdge edge)
GraphicsBox
toWritable(GraphicsBox item)
GraphicsEdge
toWritable(GraphicsEdge edge)
GraphicsNode
toWritable(GraphicsNode node)
Link
toWritable(Link node)
LinkEdge
toWritable(LinkEdge edge)
Metabolite
toWritable(Metabolite metabolite)
MetaboliteType
toWritable(MetaboliteType type)
default Model
toWritable(Model model)
OVLObject
toWritable(OVLObject ovlObject)
Pathway
toWritable(Pathway pathway)
Reaction
toWritable(Reaction reaction)
default WritableInterface
toWritable(ReadOnlyInterface type)
Methods inherited from interface omix.plugin.model.Model
accessoryExists, addChangeListener, addContextMenuEntryProvider, addPropertyChangeListener, createOVLObject, customPropertyNames, customShapes, diagramExists, diagramIdentifiers, fieldExists, getCustomProperty, getCustomShape, getGraphicsPath, getOVLProgram, getOVLProgram, isNamespaceAvailable, linkExists, motifStampExists, removeChangeListener, removeContextMenuEntryProvider, removePropertyChangeListener, setCustomProperty, setTmpCustomProperty
-
Method Details
-
createMetaboliteType
Creates a new metabolite type.
After creating a new instance, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.
When the metabolite type is added to the model, aMetabolite
is created for each compartment in the model representing the metabolite pools. Additionally, oneomix.plugin.network.Metabolite
is created as compartmentless metabolite pool. TheMetabolite
pools can be requested byModelMetaboliteType#getMetabolite(omix.plugin.network.Compartment)
.- Parameters:
name
- a unique name (identifier) of the metabolite type in the model- Returns:
- the new metabolite
-
createMetaboliteType
Creates a new metabolite type.
After creating a new instance, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.
When the metabolite type is added to the model, aMetabolite
is created for each compartment in the model representing the metabolite pools. Additionally, oneomix.plugin.network.Metabolite
is created as compartmentless metabolite pool. TheMetabolite
pools can be requested byModelMetaboliteType#getMetabolite(omix.plugin.network.Compartment)
.- Parameters:
name
- a unique name (identifier) of the metabolite type in the modelnameFormat
- html coded format for the graphical representation of the metabolite's name.- Returns:
- the new metabolite
- Since:
- Omix 1.8.1
-
createMotifStamp
-
addCustomShape
CustomShape addCustomShape(String name, List<? extends AbstractCurvePoint> points) throws ComponentExistsException, IllegalComponentException, IllegalChangeExceptionCreates a new custom shape available for nodes or edge markers.- Parameters:
name
- a recognizable name of the shapepoints
- the curve points of the shape- Returns:
- CustomShape
- Throws:
IllegalComponentException
- if points is empty or one of the point has not been created withCurveFactory
.IllegalChangeException
ComponentExistsException
-
isPluginAvailable
Determines if plugin is available in the current Omix session.- Parameters:
plugin
-- Returns:
- available
-
activatePlugin
Activates the given plugin on the network model document. When the plugin contains OVL definitions, these accordingly become active on the model, its components and all later inserted components.- Parameters:
plugin
- the identifier of the plugin.- Throws:
IllegalArgumentException
IllegalAccessException
-
deactivatePlugin
-
setDocumentSetting
Set a setting of the model document.
For instance: last used levels of detail, last used editing tool etc. A plugin program can read and write settings in order to realize an own document based settings management.- Parameters:
key
- of the settingvalue
- new value
-
toReadOnly
Model toReadOnly()Returns the read-only interface of this model. If you want to use the model outside of the writing process you need to call this method because theModel
instance is invalidated thereafter.- Specified by:
toReadOnly
in interfaceWritableInterface
- Returns:
- read-only model
-
getDataSourceManager
DataSourceManager getDataSourceManager()Returns the DataSourceManager of the model.- Specified by:
getDataSourceManager
in interfaceModel
- Returns:
- DataSourceManager
-
createReaction
Create a new reaction item.- Parameters:
name
- unique name (identifier) for the reaction in the diagram.- Returns:
- reaction
-
createReaction
Create a new reaction item belonging to the given pathway.
After creating a new reaction, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
name
- unique name (identifier) for the reaction in the diagram.pathway
- (may be null)- Returns:
- reaction
- Throws:
IllegalComponentException
- is thrown when the submitted 'pathway' object has not been created by using theModel
but, for instance, is a plugin internal implementation ofPathway
.
-
createReaction
Create a new reaction item.- Parameters:
name
- unique name (identifier) for the reaction in the diagram.nameFormat
- html coded format for the graphical representation of the reaction's name.- Returns:
- reaction
- Since:
- Omix 1.8.1
-
createReaction
Reaction createReaction(String namePlainText, String nameRichText, Pathway pathway) throws IllegalComponentExceptionCreate a new reaction item belonging to the given pathway.
After creating a new reaction, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
namePlainText
- unique name (identifier) for the reaction in the diagram.nameRichText
- html coded format for the graphical representation of the reaction's name.pathway
- (may be null)- Returns:
- reaction
- Throws:
IllegalComponentException
- is thrown when the submitted 'pathway' object has not been created by using theModel
but, for instance, is a plugin internal implementation ofPathway
.- Since:
- Omix 1.8.1
-
createPathway
Create a new pathway item.
After creating a new pathway, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
name
- unique name (identifier) for the pathway in the diagram.- Returns:
- pathway
-
createPathway
Create a new pathway item.
After creating a new pathway, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
namePlainText
- unique name (identifier) for the pathway in the diagram.nameRichText
- html coded format for the graphical representation of the pathway's name.- Returns:
- pathway
- Since:
- Omix 1.8.1
-
createMetabolite
Creates a new metabolite with the given unique name and returns a visible instance of the metabolite (Metabolite
). Internally, a newMetabolite
object is the visible item of aMetabolite
object.
After creating a new metabolite instance, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
name
- unique name of the new metabolite- Returns:
- the visible instance of the new metabolite
- See Also:
createMetabolite(String, Compartment)
-
createMetabolite
Creates a new metabolite with the given unique name and returns a visible instance of the metabolite (Metabolite
). Internally, a newMetabolite
object is the visible item of aMetabolite
object.
After creating a new metabolite instance, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
namePlainText
- unique name of the new metabolitenameRichText
- html coded format for the graphical representation of the metabolite's name.- Returns:
- the visible instance of the new metabolite
- Since:
- Omix 1.8.1
- See Also:
createMetabolite(String, Compartment)
-
createMetabolite
Creates a new metabolite with the given unique name lying in the given compartment. The method returns a visible instance of the metabolite (Metabolite
).
After creating a new metabolite instance, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.
TheMetabolite
is the metabolite pool in the metabolic network diagram which is abstracted on the model layer by theMetabolite
object. TheMetabolite
represents the metabolite pool in a certain compartment (or in uncompartmented space). SeveralMetabolite
can be of the sameModelMetaboliteType
. When the returnedMetabolite
is added to the diagram, the accordingModelMetaboliteType
is consequently added to theModel
.- Parameters:
name
- unique name of the new metabolitecompartment
- the compartment, the metabolite lyies in (may be null).- Returns:
- the visible instance of the new metabolite
- Throws:
IllegalComponentException
- when the submitted 'compartment' object has not been created by using theModel
but, for instance, is a plugin internal implementation ofCompartment
.
-
createMetabolite
Metabolite createMetabolite(String namePlainText, String nameRichText, Compartment compartment) throws IllegalComponentExceptionCreates a new metabolite with the given unique name lying in the given compartment. The method returns a visible instance of the metabolite (Metabolite
).
After creating a new metabolite instance, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.
TheMetabolite
is the metabolite pool in the metabolic network diagram which is abstracted on the model layer by theMetabolite
object. TheMetabolite
represents the metabolite pool in a certain compartment (or in uncompartmented space). SeveralMetabolite
can be of the sameModelMetaboliteType
. When the returnedMetabolite
is added to the diagram, the accordingModelMetaboliteType
is consequently added to theModel
.- Parameters:
namePlainText
- unique name of the new metabolitenameRichText
- html coded format for the graphical representation of the metabolite's name.compartment
- the compartment, the metabolite lyies in (may be null).- Returns:
- the visible instance of the new metabolite
- Throws:
IllegalComponentException
- when the submitted 'compartment' object has not been created by using theModel
but, for instance, is a plugin internal implementation ofCompartment
.- Since:
- Omix 1.8.1
-
createCompartment
Create a new compartment item.
After creating a new compartment, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
name
- unique name (identifier) for the compartment in the diagram.- Returns:
- compartment
- See Also:
createCompartment(String)
,createCompartment(String, Compartment)
-
createCompartment
Create a new compartment item.
After creating a new compartment, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
namePlainText
- unique name (identifier) for the compartment in the diagram.nameRichText
- html coded format for the graphical representation of the compartment's name.- Returns:
- compartment
- Since:
- Omix 1.8.1
- See Also:
createCompartment(String)
,createCompartment(String, Compartment)
-
createCompartment
Create a new compartment item inside another compartment.
After creating a new compartment, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
name
- unique name (identifier) for the compartment in the diagram.outside
-- Returns:
- compartment
- Throws:
IllegalComponentException
- when the submitted 'compartment' object has not been created by using theModel
but, for instance, is a plugin internal implementation ofCompartment
.- See Also:
createCompartment(String)
,createCompartment(String, Compartment)
-
createCompartment
Compartment createCompartment(String namePlainText, String nameRichText, Compartment outside) throws IllegalComponentExceptionCreate a new compartment item inside another compartment.
After creating a new compartment, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
namePlainText
- unique name (identifier) for the compartment in the diagram.nameRichText
- html coded format for the graphical representation of the compartment's name.outside
-- Returns:
- compartment
- Throws:
IllegalComponentException
- when the submitted 'compartment' object has not been created by using theModel
but, for instance, is a plugin internal implementation ofCompartment
.- Since:
- Omix 1.8.1
- See Also:
createCompartment(String)
,createCompartment(String, Compartment)
-
createFluxEdge
FluxEdge createFluxEdge(AbstractBioNode src, AbstractBioNode dst, double coefficient) throws IllegalComponentExceptionCreates a new flux edge between a source and destination node.- Parameters:
src
- source nodedst
- destination nodecoefficient
- stoichiometric coefficient- Returns:
- a flux edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using theDiagram
but, for instance, is a plugin internal implementation.
-
createFluxEdge
default FluxEdge createFluxEdge(AbstractBioNode src, AbstractBioNode dst) throws IllegalComponentException- Throws:
IllegalComponentException
-
createCofactorEdge
FluxEdge createCofactorEdge(AbstractBioNode src, AbstractBioNode dst, double coefficient) throws IllegalComponentExceptionCreates a new cofactor edge between a source and destination node.- Parameters:
src
- source nodedst
- destination nodecoefficient
- stoichiometric coefficient- Returns:
- a flux edge with isCofactor = true
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using theDiagram
but, for instance, is a plugin internal implementation.
-
createCofactorEdge
default FluxEdge createCofactorEdge(AbstractBioNode src, AbstractBioNode dst) throws IllegalComponentException- Throws:
IllegalComponentException
-
createEffectorEdge
EffectorEdge createEffectorEdge(Metabolite src, Reaction dst, double effect) throws IllegalComponentExceptionCreates a new effector edge between a source and destination node with the given effect.- Parameters:
src
- source nodedst
- destination nodeeffect
- -1.0 = inhibition, 1.0 = activation, 0.0 = unknown effect- Returns:
- effector edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using theModel
but, for instance, is a plugin internal implementation.
-
createGraphicsNode
Create a new graphics node item.
After creating a new node, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
text
- displayed text. the text is used as unique identifier for the graphics node in the diagram if possible.- Returns:
- graphics node
- Since:
- Omix 2.0
-
createGraphicsNode
GraphicsNode createGraphicsNode()Create a new graphics node item with a generated random identifier.
After creating a new node, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Returns:
- graphics node
- Since:
- Omix 2.0
-
createLink
Create a new link.
After creating a new link, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Parameters:
text
- displayed text. the text is used as unique identifier for the link in the diagram if possible.- Returns:
- link
- Since:
- Omix 2.0
-
createLink
Create a new link to given pathway.
After creating a new link, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Returns:
- link
- Throws:
IllegalComponentException
- Since:
- Omix 2.0
-
createLink
Create a new link to given model file.
After creating a new link, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Returns:
- link
- Since:
- Omix 2.0
-
createLink
-
createLink
Create a new link to given model file.
After creating a new link, it must be explicitly added to the model byaddComponent(AbstractModelComponent)
.- Returns:
- link
- Throws:
IllegalComponentException
- Since:
- Omix 2.0
-
createLink
- Throws:
IllegalComponentException
-
createGraphicsEdge
GraphicsEdge createGraphicsEdge(AbstractNode src, AbstractNode dst) throws IllegalComponentExceptionCreates a new graphics edge between a source and destination node.- Parameters:
src
- source nodedst
- destination node- Returns:
- graphics edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using thisModel
.- Since:
- Omix 2.0
-
createFluxEdge
LinkEdge createFluxEdge(Link src, AbstractBioNode dst, double coefficient) throws IllegalComponentExceptionCreates a new link edge with flux edge appearance between a source link and destination node.- Parameters:
src
- source linkdst
- destination node- Returns:
- link edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using thisModel
.- Since:
- Omix 2.0
-
createFluxEdge
- Throws:
IllegalComponentException
-
createFluxEdge
LinkEdge createFluxEdge(AbstractBioNode src, Link dst, double coefficient) throws IllegalComponentExceptionCreates a new link edge with flux edge appearance between a source node and destination link.- Parameters:
src
- source nodedst
- destination link- Returns:
- link edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using thisModel
.- Since:
- Omix 2.0
-
createFluxEdge
- Throws:
IllegalComponentException
-
createCofactorEdge
LinkEdge createCofactorEdge(Link src, AbstractBioNode dst, double coefficient) throws IllegalComponentExceptionCreates a new link edge with flux edge appearance between a source link and destination node.- Parameters:
src
- source linkdst
- destination node- Returns:
- link edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using thisModel
.- Since:
- Omix 2.0
-
createCofactorEdge
default LinkEdge createCofactorEdge(Link src, AbstractBioNode dst) throws IllegalComponentException- Throws:
IllegalComponentException
-
createCofactorEdge
LinkEdge createCofactorEdge(AbstractBioNode src, Link dst, double coefficient) throws IllegalComponentExceptionCreates a new link edge with flux edge appearance between a source node and destination link.- Parameters:
src
- source nodedst
- destination link- Returns:
- link edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using thisModel
.- Since:
- Omix 2.0
-
createCofactorEdge
default LinkEdge createCofactorEdge(AbstractBioNode src, Link dst) throws IllegalComponentException- Throws:
IllegalComponentException
-
createEffectorEdge
LinkEdge createEffectorEdge(Link src, Reaction dst, double effect) throws IllegalComponentExceptionCreates a new link edge with effector edge appearance between a source link and destination node.- Parameters:
src
- source linkdst
- destination node- Returns:
- link edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using thisModel
.- Since:
- Omix 2.0
-
createEffectorEdge
LinkEdge createEffectorEdge(Metabolite src, Link dst, double effect) throws IllegalComponentExceptionCreates a new link edge with effector edge appearance between a source node and destination link.- Parameters:
src
- source nodedst
- destination link- Returns:
- link edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using thisModel
.- Since:
- Omix 2.0
-
createGraphicsEdge
Creates a new link edge between a source link and destination node.- Parameters:
src
- source linkdst
- destination node- Returns:
- link edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using thisModel
.- Since:
- Omix 2.0
-
createGraphicsEdge
Creates a new link edge between a source node and destination link.- Parameters:
src
- source nodedst
- destination link- Returns:
- link edge
- Throws:
IllegalComponentException
- when 'src' or 'dst' has not been created by using thisModel
.- Since:
- Omix 2.0
-
createDiagram
Creates a new diagram.- Parameters:
identifier
-- Returns:
- new diagram
- Throws:
ComponentExistsException
- when identifier is already in use- Since:
- Omix 2.0
-
createDiagram
Diagram createDiagram()Creates a new diagram with generic identifier.- Returns:
- new diagram
- Since:
- Omix 2.0
-
diagrams
-
getDiagram
- Specified by:
getDiagram
in interfaceModel
-
getCurrentDiagram
Diagram getCurrentDiagram()- Specified by:
getCurrentDiagram
in interfaceModel
-
setCurrentDiagram
- Throws:
IllegalComponentException
-
addComponent
void addComponent(AbstractModelComponent item) throws ComponentExistsException, IllegalComponentException, IllegalStateExceptionCreated diagram items have to be inserted into the metabolic network before taking any effect.
OVL definitions do not become part of a diagram component until the item is added to the diagram.
After adding aMetabolite
orMetabolite
to the diagram, aModelMetaboliteType
is simultaneously added to theModel
.- Parameters:
item
- the new component- Throws:
ComponentExistsException
- when another item of the same type with the same name already exists or the component has already been added.IllegalComponentException
- when the added item has not been created by using theModel
but, for instance, is a plugin internal implementation.IllegalStateException
-
addMotifStamp
void addMotifStamp(MotifStamp motifStamp) throws ComponentExistsException, IllegalComponentException, IllegalStateException -
addDiagram
void addDiagram(Diagram diagram) throws ComponentExistsException, IllegalComponentException, IllegalStateException -
removeComponent
void removeComponent(AbstractModelComponent item) throws ComponentExistsException, IllegalComponentException, IllegalStateException -
removeMotifStamp
void removeMotifStamp(MotifStamp motifStamp) throws ComponentExistsException, IllegalComponentException, IllegalStateException -
removeDiagram
void removeDiagram(Diagram diagram) throws ComponentExistsException, IllegalComponentException, IllegalStateException -
metaboliteTypes
List<? extends MetaboliteType> metaboliteTypes()All metabolite types being part of the model.- Specified by:
metaboliteTypes
in interfaceModel
- Returns:
- unmodifiable list of etabolite types
-
getMetaboliteType
Get a metabolite type by name.- Specified by:
getMetaboliteType
in interfaceModel
- Parameters:
name
-- Returns:
- the metabolite type if exists or
null
-
metaboliteTypeExists
Determines if metabolite type of certain name exists.- Specified by:
metaboliteTypeExists
in interfaceModel
- Parameters:
name
-- Returns:
- metabolite type exists?
-
getIdentifier
String getIdentifier()Returns the name of the model- Specified by:
getIdentifier
in interfaceModel
- See Also:
omix.plugin.network.AbstractItem#getIdentifier()
-
getDocumentSettings
Returns a set of all available settings of the document.
A plugin program can read and write settings in order to realize an own document based settings management.- Specified by:
getDocumentSettings
in interfaceModel
- Returns:
- unmodifiable set of settings
-
getDocumentSetting
Get a setting by key.
A plugin program can read and write settings in order to realize an own document based settings management.- Specified by:
getDocumentSetting
in interfaceModel
- Parameters:
key
-- Returns:
- value of the setting if exists.
null
otherwise.
-
getDocumentSetting
Get a setting by key.
A plugin program can read and write settings in order to realize an own document based settings management.- Specified by:
getDocumentSetting
in interfaceModel
- Parameters:
key
-defaultValue
-- Returns:
- value of the setting if exists.
defaultValue
otherwise.
-
getActivePlugins
Returns a list of all acive plugins.- Specified by:
getActivePlugins
in interfaceModel
- Returns:
- active plugins
-
isPluginActive
Asks if a plugin is active on the network model.- Specified by:
isPluginActive
in interfaceModel
- Parameters:
id
- plugin ID- Returns:
- plugin active
-
getPublicIdentifiers
Set<? extends PublicIdentifier> getPublicIdentifiers()Returns the components public identifiers- Specified by:
getPublicIdentifiers
in interfaceModel
- Returns:
- set of public identifiers
- Since:
- Omix 1.9.0
-
reactions
Returns an unchangeableList
of all reaction nodes. -
metabolites
List<? extends Metabolite> metabolites()Returns an unchangeableList
of all metabolite nodes.- Specified by:
metabolites
in interfaceModel
- Returns:
- list of metabolites
-
pathways
Returns an unchangeableList
of all pathway items. -
allCompartments
List<? extends Compartment> allCompartments()Returns an unchangeableList
of all compartment items.- Specified by:
allCompartments
in interfaceModel
- Returns:
- list of compartments
-
graphicsEdges
List<? extends GraphicsEdge> graphicsEdges()Returns an unchangeableList
of all graphics edges (connection edges).- Specified by:
graphicsEdges
in interfaceModel
- Returns:
- list of graphics edges
- Since:
- Omix 1.8.0
-
linkEdges
Returns an unchangeableList
of all link edges. -
graphicsNodes
List<? extends GraphicsNode> graphicsNodes()Returns an unchangeableList
of all graphics nodes.- Specified by:
graphicsNodes
in interfaceModel
- Returns:
- list of graphics nodes
- Since:
- Omix 1.8.0
-
links
Returns an unchangeableList
of all links. -
effectorEdges
List<? extends EffectorEdge> effectorEdges()Returns an unchangeableList
of all effector edges.- Specified by:
effectorEdges
in interfaceModel
- Returns:
- list of effector edges
-
fluxEdges
Returns an unchangeableList
of all flux edges. -
graphicsBoxes
List<? extends GraphicsBox> graphicsBoxes()Returns an unchangeableList
of all graphical boxes.- Specified by:
graphicsBoxes
in interfaceModel
- Returns:
- list of graphical boxes
- Since:
- Omix 2.0.0
-
graphicsPaths
List<? extends GraphicsPath> graphicsPaths()Returns an unchangeableList
of all graphical paths.- Specified by:
graphicsPaths
in interfaceModel
- Returns:
- list of graphical paths
- Since:
- Omix 2.0.0
-
getReaction
Returns the reaction nodes of the given name if available, otherwise null.- Specified by:
getReaction
in interfaceModel
- Parameters:
name
- of the reaction- Returns:
- found reaction
-
getMetabolite
Returns the (compartment free) metabolite node of the given name if available, otherwise null. In order to get access to metabolites contained in a compartment callCompartment.getMetabolite(String)
.- Specified by:
getMetabolite
in interfaceModel
- Parameters:
name
- of metabolite- Returns:
- found metabolite
-
getPathway
Returns the pathway of the given name if available, otherwise null.- Specified by:
getPathway
in interfaceModel
- Parameters:
name
- of the pathway- Returns:
- found pathway
-
getTopLevelCompartment
Returns a toplevel compartment of the given name if available, otherwise null. In order to get access to a sub compartment callCompartment.getSubCompartment(String)
.- Specified by:
getTopLevelCompartment
in interfaceModel
- Parameters:
name
- of the compartment- Returns:
- found compartment
-
getGraphicsNode
Returns the graphics node by identifier if available, otherwise null.- Specified by:
getGraphicsNode
in interfaceModel
- Parameters:
identifier
- of the GraphicsNode- Returns:
- found GraphicsNode
- Since:
- Omix 1.8.0
-
getLink
Returns the link by identifier if available, otherwise null. -
getGraphicsBox
Returns the graphics item with the given identifier if available, otherwise null.- Specified by:
getGraphicsBox
in interfaceModel
- Parameters:
identifier
- of the graphics item- Returns:
- found graphics item
-
reactionExists
Determines if reaction of certain name exists.- Specified by:
reactionExists
in interfaceModel
- Parameters:
name
-- Returns:
- reaction exist?
-
pathwayExists
Determines if pathway of certain name exists.- Specified by:
pathwayExists
in interfaceModel
- Parameters:
name
-- Returns:
- pathway exist?
-
compartmentExists
Determines if compartment of certain name exists.- Specified by:
compartmentExists
in interfaceModel
- Parameters:
name
-- Returns:
- compartment exist?
-
graphicsNodeExists
Determines if graphics node item of certain name exists.- Specified by:
graphicsNodeExists
in interfaceModel
- Parameters:
identifier
-- Returns:
- custom node exist?
- Since:
- Omix 1.8.0
-
graphicsBoxExists
Determines if graphics box of certain name exists.- Specified by:
graphicsBoxExists
in interfaceModel
- Parameters:
identifier
-- Returns:
- graphics box exist?
- Since:
- Omix 2.0.0
-
graphicsPathExists
Determines if graphics path (free-form curve) of certain name exists.- Specified by:
graphicsPathExists
in interfaceModel
- Parameters:
identifier
-- Returns:
- graphics path exist?
- Since:
- Omix 2.0.0
-
addChangeListener
Adds aNetworkChangeListener
which is triggered when the composition of the network changes.- Specified by:
addChangeListener
in interfaceModel
- Parameters:
listener
- to be added
-
removeChangeListener
Removes the listener which is therefore no longer triggered.- Specified by:
removeChangeListener
in interfaceModel
- Parameters:
listener
- to be removed
-
addPublicIdentifier
Adds a public identifier to the model.- Parameters:
publicIdentifier
-- Throws:
IllegalChangeException
-
setPublicIdentifiers
void setPublicIdentifiers(Collection<? extends PublicIdentifier> publicIdentifiers) throws IllegalChangeExceptionSet the public identifiers of the model.- Parameters:
publicIdentifiers
-- Throws:
IllegalChangeException
-
removePublicIdentifier
Removes the public identifier from the model.- Parameters:
publicIdentifier
-- Throws:
IllegalChangeException
-
setName
Changes name of the model.- Parameters:
name
- the new name- Throws:
IllegalChangeException
-
isChangeable
boolean isChangeable()Checks if the given element can be changed.- Returns:
- is changeable
-
motifStamps
List<? extends MotifStamp> motifStamps()- Specified by:
motifStamps
in interfaceModel
-
getMotifStamp
- Specified by:
getMotifStamp
in interfaceModel
-
createSeparator
Separator createSeparator() -
createBezierPoint
Create a bezier controlpoint.- Parameters:
x
-y
-- Returns:
- bezier controlpoint.
-
createSplinePoint
Create a spline point.- Parameters:
x
-y
-- Returns:
- spline point
-
createSplinePoint
Create a spline point with the given smoothness.- Parameters:
x
-y
-smoothness
-- Returns:
- spline point
-
createArc
Create an arc with the given center, radius, start angle and length.- Parameters:
x
-y
-radius
- (must not be 0)startAngle
- in degreeslength
- in degrees (must not be 0)- Returns:
- arc
-
createArc
Arc createArc(double x, double y, double radiusX, double radiusY, double startAngle, double length)Create an arc with the given center, radiusX, radiusY, start angle and length.- Parameters:
x
-y
-radiusX
- (must not be 0)radiusY
- (must not be 0)startAngle
- in degreeslength
- in degrees (must not be 0)- Returns:
- arc
-
getAccessories
Returns all accessories of the submitted network object defined in the document embedded OVL script.- Specified by:
getAccessories
in interfaceModel
- Returns:
- unmodifiable list of accessories
-
getAccessories
Returns all accessories of the submitted network object defined in the namespace.- Specified by:
getAccessories
in interfaceModel
- Parameters:
namespace
-- Returns:
- unmodifiable list of accessories
-
getAllAccessories
Returns all accessories of the submitted network object defined in the document embedded OVL script and all namespaces.- Specified by:
getAllAccessories
in interfaceModel
- Returns:
- unmodifiable list of accessories
-
getAccessory
Accessory getAccessory(String namespace, String accessoryName) throws IllegalAccessException, NoSuchFieldExceptionReturns the accessory of the submitted network object defined in the namespace.- Specified by:
getAccessory
in interfaceModel
- Parameters:
namespace
-accessoryName
-- Returns:
- accessory
- Throws:
IllegalAccessException
- if accessory is protectedNoSuchFieldException
- if accessory does not exist
-
getAccessory
default <T extends Accessory> T getAccessory(String namespace, String accessoryName, Class<T> accessoryItemClass) throws IllegalAccessException, NoSuchFieldException -
getAccessory
Returns the accessory of the submitted network object defined in the document embedded OVL script.- Specified by:
getAccessory
in interfaceModel
- Parameters:
accessoryName
-- Returns:
- accessory
- Throws:
IllegalAccessException
- if accessory is protectedNoSuchFieldException
- if accessory does not exist
-
getAccessory
default <T extends Accessory> T getAccessory(String accessoryName, Class<T> accessoryItemClass) throws IllegalAccessException, NoSuchFieldException -
getField
Returns the field of the submitted network object defined in the document embedded OVL script.- Specified by:
getField
in interfaceModel
- Parameters:
fieldName
-- Returns:
- reference object representing the field
- Throws:
IllegalAccessException
- if field is protectedNoSuchFieldException
- if field does not exist
-
getField
Field getField(String namespace, String fieldName) throws IllegalAccessException, NoSuchFieldExceptionReturns the field of the submitted network object defined in the give namespace.- Specified by:
getField
in interfaceModel
- Parameters:
namespace
-fieldName
-- Returns:
- reference object representing the field
- Throws:
IllegalAccessException
- if field is protectedNoSuchFieldException
- if field does not exist
-
getMethod
Method getMethod(String methodName, Class<?>... params) throws IllegalAccessException, NoSuchMethodExceptionReturns the method of the submitted network object defined in the document embedded OVL script.- Parameters:
methodName
-params
- list of classes of the method parameters- Returns:
- reference object representing the method
- Throws:
IllegalAccessException
- if method is protectedNoSuchMethodException
- if method does not exist- See Also:
#getMethod(String, Object, String, Class...)
-
getMethod
Method getMethod(String namespace, String methodName, Class<?>... params) throws IllegalAccessException, NoSuchMethodExceptionReturns the method of the submitted network object defined in the given namespace.
Example code:
OVL:
extend Model{
void myMethod(String strg, int i){...}
}
can be called by:getMethod("myMethod", String.class, int.class)
orgetMethod("myMethod(java.lang.String,int)")
- Parameters:
namespace
-methodName
-params
- list of classes of the method parameters- Returns:
- reference object representing the method
- Throws:
IllegalAccessException
- if method is protectedNoSuchMethodException
- if method does not exist
-
getMethod
default Method getMethod(OVLMethodDefinition methodDefinition) throws IllegalAccessException, NoSuchMethodExceptionReturns the method of the submitted network object defined in the document embedded OVL script.- Parameters:
methodDefinition
- the method definition object from the OVLProgram- Returns:
- reference object representing the method
- Throws:
IllegalAccessException
- if method is protectedNoSuchMethodException
- if method does not exist
-
attach
Attaches this writable model to the OVL environment. Thus, all changes performed by this writable model are managed by the OVL engine.- Parameters:
environment
-- Throws:
IllegalArgumentException
- if environment has wrong type- See Also:
detach(OVLEnvironment)
-
detach
Detaches this writable model from the OVL environment.- Parameters:
environment
-- Throws:
IllegalArgumentException
- if environment has wrong type- See Also:
attach(OVLEnvironment)
-
getNamespaces
Returns a list of all available namespaces.- Returns:
- list of namespaces
-
beginUndoMacro
- Throws:
IllegalAccessException
-
performAction
- Throws:
IllegalAccessException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
default AbstractModelComponent toWritable(AbstractModelComponent type) throws IllegalComponentException- Throws:
IllegalComponentException
-
toWritable
default AbstractVisibleComponent toWritable(AbstractVisibleComponent type) throws IllegalComponentException- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
toWritable
- Throws:
IllegalComponentException
-
styleSheet
StyleSheet styleSheet()- Specified by:
styleSheet
in interfaceModel
-
setCapabilities
- Throws:
IllegalAccessException
-
setCapabilities
- Throws:
IllegalAccessException
-
clearCapabilities
- Throws:
IllegalAccessException
-
clearCapabilities
- Throws:
IllegalAccessException
-
capabilities
ModelCapabilities capabilities()
-