C D E G M S T U V
C
- clone() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileEdge
- clone() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
- contains(Point2D) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
-
Whether the bounds contain the point given as argument.
D
- decodeEdgePrototype(Element) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmilePersistanceDelegate
-
Returns an instance of
SmileEdge
, the only edge type available - decodeNodePrototype(Element) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmilePersistanceDelegate
-
Retrieves the smile node prototypes from the information saved in the XML file.
- draw(Graphics2D) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileEdge
-
Draws this edge on the graph.
- draw(Graphics2D) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
-
Draws itself on a
Graphics2D
object as a smiling/sad face. - drawEdgeEnd(GraphElement, Node, Graphics2D) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileEdge
-
Draws an arrow head/tail on the end of this edge where the node passed as argument is.
E
- encodeEdgePrototype(Document, Element, Edge) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmilePersistanceDelegate
-
This is an empty method as only one edge type exists in the diagram and
decodeEdgePrototype
will return that only instance. - encodeNodePrototype(Document, Element, Node) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmilePersistanceDelegate
-
Saves the smile node prototype information into XML format.
G
- getBounds() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileEdge
-
Calculates the bounding rectangle of this edge.
- getBounds() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
-
Returned object is a square delimiting the picture used to draw the node on the graph.
- getConnectionPoint(Direction) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
-
Returns the point where an edge attached to this node would get in contact with it, once the direction is given.
- getDiagrams() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileDiagramApp
-
Overrides the method in
DiagramEditorApp
, which returns an empty array. - getMood() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
-
Whether this node has a happy or a sad face
- getShape() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
-
Same as
getBounds()
for this class. - getSound() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileEdge
-
Returns a stream to a bell sound file.
- getSound() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
-
Returns a stream to a file with a clap sound for happy mood and water drop sound for sad mood.
- getTemplateEditors() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileDiagramApp
-
Returns an empty array, so that template editors are ignored in this application.
- getTemplateFiles() - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileDiagramApp
-
Calls
super.getTemplateFiles()
.
M
- main(String[]) - Static method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileDiagramApp
-
Main method.
S
- SmileDiagramApp - Class in uk.ac.qmul.eecs.ccmi.examples.framework
-
A Smile Diagram Application.
- SmileEdge - Class in uk.ac.qmul.eecs.ccmi.examples.framework
-
An example of how CCmI Diagram Editor edges can be extended, in order to create your own graphic palette.
- SmileNode - Class in uk.ac.qmul.eecs.ccmi.examples.framework
-
An example of how a CCmI Diagram Editor nodes can be extended, in order to create your own graphic palette.
- SmilePersistanceDelegate - Class in uk.ac.qmul.eecs.ccmi.examples.framework
-
Together with the
Node
andEdge
prototypes, a persistence delegate must also be provided to make your own diagram within the CCmI Diagram Editor framework. - SmileNode.MOOD - Enum in uk.ac.qmul.eecs.ccmi.examples.framework
-
Available moods for the smile nodes.
- SmileDiagramApp() - Constructor for class uk.ac.qmul.eecs.ccmi.examples.framework.SmileDiagramApp
- SmileEdge() - Constructor for class uk.ac.qmul.eecs.ccmi.examples.framework.SmileEdge
-
Creates a new instance of
SmileEdge
. - SmileNode(SmileNode.MOOD) - Constructor for class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
-
Create a simple instance with no property types and type name "Happy Node" or "Sad Node", according to the value of
mood
. - SmilePersistanceDelegate() - Constructor for class uk.ac.qmul.eecs.ccmi.examples.framework.SmilePersistanceDelegate
T
- translateImplementation(Point2D, double, double) - Method in class uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode
-
Translates this node in the graph.
U
- uk.ac.qmul.eecs.ccmi.examples.framework - package uk.ac.qmul.eecs.ccmi.examples.framework
-
It is possible to use the CCmI Diagram Editor as a framework for creating your own diagram types.
V
- valueOf(String) - Static method in enum uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode.MOOD
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum uk.ac.qmul.eecs.ccmi.examples.framework.SmileNode.MOOD
-
Returns an array containing the constants of this enum type, in the order they are declared.