apps.projectmanagement.component.workflowchart.core.graphcomponents.links
Class LinkMenu

java.lang.Object
  extended by apps.projectmanagement.component.workflowchart.core.graphcomponents.links.LinkMenu

public class LinkMenu
extends java.lang.Object

The Class LinkMenu.


Constructor Summary
LinkMenu(ContentSystem contentSystem, GraphManager gManager, GraphLink link)
          Instantiates a new link menu.
 
Method Summary
 Location getLocation()
          Gets the location.
 java.lang.String getName()
          Gets the name.
 int getOrder()
          Gets the order.
 boolean isVisible()
          Checks if is visible.
 void remove()
          Removes the.
 void setBgColour(java.awt.Color bgColour)
          Sets the bg colour.
 void setBorderColour(java.awt.Color borderColour)
          Sets the border colour.
 void setFont(java.awt.Font font)
          Sets the font.
 void setLocation(float x, float y)
          Sets the location.
 void setMenuItemSize(int itemWidth, int itemHeight)
          Sets the menu item size.
 void setOrder(int zOrder)
          Sets the order.
 void setTextColour(java.awt.Color textColour)
          Sets the text colour.
 void setVisible(boolean isVisible)
          Sets the visible.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkMenu

public LinkMenu(ContentSystem contentSystem,
                GraphManager gManager,
                GraphLink link)
Instantiates a new link menu.

Parameters:
contentSystem - the content system
gManager - the g manager
link - the link
Method Detail

getLocation

public Location getLocation()
Gets the location.

Returns:
the location

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

getOrder

public int getOrder()
Gets the order.

Returns:
the order

isVisible

public boolean isVisible()
Checks if is visible.

Returns:
true, if is visible

remove

public void remove()
Removes the.


setBgColour

public void setBgColour(java.awt.Color bgColour)
Sets the bg colour.

Parameters:
bgColour - the new bg colour

setBorderColour

public void setBorderColour(java.awt.Color borderColour)
Sets the border colour.

Parameters:
borderColour - the new border colour

setFont

public void setFont(java.awt.Font font)
Sets the font.

Parameters:
font - the new font

setLocation

public void setLocation(float x,
                        float y)
Sets the location.

Parameters:
x - the x
y - the y

setMenuItemSize

public void setMenuItemSize(int itemWidth,
                            int itemHeight)
Sets the menu item size.

Parameters:
itemWidth - the item width
itemHeight - the item height

setOrder

public void setOrder(int zOrder)
Sets the order.

Parameters:
zOrder - the new order

setTextColour

public void setTextColour(java.awt.Color textColour)
Sets the text colour.

Parameters:
textColour - the new text colour

setVisible

public void setVisible(boolean isVisible)
Sets the visible.

Parameters:
isVisible - the new visible