vista
Class jfrmPrincipal

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by vista.jfrmPrincipal
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.Observer, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class jfrmPrincipal
extends javax.swing.JFrame
implements java.util.Observer

jfrmPrincipal es el formulario con todas las opciones posibles del programa

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private)  GestorDocus auxGD
           
(package private)  java.lang.String Columna
           
(package private)  CasodeUso CU
           
(package private)  DocumentoReq docPpal
           
private  boolean estiloPredet
           
(package private)  java.awt.event.ActionEvent evt
           
(package private)  java.lang.String Fila
           
(package private)  Filtro filtro
           
(package private)  FiltroHTML filtroHtml
           
private  javax.swing.JButton jbtnActor
           
private  javax.swing.JButton jbtnDatoEspecifico
           
private  javax.swing.JButton jbtnFicheroGrafico
           
private  javax.swing.JButton jbtnMatrizRastreabilidad
           
private  javax.swing.JButton jbtnObjetivo
           
private  javax.swing.JButton jbtnOrganizacion
           
private  javax.swing.JButton jbtnParrafo
           
private  javax.swing.JButton jbtnParticipante
           
private  javax.swing.JButton jbtnReqFuncional
           
private  javax.swing.JButton jbtnReqInformacion
           
private  javax.swing.JButton jbtnReqNoFuncional
           
private  javax.swing.JButton jbtnReqRestriccion
           
private  javax.swing.JButton jbtnReunion
           
private  javax.swing.JButton jbtnSeccion
           
private  javax.swing.JButton jbtnSubobjetivo
           
private  javax.swing.JInternalFrame jInternalFrame1
           
private  javax.swing.JLabel jlblMensaje
           
private  javax.swing.JMenuItem jmniAbrir
           
private  javax.swing.JMenuItem jmniDE
           
private  javax.swing.JMenuItem jmniEditar
           
private  javax.swing.JMenuItem jmniEliminar
           
private  javax.swing.JMenuItem jmniExcepcion
           
private  javax.swing.JMenuItem jmniExcepcion1
           
private  javax.swing.JMenuItem jmniGuardar
           
private  javax.swing.JMenuItem jmniGuardarHTML
           
private  javax.swing.JMenuItem jmniLeeArbol
           
 javax.swing.JMenuItem jmniNuevo
           
private  javax.swing.JMenuItem jmniNuevoCU
           
private  javax.swing.JMenuItem jmniPaso
           
private  javax.swing.JMenuItem jmniPaso1
           
private  javax.swing.JMenuItem jmniSalir
           
private  javax.swing.JMenuItem jmniSUBO
           
private  javax.swing.JMenuItem jmniXSL
           
private  javax.swing.JMenu jmnuArchivo
           
private  javax.swing.JMenuBar jmnuBarraPpal
           
private  javax.swing.JMenu jmnuCU
           
private  javax.swing.JMenu jmnuHerramientas
           
private  javax.swing.JMenu jmnuSalir
           
private  javax.swing.JPopupMenu jppupMenu
           
private  javax.swing.JScrollPane jScrollPane1
           
private  javax.swing.JScrollPane jScrollPane2
           
private  javax.swing.JToolBar.Separator jSeparator1
           
private  javax.swing.JToolBar.Separator jSeparator2
           
private  javax.swing.JToolBar.Separator jSeparator3
           
private  javax.swing.JToolBar.Separator jSeparator4
           
private  javax.swing.JToolBar jToolBar1
           
private  javax.swing.JTree jtreDocumento
           
private  javax.swing.JTextPane jtxpDocumento
           
(package private)  Objetivo Ob
           
(package private)  PasoCU PS
           
(package private)  java.lang.String resultado
           
(package private)  RequisitoInformacion RI
           
(package private)  java.lang.String xslOrigen
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
jfrmPrincipal(java.lang.String aresultado)
          Constructor de JFrame Principal
 
Method Summary
 void boton_derecho(int i)
          boton_derecho es el metodo al que se le pasa la opcion para colocar el menu correspondiente a cada elemento
private  void formWindowClosing(java.awt.event.WindowEvent evt)
          formWindowClosing es el metodo al que se llama cuando se esta cerrando para mostrar un mensaje
 javax.swing.JTree getJtreDocumento()
          getJtreDocumento metodo para devolver el jtree
private  void initComponents()
          This method is called from within the constructor to initialize the form.
private  void jbtnActorActionPerformed(java.awt.event.ActionEvent evt)
          jbtnActorActionPerformed Activa el boton actor
private  void jbtnDatoEspecificoActionPerformed(java.awt.event.ActionEvent evt)
          jbtnDatoEspecificoActionPerformed Activa el boton dato especifico
private  void jbtnFicheroGraficoActionPerformed(java.awt.event.ActionEvent evt)
          jbtnFicheroGraficoActionPerformed Activa el boton fichero grafico
private  void jbtnMatrizRastreabilidadActionPerformed(java.awt.event.ActionEvent evt)
          jbtnMatrizRastreabilidadActionPerformed Activa el boton matriz de rastreabilidad
private  void jbtnObjetivoActionPerformed(java.awt.event.ActionEvent evt)
          jbtnObjetivoActionPerformed Activa el boton objetivo
private  void jbtnOrganizacionActionPerformed(java.awt.event.ActionEvent evt)
          jbtnOrganizacionActionPerformed Activa el boton organizacion
private  void jbtnParrafoActionPerformed(java.awt.event.ActionEvent evt)
          jbtnParrafoActionPerformed Activa el boton parrafo
private  void jbtnParticipanteActionPerformed(java.awt.event.ActionEvent evt)
          jbtnParticipanteActionPerformed Activa el boton participante
private  void jbtnReqFuncionalActionPerformed(java.awt.event.ActionEvent evt)
          jbtnReqFuncionalActionPerformed Activa el boton requisito funcional
private  void jbtnReqInformacionActionPerformed(java.awt.event.ActionEvent evt)
          jbtnReqInformacionActionPerformed Activa el boton requisito de informacion
private  void jbtnReqNoFuncionalActionPerformed(java.awt.event.ActionEvent evt)
          jbtnReqNoFuncionalActionPerformed Activa el boton requisito no funcional
private  void jbtnReqRestriccionActionPerformed(java.awt.event.ActionEvent evt)
          jbtnReqRestriccionActionPerformed Activa el boton requisto de restriccion
private  void jbtnReunionActionPerformed(java.awt.event.ActionEvent evt)
          jbtnReunionActionPerformed Activa el boton reunion
private  void jbtnSeccionActionPerformed(java.awt.event.ActionEvent evt)
          jbtnSeccionActionPerformed Activa el boton seccion
private  void jbtnSubobjetivoActionPerformed(java.awt.event.ActionEvent evt)
          jbtnSubobjetivoActionPerformed Activa el boton Subobjetivo
private  void jmniAbrirActionPerformed(java.awt.event.ActionEvent evt)
          jmniAbrirActionPerformed Activa el menu item abrir
private  void jmniDEActionPerformed(java.awt.event.ActionEvent evt)
          jmniDEActionPerformed Activa el menu item dato especifico
private  void jmniEditarActionPerformed(java.awt.event.ActionEvent evt)
          jmniEditarActionPerformed Activa el menu item editar
private  void jmniEliminarActionPerformed(java.awt.event.ActionEvent evt)
          jmniEliminarActionPerformed Activa el menu item eliminar
private  void jmniExcepcion1ActionPerformed(java.awt.event.ActionEvent evt)
          jmniExcepcion1ActionPerformed Activa el menu item excepcion
private  void jmniExcepcionActionPerformed(java.awt.event.ActionEvent evt)
          jmniExcepcionActionPerformed Activa el menu item excepcion
private  void jmniGuardarActionPerformed(java.awt.event.ActionEvent evt)
          jmniGuardarActionPerformed Activa el menu item guardar
private  void jmniGuardarHTMLActionPerformed(java.awt.event.ActionEvent evt)
          jmniGuardarHTMLActionPerformed Activa el menu item guardar HTML
private  void jmniLeeArbolActionPerformed(java.awt.event.ActionEvent evt)
          jmniLeeArbolActionPerformed Activa el menu item leer arbol
private  void jmniNuevoActionPerformed(java.awt.event.ActionEvent evt)
          jmniNuevoActionPerformed Activa el menu item nuevo
private  void jmniNuevoCUActionPerformed(java.awt.event.ActionEvent evt)
          jmniNuevoCUActionPerformed Activa el menu item caso de uso
private  void jmniPaso1ActionPerformed(java.awt.event.ActionEvent evt)
          jmniPaso1ActionPerformed Activa el menu item paso
private  void jmniPasoActionPerformed(java.awt.event.ActionEvent evt)
          jmniPasoActionPerformed Activa el menu item paso
private  void jmniSalirActionPerformed(java.awt.event.ActionEvent evt)
          jmniSalirActionPerformed Activa el menu item salir
private  void jmniSUBOActionPerformed(java.awt.event.ActionEvent evt)
          jmniSUBOActionPerformed Activa el menu item subobjetivo
private  void jmniXSLActionPerformed(java.awt.event.ActionEvent evt)
          jmniXSLActionPerformed Activa el menu item XSL
private  void jppupMenuPopupMenuWillBecomeVisible(javax.swing.event.PopupMenuEvent evt)
          jppupMenuPopupMenuWillBecomeVisible es el metodo para que cuando pulses boton derecho en el jtree salgan los menus que corresponda a cada elemento del jtree
 void LeeArbol()
          LeeArbol es el metodo para llamar a transformar y pasar la información del arbol al jtxpDocumento
protected  void mostrarMensaje(java.lang.String mensaje)
          Muestra un mensaje en un JOptionPane y te da la opcion de elegir si guardar o no.
 void setEstilo(boolean estiloPredet)
          setEstilo devuelve el estilo que vamos a poner en el jtxpDocumento
 void setJtreDocumento(javax.swing.JTree jtreDocumento)
          setJtreDocumento metodo para insertar el jtree
 java.lang.String transformar()
          transformar es el metodo que transforma el resultado a xml legible por html
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

xslOrigen

java.lang.String xslOrigen

estiloPredet

private boolean estiloPredet

docPpal

DocumentoReq docPpal

auxGD

GestorDocus auxGD

filtroHtml

FiltroHTML filtroHtml

filtro

Filtro filtro

CU

CasodeUso CU

PS

PasoCU PS

Ob

Objetivo Ob

RI

RequisitoInformacion RI

Fila

java.lang.String Fila

Columna

java.lang.String Columna

evt

java.awt.event.ActionEvent evt

resultado

java.lang.String resultado

jInternalFrame1

private javax.swing.JInternalFrame jInternalFrame1

jScrollPane1

private javax.swing.JScrollPane jScrollPane1

jScrollPane2

private javax.swing.JScrollPane jScrollPane2

jSeparator1

private javax.swing.JToolBar.Separator jSeparator1

jSeparator2

private javax.swing.JToolBar.Separator jSeparator2

jSeparator3

private javax.swing.JToolBar.Separator jSeparator3

jSeparator4

private javax.swing.JToolBar.Separator jSeparator4

jToolBar1

private javax.swing.JToolBar jToolBar1

jbtnActor

private javax.swing.JButton jbtnActor

jbtnDatoEspecifico

private javax.swing.JButton jbtnDatoEspecifico

jbtnFicheroGrafico

private javax.swing.JButton jbtnFicheroGrafico

jbtnMatrizRastreabilidad

private javax.swing.JButton jbtnMatrizRastreabilidad

jbtnObjetivo

private javax.swing.JButton jbtnObjetivo

jbtnOrganizacion

private javax.swing.JButton jbtnOrganizacion

jbtnParrafo

private javax.swing.JButton jbtnParrafo

jbtnParticipante

private javax.swing.JButton jbtnParticipante

jbtnReqFuncional

private javax.swing.JButton jbtnReqFuncional

jbtnReqInformacion

private javax.swing.JButton jbtnReqInformacion

jbtnReqNoFuncional

private javax.swing.JButton jbtnReqNoFuncional

jbtnReqRestriccion

private javax.swing.JButton jbtnReqRestriccion

jbtnReunion

private javax.swing.JButton jbtnReunion

jbtnSeccion

private javax.swing.JButton jbtnSeccion

jbtnSubobjetivo

private javax.swing.JButton jbtnSubobjetivo

jlblMensaje

private javax.swing.JLabel jlblMensaje

jmniAbrir

private javax.swing.JMenuItem jmniAbrir

jmniDE

private javax.swing.JMenuItem jmniDE

jmniEditar

private javax.swing.JMenuItem jmniEditar

jmniEliminar

private javax.swing.JMenuItem jmniEliminar

jmniExcepcion

private javax.swing.JMenuItem jmniExcepcion

jmniExcepcion1

private javax.swing.JMenuItem jmniExcepcion1

jmniGuardar

private javax.swing.JMenuItem jmniGuardar

jmniGuardarHTML

private javax.swing.JMenuItem jmniGuardarHTML

jmniLeeArbol

private javax.swing.JMenuItem jmniLeeArbol

jmniNuevo

public javax.swing.JMenuItem jmniNuevo

jmniNuevoCU

private javax.swing.JMenuItem jmniNuevoCU

jmniPaso

private javax.swing.JMenuItem jmniPaso

jmniPaso1

private javax.swing.JMenuItem jmniPaso1

jmniSUBO

private javax.swing.JMenuItem jmniSUBO

jmniSalir

private javax.swing.JMenuItem jmniSalir

jmniXSL

private javax.swing.JMenuItem jmniXSL

jmnuArchivo

private javax.swing.JMenu jmnuArchivo

jmnuBarraPpal

private javax.swing.JMenuBar jmnuBarraPpal

jmnuCU

private javax.swing.JMenu jmnuCU

jmnuHerramientas

private javax.swing.JMenu jmnuHerramientas

jmnuSalir

private javax.swing.JMenu jmnuSalir

jppupMenu

private javax.swing.JPopupMenu jppupMenu

jtreDocumento

private javax.swing.JTree jtreDocumento

jtxpDocumento

private javax.swing.JTextPane jtxpDocumento
Constructor Detail

jfrmPrincipal

public jfrmPrincipal(java.lang.String aresultado)
Constructor de JFrame Principal

Method Detail

initComponents

private void initComponents()
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.


jbtnParrafoActionPerformed

private void jbtnParrafoActionPerformed(java.awt.event.ActionEvent evt)
jbtnParrafoActionPerformed Activa el boton parrafo

Parameters:
evt -

LeeArbol

public void LeeArbol()
LeeArbol es el metodo para llamar a transformar y pasar la información del arbol al jtxpDocumento


transformar

public java.lang.String transformar()
                             throws java.lang.Exception
transformar es el metodo que transforma el resultado a xml legible por html

Returns:
devuleve el resultado transformado
Throws:
java.lang.Exception

jmniNuevoCUActionPerformed

private void jmniNuevoCUActionPerformed(java.awt.event.ActionEvent evt)
jmniNuevoCUActionPerformed Activa el menu item caso de uso

Parameters:
evt -

jmniSalirActionPerformed

private void jmniSalirActionPerformed(java.awt.event.ActionEvent evt)
jmniSalirActionPerformed Activa el menu item salir

Parameters:
evt -

jmniPasoActionPerformed

private void jmniPasoActionPerformed(java.awt.event.ActionEvent evt)
jmniPasoActionPerformed Activa el menu item paso

Parameters:
evt -

jmniExcepcionActionPerformed

private void jmniExcepcionActionPerformed(java.awt.event.ActionEvent evt)
jmniExcepcionActionPerformed Activa el menu item excepcion

Parameters:
evt -

jbtnReqInformacionActionPerformed

private void jbtnReqInformacionActionPerformed(java.awt.event.ActionEvent evt)
jbtnReqInformacionActionPerformed Activa el boton requisito de informacion

Parameters:
evt -

jbtnReqRestriccionActionPerformed

private void jbtnReqRestriccionActionPerformed(java.awt.event.ActionEvent evt)
jbtnReqRestriccionActionPerformed Activa el boton requisto de restriccion

Parameters:
evt -

jbtnReqFuncionalActionPerformed

private void jbtnReqFuncionalActionPerformed(java.awt.event.ActionEvent evt)
jbtnReqFuncionalActionPerformed Activa el boton requisito funcional

Parameters:
evt -

jbtnReqNoFuncionalActionPerformed

private void jbtnReqNoFuncionalActionPerformed(java.awt.event.ActionEvent evt)
jbtnReqNoFuncionalActionPerformed Activa el boton requisito no funcional

Parameters:
evt -

jbtnDatoEspecificoActionPerformed

private void jbtnDatoEspecificoActionPerformed(java.awt.event.ActionEvent evt)
jbtnDatoEspecificoActionPerformed Activa el boton dato especifico

Parameters:
evt -

jbtnActorActionPerformed

private void jbtnActorActionPerformed(java.awt.event.ActionEvent evt)
jbtnActorActionPerformed Activa el boton actor

Parameters:
evt -

jbtnObjetivoActionPerformed

private void jbtnObjetivoActionPerformed(java.awt.event.ActionEvent evt)
jbtnObjetivoActionPerformed Activa el boton objetivo

Parameters:
evt -

jbtnParticipanteActionPerformed

private void jbtnParticipanteActionPerformed(java.awt.event.ActionEvent evt)
jbtnParticipanteActionPerformed Activa el boton participante

Parameters:
evt -

jbtnReunionActionPerformed

private void jbtnReunionActionPerformed(java.awt.event.ActionEvent evt)
jbtnReunionActionPerformed Activa el boton reunion

Parameters:
evt -

jbtnSubobjetivoActionPerformed

private void jbtnSubobjetivoActionPerformed(java.awt.event.ActionEvent evt)
jbtnSubobjetivoActionPerformed Activa el boton Subobjetivo

Parameters:
evt -

jbtnMatrizRastreabilidadActionPerformed

private void jbtnMatrizRastreabilidadActionPerformed(java.awt.event.ActionEvent evt)
jbtnMatrizRastreabilidadActionPerformed Activa el boton matriz de rastreabilidad

Parameters:
evt -

jppupMenuPopupMenuWillBecomeVisible

private void jppupMenuPopupMenuWillBecomeVisible(javax.swing.event.PopupMenuEvent evt)
jppupMenuPopupMenuWillBecomeVisible es el metodo para que cuando pulses boton derecho en el jtree salgan los menus que corresponda a cada elemento del jtree

Parameters:
evt -

jmniEliminarActionPerformed

private void jmniEliminarActionPerformed(java.awt.event.ActionEvent evt)
jmniEliminarActionPerformed Activa el menu item eliminar

Parameters:
evt -

jmniEditarActionPerformed

private void jmniEditarActionPerformed(java.awt.event.ActionEvent evt)
jmniEditarActionPerformed Activa el menu item editar

Parameters:
evt -

jbtnFicheroGraficoActionPerformed

private void jbtnFicheroGraficoActionPerformed(java.awt.event.ActionEvent evt)
jbtnFicheroGraficoActionPerformed Activa el boton fichero grafico

Parameters:
evt -

jbtnSeccionActionPerformed

private void jbtnSeccionActionPerformed(java.awt.event.ActionEvent evt)
jbtnSeccionActionPerformed Activa el boton seccion

Parameters:
evt -

jbtnOrganizacionActionPerformed

private void jbtnOrganizacionActionPerformed(java.awt.event.ActionEvent evt)
jbtnOrganizacionActionPerformed Activa el boton organizacion

Parameters:
evt -

jmniGuardarHTMLActionPerformed

private void jmniGuardarHTMLActionPerformed(java.awt.event.ActionEvent evt)
jmniGuardarHTMLActionPerformed Activa el menu item guardar HTML

Parameters:
evt -

jmniLeeArbolActionPerformed

private void jmniLeeArbolActionPerformed(java.awt.event.ActionEvent evt)
jmniLeeArbolActionPerformed Activa el menu item leer arbol

Parameters:
evt -

jmniXSLActionPerformed

private void jmniXSLActionPerformed(java.awt.event.ActionEvent evt)
jmniXSLActionPerformed Activa el menu item XSL

Parameters:
evt -

jmniNuevoActionPerformed

private void jmniNuevoActionPerformed(java.awt.event.ActionEvent evt)
jmniNuevoActionPerformed Activa el menu item nuevo

Parameters:
evt -

jmniAbrirActionPerformed

private void jmniAbrirActionPerformed(java.awt.event.ActionEvent evt)
jmniAbrirActionPerformed Activa el menu item abrir

Parameters:
evt -

jmniGuardarActionPerformed

private void jmniGuardarActionPerformed(java.awt.event.ActionEvent evt)
jmniGuardarActionPerformed Activa el menu item guardar

Parameters:
evt -

jmniSUBOActionPerformed

private void jmniSUBOActionPerformed(java.awt.event.ActionEvent evt)
jmniSUBOActionPerformed Activa el menu item subobjetivo

Parameters:
evt -

jmniDEActionPerformed

private void jmniDEActionPerformed(java.awt.event.ActionEvent evt)
jmniDEActionPerformed Activa el menu item dato especifico

Parameters:
evt -

jmniExcepcion1ActionPerformed

private void jmniExcepcion1ActionPerformed(java.awt.event.ActionEvent evt)
jmniExcepcion1ActionPerformed Activa el menu item excepcion

Parameters:
evt -

jmniPaso1ActionPerformed

private void jmniPaso1ActionPerformed(java.awt.event.ActionEvent evt)
jmniPaso1ActionPerformed Activa el menu item paso

Parameters:
evt -

formWindowClosing

private void formWindowClosing(java.awt.event.WindowEvent evt)
formWindowClosing es el metodo al que se llama cuando se esta cerrando para mostrar un mensaje

Parameters:
evt -

boton_derecho

public void boton_derecho(int i)
boton_derecho es el metodo al que se le pasa la opcion para colocar el menu correspondiente a cada elemento

Parameters:
i -

getJtreDocumento

public javax.swing.JTree getJtreDocumento()
getJtreDocumento metodo para devolver el jtree

Returns:
the jtreDocumento

setJtreDocumento

public void setJtreDocumento(javax.swing.JTree jtreDocumento)
setJtreDocumento metodo para insertar el jtree

Parameters:
jtreDocumento - the jtreDocumento to set

mostrarMensaje

protected void mostrarMensaje(java.lang.String mensaje)
Muestra un mensaje en un JOptionPane y te da la opcion de elegir si guardar o no.

Parameters:
mensaje - a mostrar en el JOptionPane

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer

setEstilo

public void setEstilo(boolean estiloPredet)
setEstilo devuelve el estilo que vamos a poner en el jtxpDocumento

Parameters:
estiloPredet - the estiloPredet to set