net.cercis.jstruct.ui
Class Hnod

java.lang.Object
  extended bynet.cercis.jstruct.ui.Hnod

public class Hnod
extends java.lang.Object

Hnod Object. This object stores the information concerning a nodal load. It belongs to the UI Model and so, its variables are not final


Constructor Summary
Hnod()
          Void Class Constructor
Hnod(HnodCalc hi)
          Class Constructor where the values are stored thanks to the copy of the values of a HnodCalc
Hnod(int node, float fx, float fy, float fz)
          Class Constructor where the values are stored
Hnod(java.lang.String cad)
          Class Constructor where the values are passed in a String that is tokenized to obtain the information
 
Method Summary
 float fx()
          Returns the value of the x value of the nodal load
 float fy()
          Returns the value of the y value of the nodal load
 float fz()
          Returns the value of the z value of the nodal load
 int node()
          Returns the value of the node
 void setfx(float fx)
          Sets the value of the x nodal load
 void setfy(float fy)
          Sets the value of the y nodal load
 void setfz(float fz)
          Sets the value of the z nodal load
 void setnode(int node)
          Sets the value of the node identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hnod

public Hnod(java.lang.String cad)
Class Constructor where the values are passed in a String that is tokenized to obtain the information

Parameters:
cad - String where the information is passed and that has to be tokenized (node - fx - fy - fz) in order

Hnod

public Hnod(int node,
            float fx,
            float fy,
            float fz)
Class Constructor where the values are stored

Parameters:
node - Integer number identifier of the node
fx - Float number with the force value in the x direction
fy - Float number with the force value in the y direction
fz - Float number with the force value in the z direction

Hnod

public Hnod(HnodCalc hi)
Class Constructor where the values are stored thanks to the copy of the values of a HnodCalc

Parameters:
hi - HnodCalc to be copied

Hnod

public Hnod()
Void Class Constructor

Method Detail

node

public int node()
Returns the value of the node

Returns:
Integer number with the value of the node

fx

public float fx()
Returns the value of the x value of the nodal load

Returns:
Float number with the x value of the nodal load

fy

public float fy()
Returns the value of the y value of the nodal load

Returns:
Float number with the y value of the nodal load

fz

public float fz()
Returns the value of the z value of the nodal load

Returns:
Float number with the z value of the nodal load

setnode

public void setnode(int node)
Sets the value of the node identifier

Parameters:
node - Integer number with the value of the node identifier

setfx

public void setfx(float fx)
Sets the value of the x nodal load

Parameters:
fx - Float number with the value of the x nodal load

setfy

public void setfy(float fy)
Sets the value of the y nodal load

Parameters:
fy - Float number with the value of the y nodal load

setfz

public void setfz(float fz)
Sets the value of the z nodal load

Parameters:
fz - Float number with the value of the z nodal load