org.infolayer.model
Class UmlStateMachine

java.lang.Object
  extended byorg.infolayer.model.UmlModelElement
      extended byorg.infolayer.model.UmlStateMachine
All Implemented Interfaces:
org.ksoap2.serialization.KvmSerializable, de.pleumann.statemachine.model.StateMachine, de.pleumann.statemachine.visual.StateMachineGeometry

public class UmlStateMachine
extends UmlModelElement
implements org.ksoap2.serialization.KvmSerializable, de.pleumann.statemachine.model.StateMachine, de.pleumann.statemachine.visual.StateMachineGeometry

Author:
J�rg Pleumann To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates.

Field Summary
 
Fields inherited from class org.infolayer.model.UmlModelElement
PRIVATE, PROTECTED, PUBLIC
 
Constructor Summary
UmlStateMachine()
           
 
Method Summary
 java.awt.Rectangle getBoundingBox()
           
 java.awt.Rectangle getBounds(de.pleumann.statemachine.model.StateVertex vertex)
           
 java.awt.Rectangle getLabel(de.pleumann.statemachine.model.Transition transition)
           
 java.awt.Point[] getPoints(de.pleumann.statemachine.model.Transition transition)
           
 java.lang.Object getProperty(int index)
           
 int getPropertyCount()
           
 void getPropertyInfo(int index, java.util.Hashtable props, org.ksoap2.serialization.PropertyInfo info)
           
 UmlState getState(java.lang.String name)
           
 de.pleumann.statemachine.model.State getTop()
           
 void init()
          noop; implemented for AssiociationEnd, Classifier and Package
 void setProperty(int index, java.lang.Object value)
           
 
Methods inherited from class org.infolayer.model.UmlModelElement
getComment, getLabel, getName, getTaggedValue, getTaggedValue, getVisibility, setName, setTaggedValue, setVisibility, setVisibility, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UmlStateMachine

public UmlStateMachine()
Method Detail

init

public void init()
Description copied from class: UmlModelElement
noop; implemented for AssiociationEnd, Classifier and Package

Overrides:
init in class UmlModelElement

getProperty

public java.lang.Object getProperty(int index)
Specified by:
getProperty in interface org.ksoap2.serialization.KvmSerializable
Overrides:
getProperty in class UmlModelElement
See Also:
org.ksoap2.marshal.KvmSerializable#getProperty(int)

getPropertyCount

public int getPropertyCount()
Specified by:
getPropertyCount in interface org.ksoap2.serialization.KvmSerializable
Overrides:
getPropertyCount in class UmlModelElement
See Also:
org.ksoap2.marshal.KvmSerializable#getPropertyCount()

getPropertyInfo

public void getPropertyInfo(int index,
                            java.util.Hashtable props,
                            org.ksoap2.serialization.PropertyInfo info)
Specified by:
getPropertyInfo in interface org.ksoap2.serialization.KvmSerializable
Overrides:
getPropertyInfo in class UmlModelElement
See Also:
org.ksoap2.marshal.KvmSerializable#getPropertyInfo(int, PropertyInfo)

setProperty

public void setProperty(int index,
                        java.lang.Object value)
Specified by:
setProperty in interface org.ksoap2.serialization.KvmSerializable
Overrides:
setProperty in class UmlModelElement
See Also:
org.ksoap2.marshal.KvmSerializable#setProperty(int, Object)

getTop

public de.pleumann.statemachine.model.State getTop()
Specified by:
getTop in interface de.pleumann.statemachine.model.StateMachine
See Also:
statemachine.core.StateMachine#getTop()

getState

public UmlState getState(java.lang.String name)

getBoundingBox

public java.awt.Rectangle getBoundingBox()

getBounds

public java.awt.Rectangle getBounds(de.pleumann.statemachine.model.StateVertex vertex)
Specified by:
getBounds in interface de.pleumann.statemachine.visual.StateMachineGeometry

getPoints

public java.awt.Point[] getPoints(de.pleumann.statemachine.model.Transition transition)
Specified by:
getPoints in interface de.pleumann.statemachine.visual.StateMachineGeometry

getLabel

public java.awt.Rectangle getLabel(de.pleumann.statemachine.model.Transition transition)
Specified by:
getLabel in interface de.pleumann.statemachine.visual.StateMachineGeometry