apps.projectmanagement.component.staffnode
Class StaffNode

java.lang.Object
  extended by apps.projectmanagement.component.staffnode.StaffNode

public class StaffNode
extends java.lang.Object

The Class StaffNode.


Constructor Summary
StaffNode(ContentSystem contentSystem, StaffModel staffModel, int width, int heigth)
          Instantiates a new staff node.
StaffNode(ContentSystem contentSystem, StaffModel staffModel, int width, int heigth, boolean closable)
          Instantiates a new staff node.
 
Method Summary
 void clear()
          Clear.
 Location getLocation()
          Gets the location.
 boolean isDetailPageShown()
          Checks if is detail page shown.
 void setLocation(float x, float y)
          Sets the location.
 void setVisibility(boolean visible)
          Sets the visibility.
 void showDetailPage(boolean show)
          Show detail page.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaffNode

public StaffNode(ContentSystem contentSystem,
                 StaffModel staffModel,
                 int width,
                 int heigth)
Instantiates a new staff node.

Parameters:
contentSystem - the content system
staffModel - the staff model
width - the width
heigth - the heigth

StaffNode

public StaffNode(ContentSystem contentSystem,
                 StaffModel staffModel,
                 int width,
                 int heigth,
                 boolean closable)
Instantiates a new staff node.

Parameters:
contentSystem - the content system
staffModel - the staff model
width - the width
heigth - the heigth
closable - the closable
Method Detail

clear

public void clear()
Clear.


getLocation

public Location getLocation()
Gets the location.

Returns:
the location

isDetailPageShown

public boolean isDetailPageShown()
Checks if is detail page shown.

Returns:
true, if is detail page shown

setLocation

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

Parameters:
x - the x
y - the y

setVisibility

public void setVisibility(boolean visible)
Sets the visibility.

Parameters:
visible - the new visibility

showDetailPage

public void showDetailPage(boolean show)
Show detail page.

Parameters:
show - the show