ter.SDK.view
Class MyCompositionView

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

public class MyCompositionView
extends CompositionView

Title: MyCompositionView

Description: this Class represents the composition graph of a classifier. It's a composition view, so this class extends CompositionView.

Company: UNSA

Version:
1.0
Author:
Lucas Charbit - Jerome Gahide - Galbois Xavier - Gabriel Zerbib

Constructor Summary
MyCompositionView()
          empty constructor
MyCompositionView(ClassifierAnalyser cl)
          constructor with a ClassifierAnalyser
 
Method Summary
 void changeSize()
          this function change the size of the global panel
 javax.swing.ImageIcon getFlecheBas()
           
 javax.swing.ImageIcon getFlecheHaut()
           
 javax.swing.JPanel getGlobalPanel()
           
 javax.swing.JButton getJButtonConstructorException()
           
 javax.swing.JButton getJButtonConstructorParameter()
           
 javax.swing.JButton getJButtonField()
           
 javax.swing.JButton getJButtonMethodException()
           
 javax.swing.JButton getJButtonMethodsParameter()
           
 javax.swing.JButton getJButtonMethodsReturType()
           
 javax.swing.JPanel getJPanelConstructor()
           
 javax.swing.JPanel getJPanelConstructorException()
           
 javax.swing.JPanel getJPanelConstructorParameter()
           
 javax.swing.JPanel getJPanelField()
           
 javax.swing.JPanel getJPanelFieldAndLabel()
           
 javax.swing.JPanel getJPanelMethodException()
           
 javax.swing.JPanel getJPanelMethodParameter()
           
 javax.swing.JPanel getJPanelMethodReturn()
           
 javax.swing.JPanel getJPanelMethods()
           
 javax.swing.JPanel getJPanelTypeField()
           
 java.util.ArrayList getListenedJButton()
           
 java.lang.String getName()
          return the name of this class
 java.awt.Container getViewContainer()
          return the container of this view
 void initialiseConstructorException()
          this function initialise the panel of the exception type of constructors
 void initialiseConstructorParameter()
          this function initialise the panel of the parameter type constructors
 void initialiseMethodException()
          this function initialise the panel of the exceptions of the methods
 void initialiseMethodParameter()
          this function initialise the panel of the parameters of the methods
 void initialiseMethodReturn()
          this function initialise the panel of the return type of the methodds
 void initialiseTypeField()
          this function initiliase the type of fields
 javax.swing.JButton myJButton()
          this function returns a custom button
 
Methods inherited from class ter.SDK.view.CompositionView
getType
 
Methods inherited from class ter.SDK.view.AbstractView
create, getClassifierAnalyser, setClassifierAnalyser
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyCompositionView

public MyCompositionView()
empty constructor


MyCompositionView

public MyCompositionView(ClassifierAnalyser cl)
constructor with a ClassifierAnalyser

Parameters:
cl - the ClassifierAnalyser of this view
Method Detail

getName

public java.lang.String getName()
return the name of this class

Returns:
the name of this class

getViewContainer

public java.awt.Container getViewContainer()
return the container of this view

Returns:
the container of this view

initialiseConstructorParameter

public void initialiseConstructorParameter()
this function initialise the panel of the parameter type constructors


initialiseConstructorException

public void initialiseConstructorException()
this function initialise the panel of the exception type of constructors


initialiseTypeField

public void initialiseTypeField()
this function initiliase the type of fields


initialiseMethodParameter

public void initialiseMethodParameter()
this function initialise the panel of the parameters of the methods


initialiseMethodReturn

public void initialiseMethodReturn()
this function initialise the panel of the return type of the methodds


initialiseMethodException

public void initialiseMethodException()
this function initialise the panel of the exceptions of the methods


changeSize

public void changeSize()
this function change the size of the global panel


myJButton

public javax.swing.JButton myJButton()
this function returns a custom button

Returns:
a new JButton

getJPanelConstructorException

public javax.swing.JPanel getJPanelConstructorException()

getJPanelConstructorParameter

public javax.swing.JPanel getJPanelConstructorParameter()

getJPanelField

public javax.swing.JPanel getJPanelField()

getJPanelMethodException

public javax.swing.JPanel getJPanelMethodException()

getJPanelMethodParameter

public javax.swing.JPanel getJPanelMethodParameter()

getJPanelMethodReturn

public javax.swing.JPanel getJPanelMethodReturn()

getJPanelConstructor

public javax.swing.JPanel getJPanelConstructor()

getJPanelFieldAndLabel

public javax.swing.JPanel getJPanelFieldAndLabel()

getJPanelMethods

public javax.swing.JPanel getJPanelMethods()

getJPanelTypeField

public javax.swing.JPanel getJPanelTypeField()

getFlecheBas

public javax.swing.ImageIcon getFlecheBas()

getFlecheHaut

public javax.swing.ImageIcon getFlecheHaut()

getListenedJButton

public java.util.ArrayList getListenedJButton()

getJButtonConstructorException

public javax.swing.JButton getJButtonConstructorException()

getJButtonConstructorParameter

public javax.swing.JButton getJButtonConstructorParameter()

getJButtonField

public javax.swing.JButton getJButtonField()

getJButtonMethodException

public javax.swing.JButton getJButtonMethodException()

getJButtonMethodsParameter

public javax.swing.JButton getJButtonMethodsParameter()

getJButtonMethodsReturType

public javax.swing.JButton getJButtonMethodsReturType()

getGlobalPanel

public javax.swing.JPanel getGlobalPanel()