ter.SDK.view
Class GraphDetailView

java.lang.Object
  |
  +--ter.SDK.view.AbstractView
        |
        +--ter.SDK.view.DetailView
              |
              +--ter.SDK.view.GraphDetailView
All Implemented Interfaces:
Plugin, View

public class GraphDetailView
extends DetailView

Title: GraphDetailsView

Description: this class builds a detail view

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
unascribed

Constructor Summary
GraphDetailView()
          constructor of class by default
GraphDetailView(ClassifierAnalyser cl)
          The constructor of the class
 
Method Summary
 javax.swing.JPanel getCenterPanel()
           
 ClassifierAnalyser getClassifierAnalyser()
          retun the classifierAnalyser related to this view
 FieldAnalyser[] getField()
           
 javax.swing.JCheckBox getJCheckBoxAbstractMethod()
           
 javax.swing.JCheckBox getJCheckBoxConstructors()
           
 javax.swing.JCheckBox getJCheckBoxFields()
           
 javax.swing.JCheckBox getJCheckBoxGetterMethods()
           
 javax.swing.JCheckBox getJCheckBoxInternalClasses()
           
 javax.swing.JCheckBox getJCheckBoxMethods()
           
 javax.swing.JCheckBox getJCheckBoxRedefinedMethods()
           
 javax.swing.JCheckBox getJCheckBoxSetterMethods()
           
 javax.swing.JCheckBox getJCheckBoxStaticFields()
           
 javax.swing.JCheckBox getJCheckBoxStaticMethods()
           
 javax.swing.JPanel getJPanelAbstractMethod()
           
 javax.swing.JPanel getJPanelConstructors()
           
 javax.swing.JPanel getJPanelFields()
           
 javax.swing.JPanel getJPanelGetterMethod()
           
 javax.swing.JPanel getJPanelHead()
           
 javax.swing.JPanel getJPanelInternalClasses()
           
 javax.swing.JPanel getJPanelMethods()
           
 javax.swing.JPanel getJPanelRedefinedMethods()
           
 javax.swing.JPanel getJPanelSetterMethods()
           
 javax.swing.JPanel getJPanelStaticFields()
           
 javax.swing.JPanel getJPanelStaticMethods()
           
 javax.swing.JPanel getJPanelSubHead()
           
 java.util.ArrayList getListenedJButtons()
           
 java.lang.String getName()
          Needed by the Plugin interface
 javax.swing.JPopupMenu getPopup()
           
 java.awt.Container getViewContainer()
          Needed by the View interface
 void initialiseJPanelRedefinedMethod()
          this function build the panel of redefined methods
 void initializeException(java.lang.Class[] cl, javax.swing.JPanel jp)
          this function initialise the exceptions of constructors and methods
 void initializeJPanelConstructors()
          this function build the panel of constructors
 void initializeJPanelFields()
          this function build the panel of fields
 void initializeJPanelInternalClasses()
          ========================================================================== HERE WE DEAL WITH INTERNAL CLASSES ==========================================================================
 void initializeJPanelMethods()
          this function build the JPanel Methods
 void initializeJPanelName()
          this function build the JPanel of class name
 void initializeParameter(TypeClass[] parameterType, javax.swing.JPanel jp)
           
 javax.swing.JPanel jPanelEachMethod(MethodAnalyser methodAnalyser, java.awt.FlowLayout fl, javax.swing.Icon img)
          this function build a panel for each method
 javax.swing.JPanel jPanelWithTextArea(java.lang.String text, javax.swing.Icon img, java.awt.Color color)
          this function is used for initialize all the exceptions
 javax.swing.JLabel myJLabel(java.lang.String text, java.awt.Color color)
          this funtion returns a new label with the text "text" and the Color color
 void setField(FieldAnalyser[] field)
           
 void setJPanelFields(javax.swing.JPanel jPanelFields)
           
 void setJPanelStaticFields(javax.swing.JPanel jPanelStaticFields)
           
 
Methods inherited from class ter.SDK.view.DetailView
getType
 
Methods inherited from class ter.SDK.view.AbstractView
create, setClassifierAnalyser
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphDetailView

public GraphDetailView()
constructor of class by default


GraphDetailView

public GraphDetailView(ClassifierAnalyser cl)
The constructor of the class

Parameters:
cl - the ClassifierAnalyser associated to this class
Method Detail

getName

public java.lang.String getName()
Needed by the Plugin interface

Returns:
the name of this class

getViewContainer

public java.awt.Container getViewContainer()
Needed by the View interface

Returns:
: a container

initializeJPanelName

public void initializeJPanelName()
this function build the JPanel of class name


initializeJPanelFields

public void initializeJPanelFields()
this function build the panel of fields


myJLabel

public javax.swing.JLabel myJLabel(java.lang.String text,
                                   java.awt.Color color)
this funtion returns a new label with the text "text" and the Color color

Parameters:
text - the text of the label
color - of the label
Returns:
a new label

initializeJPanelConstructors

public void initializeJPanelConstructors()
this function build the panel of constructors


jPanelEachMethod

public javax.swing.JPanel jPanelEachMethod(MethodAnalyser methodAnalyser,
                                           java.awt.FlowLayout fl,
                                           javax.swing.Icon img)
this function build a panel for each method

Parameters:
methodAnalyser - the instance of MethodAnalyser associated to the method
fl - the FlowLayout of the panel
img - the image of the panel
Returns:
a new JPanel

initializeJPanelMethods

public void initializeJPanelMethods()
this function build the JPanel Methods


initializeJPanelInternalClasses

public void initializeJPanelInternalClasses()
========================================================================== HERE WE DEAL WITH INTERNAL CLASSES ==========================================================================


initialiseJPanelRedefinedMethod

public void initialiseJPanelRedefinedMethod()
this function build the panel of redefined methods


jPanelWithTextArea

public javax.swing.JPanel jPanelWithTextArea(java.lang.String text,
                                             javax.swing.Icon img,
                                             java.awt.Color color)
this function is used for initialize all the exceptions


initializeException

public void initializeException(java.lang.Class[] cl,
                                javax.swing.JPanel jp)
this function initialise the exceptions of constructors and methods

Parameters:
cl - the object of java.lang.Class who represents the type of the exceptions
jp - a new panel

initializeParameter

public void initializeParameter(TypeClass[] parameterType,
                                javax.swing.JPanel jp)

getPopup

public javax.swing.JPopupMenu getPopup()

getJCheckBoxConstructors

public javax.swing.JCheckBox getJCheckBoxConstructors()

getJCheckBoxFields

public javax.swing.JCheckBox getJCheckBoxFields()

getJCheckBoxMethods

public javax.swing.JCheckBox getJCheckBoxMethods()

getJCheckBoxStaticFields

public javax.swing.JCheckBox getJCheckBoxStaticFields()

getJPanelConstructors

public javax.swing.JPanel getJPanelConstructors()

getJPanelFields

public javax.swing.JPanel getJPanelFields()

getJPanelHead

public javax.swing.JPanel getJPanelHead()

getJPanelMethods

public javax.swing.JPanel getJPanelMethods()

getJPanelStaticFields

public javax.swing.JPanel getJPanelStaticFields()

getJCheckBoxInternalClasses

public javax.swing.JCheckBox getJCheckBoxInternalClasses()

getJCheckBoxStaticMethods

public javax.swing.JCheckBox getJCheckBoxStaticMethods()

getJPanelInternalClasses

public javax.swing.JPanel getJPanelInternalClasses()

getJPanelStaticMethods

public javax.swing.JPanel getJPanelStaticMethods()

getJPanelSubHead

public javax.swing.JPanel getJPanelSubHead()

getClassifierAnalyser

public ClassifierAnalyser getClassifierAnalyser()
Description copied from class: AbstractView
retun the classifierAnalyser related to this view

Specified by:
getClassifierAnalyser in interface View
Overrides:
getClassifierAnalyser in class AbstractView
Returns:
: a classifierAnalsyer

getJCheckBoxAbstractMethod

public javax.swing.JCheckBox getJCheckBoxAbstractMethod()

getJPanelAbstractMethod

public javax.swing.JPanel getJPanelAbstractMethod()

getJCheckBoxSetterMethods

public javax.swing.JCheckBox getJCheckBoxSetterMethods()

getJCheckBoxGetterMethods

public javax.swing.JCheckBox getJCheckBoxGetterMethods()

getJCheckBoxRedefinedMethods

public javax.swing.JCheckBox getJCheckBoxRedefinedMethods()

getJPanelGetterMethod

public javax.swing.JPanel getJPanelGetterMethod()

getJPanelSetterMethods

public javax.swing.JPanel getJPanelSetterMethods()

getJPanelRedefinedMethods

public javax.swing.JPanel getJPanelRedefinedMethods()

getListenedJButtons

public java.util.ArrayList getListenedJButtons()

getCenterPanel

public javax.swing.JPanel getCenterPanel()

getField

public FieldAnalyser[] getField()

setField

public void setField(FieldAnalyser[] field)

setJPanelFields

public void setJPanelFields(javax.swing.JPanel jPanelFields)

setJPanelStaticFields

public void setJPanelStaticFields(javax.swing.JPanel jPanelStaticFields)