pilar.DiagramaMomentos Class Reference

Collaboration diagram for pilar.DiagramaMomentos:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DiagramaMomentos (Carregamento carr, String dir)
void setMtop (double Mtop)
void setMbot (double Mbot)
void setDir (boolean dir)
double getMtop ()
double getMbot ()
boolean getDir ()
double getMaxabs ()
void paint (Graphics g)
void update (Graphics g)

Public Attributes

boolean isEnabled

Private Member Functions

double x2d (double x, double y, double z)
double y2d (double x, double y, double z)

Private Attributes

double Mtop
double Mbot
boolean dir
NumberFormat numFormat
int w
int h
double xorigin
double yorigin


Detailed Description

Representação gráfica do diagrama de momentos.

Definition at line 12 of file DiagramaMomentos.java.


Constructor & Destructor Documentation

pilar.DiagramaMomentos.DiagramaMomentos ( Carregamento  carr,
String  dir 
)

Construtor.

Parameters:
carr Carregamento que se quer ilustrar com o desenho.
dir String representando a direção que se quer desenhar o diagrama. Mx String "x" ou em My String "y".

Definition at line 25 of file DiagramaMomentos.java.

References pilar.Carregamento.getMpx(), pilar.Carregamento.getMpy(), pilar.Carregamento.getMtx(), pilar.Carregamento.getMty(), pilar.DiagramaMomentos.isEnabled, pilar.DiagramaMomentos.Mbot, and pilar.DiagramaMomentos.Mtop.

Here is the call graph for this function:


Member Function Documentation

void pilar.DiagramaMomentos.setMtop ( double  Mtop  ) 

void pilar.DiagramaMomentos.setMbot ( double  Mbot  ) 

void pilar.DiagramaMomentos.setDir ( boolean  dir  ) 

Definition at line 45 of file DiagramaMomentos.java.

double pilar.DiagramaMomentos.getMtop (  ) 

Definition at line 49 of file DiagramaMomentos.java.

References pilar.DiagramaMomentos.Mtop.

double pilar.DiagramaMomentos.getMbot (  ) 

Definition at line 52 of file DiagramaMomentos.java.

References pilar.DiagramaMomentos.Mbot.

boolean pilar.DiagramaMomentos.getDir (  ) 

Definition at line 55 of file DiagramaMomentos.java.

References pilar.DiagramaMomentos.dir.

double pilar.DiagramaMomentos.getMaxabs (  ) 

double pilar.DiagramaMomentos.x2d ( double  x,
double  y,
double  z 
) [private]

Definition at line 73 of file DiagramaMomentos.java.

References pilar.DiagramaMomentos.xorigin.

Referenced by pilar.DiagramaMomentos.update().

double pilar.DiagramaMomentos.y2d ( double  x,
double  y,
double  z 
) [private]

Definition at line 76 of file DiagramaMomentos.java.

References pilar.DiagramaMomentos.yorigin.

Referenced by pilar.DiagramaMomentos.update().

void pilar.DiagramaMomentos.paint ( Graphics  g  ) 

Definition at line 80 of file DiagramaMomentos.java.

References pilar.DiagramaMomentos.update().

Here is the call graph for this function:

void pilar.DiagramaMomentos.update ( Graphics  g  ) 


Member Data Documentation

double pilar.DiagramaMomentos.Mtop [private]

double pilar.DiagramaMomentos.Mbot [private]

boolean pilar.DiagramaMomentos.dir [private]

NumberFormat pilar.DiagramaMomentos.numFormat [private]

Definition at line 16 of file DiagramaMomentos.java.

Referenced by pilar.DiagramaMomentos.update().

int pilar.DiagramaMomentos.w [private]

Definition at line 67 of file DiagramaMomentos.java.

Referenced by pilar.DiagramaMomentos.update().

int pilar.DiagramaMomentos.h [private]

Definition at line 68 of file DiagramaMomentos.java.

Referenced by pilar.DiagramaMomentos.update().


The documentation for this class was generated from the following file:

Generated on Tue Apr 29 13:28:35 2008 for Dimensionamento de Pilares by  doxygen 1.5.5