com.ebmwebsourcing.gwt.raphael.client.diagram.element
Class DiagramElementContext

java.lang.Object
  extended by com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramElementContext

public class DiagramElementContext
extends java.lang.Object

Contains some usefull data for an element at a specific moment

Author:
nfleury

Constructor Summary
DiagramElementContext()
           
 
Method Summary
 java.lang.String getBackgroundColor()
           
 java.lang.String getBorderColor()
           
 int getHeight()
           
 int getLastXPosition()
           
 int getLastYPosition()
           
 int getWidth()
           
 void setBackgroundColor(java.lang.String backgroundColor)
           
 void setBorderColor(java.lang.String borderColor)
           
 void setHeight(int height)
           
 void setLastXPosition(int lastXPposition)
           
 void setLastYPosition(int lastYPosition)
           
 void setSize(int width, int height)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagramElementContext

public DiagramElementContext()
Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()

setSize

public void setSize(int width,
                    int height)

getLastXPosition

public int getLastXPosition()

setLastXPosition

public void setLastXPosition(int lastXPposition)

getLastYPosition

public int getLastYPosition()

setLastYPosition

public void setLastYPosition(int lastYPosition)

getBackgroundColor

public java.lang.String getBackgroundColor()

setBackgroundColor

public void setBackgroundColor(java.lang.String backgroundColor)

getBorderColor

public java.lang.String getBorderColor()

setBorderColor

public void setBorderColor(java.lang.String borderColor)

setWidth

public void setWidth(int width)

setHeight

public void setHeight(int height)


Copyright © 2010 eBM WebSourcing. All Rights Reserved.