11-. Código. Capítulo 11: 11: Javadoc. Javadoc. - 209 - 11-. Javadoc. 11. Javadoc. Javadoc es una utilidad de Sun Microsystems que permite documentar de manera rápida y sencilla clases Java, mostrando esta documentación de forma gráfica en formato HTML. Se incluye en este capítulo la documentación Javadoc representativa de las clases que constituyen la herramienta implementada en este proyecto. Class Annotation java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog Annotation All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants public class Annotation extends javax.swing.JDialog Clase encargada de la creación de un cuadro de diálogo para la inserción de un elemento Annotation. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. See Also: Serialized Form Nested Class Summary Nested classes inherited from class javax.swing.JDialog javax.swing.JDialog.AccessibleJDialog Nested classes inherited from class java.awt.Dialog java.awt.Dialog.AccessibleAWTDialog Nested classes inherited from class java.awt.Window - 211 - 11-. Javadoc. java.awt.Window.AccessibleAWTWindow Nested classes inherited from class java.awt.Container java.awt.Container.AccessibleAWTContainer Nested classes inherited from class java.awt.Component java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy Field Summary (package private) app javax.swing.JRadioButton (package private) cerrado boolean (package private) doc javax.swing.JRadioButton (package private) group javax.swing.ButtonGroup (package private) jtf javax.swing.JTextField (package private) lenguaje javax.swing.JTextField Fields inherited from class javax.swing.JDialog accessibleContext, rootPane, rootPaneCheckingEnabled Fields inherited from class java.awt.Dialog Fields inherited from class java.awt.Window Fields inherited from class java.awt.Container Fields inherited from class java.awt.Component BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT - 212 - 11-. Javadoc. Fields inherited from interface javax.swing.WindowConstants DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE Fields inherited from interface java.awt.image.ImageObserver ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH Constructor Summary (package Annotation() private) Constructor de la clase. Method Summary void inicializar() Método encargado de la creación de los elementos que forman el cuadro de diálogo. Methods inherited from class javax.swing.JDialog addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update Methods inherited from class java.awt.Dialog addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show Methods inherited from class java.awt.Window addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront - 213 - 11-. Javadoc. 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle - 214 - 11-. Javadoc. Methods inherited from class java.lang.Object clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait Field Detail doc javax.swing.JRadioButton doc app javax.swing.JRadioButton app group javax.swing.ButtonGroup group jtf javax.swing.JTextField jtf lenguaje javax.swing.JTextField lenguaje cerrado boolean cerrado Constructor Detail Annotation Annotation() Constructor de la clase. Method Detail inicializar public void inicializar() Método encargado de la creación de los elementos que forman el cuadro de diálogo. - 215 - 11-. Javadoc. Class AnnotationPCL java.lang.Object AnnotationPCL All Implemented Interfaces: java.util.EventListener, java.beans.PropertyChangeListener public class AnnotationPCL extends java.lang.Object implements java.beans.PropertyChangeListener Clase que escucha cambios en las propiedades del cuadro de diálogo creado por la clase Annotation. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) btnString1 java.lang.String (package private) btnString2 java.lang.String (package private) d javax.swing.JDialog (package private) jop javax.swing.JOptionPane (package private) jtf javax.swing.JTextField (package private) lenguaje javax.swing.JTextField (package private) typedText java.lang.String (package private) typedText2 java.lang.String Constructor Summary (package AnnotationPCL(javax.swing.JDialog dialogo, private) javax.swing.JOptionPane option, javax.swing.JTextField textField, javax.swing.JTextField lang) Constructor de la clase. Method Summary - 216 - 11-. Javadoc. void propertyChange(java.beans.PropertyChangeEvent e) Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail d javax.swing.JDialog d jop javax.swing.JOptionPane jop jtf javax.swing.JTextField jtf lenguaje javax.swing.JTextField lenguaje btnString1 final java.lang.String btnString1 See Also: Constant Field Values btnString2 final java.lang.String btnString2 See Also: Constant Field Values typedText java.lang.String typedText typedText2 java.lang.String typedText2 Constructor Detail - 217 - 11-. Javadoc. AnnotationPCL AnnotationPCL(javax.swing.JDialog dialogo, javax.swing.JOptionPane option, javax.swing.JTextField textField, javax.swing.JTextField lang) Constructor de la clase. Method Detail propertyChange public void propertyChange(java.beans.PropertyChangeEvent e) Specified by: propertyChange in interface java.beans.PropertyChangeListener - 218 - 11-. Javadoc. Class AnnotationRL java.lang.Object AnnotationRL All Implemented Interfaces: java.awt.event.ActionListener, java.util.EventListener public class AnnotationRL extends java.lang.Object implements java.awt.event.ActionListener Clase que escucha las acciones realizadas sobre los botones de radio de la clase Attribute. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) docString java.lang.String (package private) jtf javax.swing.JTextField Constructor Summary (package AnnotationRL(javax.swing.JTextField lenguaje) private) Constructor de la clase. Method Summary void actionPerformed(java.awt.event.ActionEvent e) Activa o desactiva el campo de texto correspondiente al lenguaje, asociado a la opción documentation de la clase Attribute. Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail docString java.lang.String docString - 219 - 11-. Javadoc. jtf javax.swing.JTextField jtf Constructor Detail AnnotationRL AnnotationRL(javax.swing.JTextField lenguaje) Constructor de la clase. Method Detail actionPerformed public void actionPerformed(java.awt.event.ActionEvent e) Activa o desactiva el campo de texto correspondiente al lenguaje, asociado a la opción documentation de la clase Attribute. Specified by: actionPerformed in interface java.awt.event.ActionListener - 220 - 11-. Javadoc. Class Attribute java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog Attribute All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants public class Attribute extends javax.swing.JDialog Clase encargada de la creación de un cuadro de diálogo para la inserción de un elemento Attribute. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. See Also: Serialized Form Nested Class Summary Nested classes inherited from class javax.swing.JDialog javax.swing.JDialog.AccessibleJDialog Nested classes inherited from class java.awt.Dialog java.awt.Dialog.AccessibleAWTDialog Nested classes inherited from class java.awt.Window java.awt.Window.AccessibleAWTWindow Nested classes inherited from class java.awt.Container java.awt.Container.AccessibleAWTContainer Nested classes inherited from class java.awt.Component java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy - 221 - 11-. Javadoc. Field Summary (package private) annotation boolean (package private) cancelado boolean (package private) cerrado boolean (package private) jl1 javax.swing.JLabel (package private) jl2 javax.swing.JLabel (package private) jl3 javax.swing.JLabel (package private) jl4 javax.swing.JLabel (package private) jl5 javax.swing.JLabel (package private) jtf1 javax.swing.JTextField (package private) jtf2 javax.swing.JTextField (package private) jtf3 javax.swing.JTextField (package private) jtf4 javax.swing.JTextField (package private) jtf5 javax.swing.JTextField (package private) lenguaje javax.swing.JTextField Fields inherited from class javax.swing.JDialog accessibleContext, rootPane, rootPaneCheckingEnabled Fields inherited from class java.awt.Dialog Fields inherited from class java.awt.Window Fields inherited from class java.awt.Container - 222 - 11-. Javadoc. 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, EXIT_ON_CLOSE, HIDE_ON_CLOSE Fields inherited from interface java.awt.image.ImageObserver ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH Constructor Summary (package Attribute() private) Constructor de la clase. Method Summary void inicializar() Método encargada de la creación de los elementos que forman el cuadro de diálogo. Methods inherited from class javax.swing.JDialog addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update Methods inherited from class java.awt.Dialog addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show Methods inherited from class java.awt.Window addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, - 223 - 11-. Javadoc. getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, - 224 - 11-. Javadoc. removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle Methods inherited from class java.lang.Object clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait Field Detail jtf1 javax.swing.JTextField jtf1 jtf2 javax.swing.JTextField jtf2 jtf3 javax.swing.JTextField jtf3 jtf4 javax.swing.JTextField jtf4 jtf5 javax.swing.JTextField jtf5 jl1 javax.swing.JLabel jl1 jl2 javax.swing.JLabel jl2 jl3 javax.swing.JLabel jl3 - 225 - 11-. Javadoc. jl4 javax.swing.JLabel jl4 jl5 javax.swing.JLabel jl5 lenguaje javax.swing.JTextField lenguaje annotation boolean annotation cancelado boolean cancelado cerrado boolean cerrado Constructor Detail Attribute Attribute() Constructor de la clase. Method Detail inicializar public void inicializar() Método encargada de la creación de los elementos que forman el cuadro de diálogo. - 226 - 11-. Javadoc. Class AttributeGroup java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog AttributeGroup All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants public class AttributeGroup extends javax.swing.JDialog Clase encargada de la creación de un cuadro de diálogo para la inserción de un elemento AttributeGroup. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. See Also: Serialized Form Nested Class Summary Nested classes inherited from class javax.swing.JDialog javax.swing.JDialog.AccessibleJDialog Nested classes inherited from class java.awt.Dialog java.awt.Dialog.AccessibleAWTDialog Nested classes inherited from class java.awt.Window java.awt.Window.AccessibleAWTWindow Nested classes inherited from class java.awt.Container java.awt.Container.AccessibleAWTContainer Nested classes inherited from class java.awt.Component java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy - 227 - 11-. Javadoc. Field Summary (package private) annotation boolean (package private) cancelado boolean (package private) cerrado boolean (package private) jl1 javax.swing.JLabel (package private) jl2 javax.swing.JLabel (package private) jtf1 javax.swing.JTextField (package private) jtf2 javax.swing.JTextField Fields inherited from class javax.swing.JDialog accessibleContext, rootPane, rootPaneCheckingEnabled Fields inherited from class java.awt.Dialog Fields inherited from class java.awt.Window Fields inherited from class java.awt.Container 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, EXIT_ON_CLOSE, HIDE_ON_CLOSE Fields inherited from interface java.awt.image.ImageObserver ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH - 228 - 11-. Javadoc. Constructor Summary (package AttributeGroup() private) Constructor de la clase. Method Summary void inicializar() Método encargado de la creación de los elementos que forman el cuadro de diálogo. Methods inherited from class javax.swing.JDialog addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update Methods inherited from class java.awt.Dialog addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show Methods inherited from class java.awt.Window addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, - 229 - 11-. Javadoc. isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle Methods inherited from class java.lang.Object clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait Field Detail - 230 - 11-. Javadoc. jtf1 javax.swing.JTextField jtf1 jtf2 javax.swing.JTextField jtf2 jl1 javax.swing.JLabel jl1 jl2 javax.swing.JLabel jl2 annotation boolean annotation cancelado boolean cancelado cerrado boolean cerrado Constructor Detail AttributeGroup AttributeGroup() Constructor de la clase. Method Detail inicializar public void inicializar() Método encargado de la creación de los elementos que forman el cuadro de diálogo. - 231 - 11-. Javadoc. Class AttributeGroupPCL java.lang.Object AttributeGroupPCL All Implemented Interfaces: java.util.EventListener, java.beans.PropertyChangeListener public class AttributeGroupPCL extends java.lang.Object implements java.beans.PropertyChangeListener Clase que escucha cambios en las propiedades del cuadro de diálogo creado por la clase AttributeGroup. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) btnString1 java.lang.String (package private) btnString2 java.lang.String (package private) d AttributeGroup (package private) jcb javax.swing.JCheckBox (package private) jop javax.swing.JOptionPane (package private) name javax.swing.JTextField (package private) number javax.swing.JTextField (package private) typedText java.lang.String (package private) typedText2 java.lang.String Constructor Summary (package AttributeGroupPCL(AttributeGroup dialogo, private) javax.swing.JOptionPane option, javax.swing.JTextField nombre, javax.swing.JTextField num_att, javax.swing.JCheckBox box) Constructor de la clase. - 232 - 11-. Javadoc. Method Summary void propertyChange(java.beans.PropertyChangeEvent e) Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail d AttributeGroup d jop javax.swing.JOptionPane jop name javax.swing.JTextField name number javax.swing.JTextField number jcb javax.swing.JCheckBox jcb btnString1 final java.lang.String btnString1 See Also: Constant Field Values btnString2 final java.lang.String btnString2 See Also: Constant Field Values typedText java.lang.String typedText - 233 - 11-. Javadoc. typedText2 java.lang.String typedText2 Constructor Detail AttributeGroupPCL AttributeGroupPCL(AttributeGroup dialogo, javax.swing.JOptionPane option, javax.swing.JTextField nombre, javax.swing.JTextField num_att, javax.swing.JCheckBox box) Constructor de la clase. Method Detail propertyChange public void propertyChange(java.beans.PropertyChangeEvent e) Specified by: propertyChange in interface java.beans.PropertyChangeListener - 234 - 11-. Javadoc. Class AttributePCL java.lang.Object AttributePCL All Implemented Interfaces: java.util.EventListener, java.beans.PropertyChangeListener public class AttributePCL extends java.lang.Object implements java.beans.PropertyChangeListener Clase que escucha cambios en las propiedades del cuadro de diálogo creado por la clase Attribute. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) btnString1 java.lang.String (package private) btnString2 java.lang.String (package private) d Attribute (package private) jcb javax.swing.JCheckBox (package private) jop javax.swing.JOptionPane (package private) name javax.swing.JTextField (package private) type javax.swing.JTextField (package private) typedText java.lang.String (package private) typedText2 java.lang.String Constructor Summary (package AttributePCL(Attribute dialogo, private) javax.swing.JOptionPane option, javax.swing.JTextField nombre, javax.swing.JTextField tipo, javax.swing.JCheckBox box) Constructor de la clase. - 235 - 11-. Javadoc. Method Summary void propertyChange(java.beans.PropertyChangeEvent e) Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail d Attribute d jop javax.swing.JOptionPane jop name javax.swing.JTextField name type javax.swing.JTextField type jcb javax.swing.JCheckBox jcb btnString1 final java.lang.String btnString1 See Also: Constant Field Values btnString2 final java.lang.String btnString2 See Also: Constant Field Values typedText java.lang.String typedText - 236 - 11-. Javadoc. typedText2 java.lang.String typedText2 Constructor Detail AttributePCL AttributePCL(Attribute dialogo, javax.swing.JOptionPane option, javax.swing.JTextField nombre, javax.swing.JTextField tipo, javax.swing.JCheckBox box) Constructor de la clase. Method Detail propertyChange public void propertyChange(java.beans.PropertyChangeEvent e) Specified by: propertyChange in interface java.beans.PropertyChangeListener - 237 - 11-. Javadoc. Class CodeDocument java.lang.Object javax.swing.text.AbstractDocument javax.swing.text.DefaultStyledDocument CodeDocument All Implemented Interfaces: javax.swing.text.Document, java.io.Serializable, javax.swing.text.StyledDocument public class CodeDocument extends javax.swing.text.DefaultStyledDocument Clase encargada del tratamiento del texto que se inserta en un panel de edición. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. See Also: Serialized Form Nested Class Summary Nested classes inherited from class javax.swing.text.DefaultStyledDocument javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit, javax.swing.text.DefaultStyledDocument.ElementBuffer, javax.swing.text.DefaultStyledDocument.ElementSpec, javax.swing.text.DefaultStyledDocument.SectionElement Nested classes inherited from class javax.swing.text.AbstractDocument javax.swing.text.AbstractDocument.AbstractElement, javax.swing.text.AbstractDocument.AttributeContext, javax.swing.text.AbstractDocument.BranchElement, javax.swing.text.AbstractDocument.Content, javax.swing.text.AbstractDocument.DefaultDocumentEvent, javax.swing.text.AbstractDocument.ElementEdit, javax.swing.text.AbstractDocument.LeafElement Field Summary (package private) abre_comment int (package private) abre_PI int (package private) cierra_comment int (package private) cierra_PI - 238 - 11-. Javadoc. int (package private) cierre boolean (package private) cierre_com boolean (package private) cierre_pi boolean static int COMMENT_MODE private int currentPos (package private) insertando_varios boolean (package private) jep MyJEditorPane private keywords java.util.Vector (package private) leer boolean private int mode (package private) palabra_clave boolean static int PI_MODE (package private) posicion_aux int (package private) posicion_previa int (package private) prefijo java.lang.String static int STRING_MODE static int TEXT_MODE private word java.lang.String Fields inherited from class javax.swing.text.DefaultStyledDocument buffer, BUFFER_SIZE_DEFAULT Fields inherited from class javax.swing.text.AbstractDocument - 239 - 11-. Javadoc. BAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementName Fields inherited from interface javax.swing.text.Document StreamDescriptionProperty, TitleProperty Constructor Summary CodeDocument(MyJEditorPane j) Constructor de la clase. Method Summary void buscar_comment() Método que busca comentario. void buscar_PI() Método que busca PIs. void checkForComment() Método que cambia a modo comentario o modo texto si es necesario, y sustituye cierto texto en color verde mediante insertCommentString(). void checkForKeyword() Método que busca si hay palabras clave en la línea y la escribe en color azul en caso de encontrar alguna. void checkForPI() Método que cambia a modo PI o modo texto si es necesario, y sustituye cierto texto en color rojo mediante insertPIString(). void checkForString() Método que cuenta el número de comillas simples o dobles en la línea en que nos encontramos y activa el modo String si es necesario. void etiqueta_cierre() Método para insertar la etiqueta de cierre para una etiqueta de apertura (si procede). void insertCloseSign(java.lang.String str, int pos) Método para insertar el símbolo de cierre de etiqueta en color rojo. void insertCommentString(java.lang.String str, int pos) Método para insertar comentarios en color verde. void insertKeyword(java.lang.String str, int pos) Método para insertar palabras clave en color azul. void insertOpenSign(java.lang.String str, int pos) Método para insertar el símbolo de apertura de etiqueta en color rojo. void insertPIString(java.lang.String st, int pos) Método para insertar PIs en color rojo. void insertString(int offs, java.lang.String str, javax.swing.text.AttributeSet a) - 240 - 11-. Javadoc. Método sobrescrito:acepta cualquier longitud de cadena y realiza el procesamiento de caracteres. void insertTextString(java.lang.String str, int pos) Método para insertar texto entrecomillado en color rosa. void processChar(char strChar) Método que convierte el char que se le pasa como parámetro a String y llama a proccessChar(String str). void processChar(java.lang.String str) Método que procesa cada caracter para ver en qué modo estamos, a qué modo hay que pasar y cuales son las acciones a realizar. void setKeywords(java.util.Vector aKeywordList) Método que asigna el vector pasado como parámetro a la variable keywords. Methods inherited from class javax.swing.text.DefaultStyledDocument addDocumentListener, addStyle, create, createDefaultRoot, getBackground, getCharacterElement, getDefaultRootElement, getFont, getForeground, getLogicalStyle, getParagraphElement, getStyle, getStyleNames, insert, insertUpdate, removeDocumentListener, removeStyle, removeUpdate, setCharacterAttributes, setLogicalStyle, setParagraphAttributes, styleChanged Methods inherited from class javax.swing.text.AbstractDocument addUndoableEditListener, createBranchElement, createLeafElement, createPosition, dump, fireChangedUpdate, fireInsertUpdate, fireRemoveUpdate, fireUndoableEditUpdate, getAsynchronousLoadPriority, getAttributeContext, getBidiRootElement, getContent, getCurrentWriter, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, postRemoveUpdate, putProperty, readLock, readUnlock, remove, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlock Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Methods inherited from interface javax.swing.text.Document addUndoableEditListener, createPosition, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, putProperty, remove, removeUndoableEditListener, render Field Detail - 241 - 11-. Javadoc. prefijo java.lang.String prefijo jep MyJEditorPane jep leer boolean leer word private java.lang.String word currentPos private int currentPos keywords private java.util.Vector keywords STRING_MODE public static int STRING_MODE TEXT_MODE public static int TEXT_MODE PI_MODE public static int PI_MODE COMMENT_MODE public static int COMMENT_MODE mode private int mode insertando_varios boolean insertando_varios - 242 - 11-. Javadoc. palabra_clave boolean palabra_clave posicion_previa int posicion_previa posicion_aux int posicion_aux cierre boolean cierre cierre_com boolean cierre_com cierre_pi boolean cierre_pi abre_comment int abre_comment cierra_comment int cierra_comment abre_PI int abre_PI cierra_PI int cierra_PI Constructor Detail CodeDocument public CodeDocument(MyJEditorPane j) Constructor de la clase. Method Detail insertString public void insertString(int offs,java.lang.String str, - 243 - 11-. Javadoc. javax.swing.text.AttributeSet a) throws javax.swing.text.BadLocationException Método sobrescrito: acepta cualquier longitud de cadena y realiza el procesamiento de caracteres. Throws: javax.swing.text.BadLocationException processChar public void processChar(char strChar) Método que convierte el char que se le pasa como parámetro a String y llama a proccessChar(String str). processChar public void processChar(java.lang.String str) Método que procesa cada caracter para ver en qué modo estamos, a qué modo hay que pasar y cuales son las acciones a realizar. checkForString public void checkForString() Método que cuenta el número de comillas simples o dobles en la línea en que nos encontramos y activa el modo String si es necesario. checkForKeyword public void checkForKeyword() Método que busca si hay palabras clave en la línea y la escribe en color azul en caso de encontrar alguna. checkForComment public void checkForComment() Método que cambia a modo comentario o modo texto si es necesario, y sustituye cierto texto en color verde mediante insertCommentString(). checkForPI public void checkForPI() Método que cambia a modo PI o modo texto si es necesario, y sustituye cierto texto en color rojo mediante insertPIString(). buscar_comment public void buscar_comment() Método que busca comentario. Se utiliza en el caso en que hayamos cambiado el cursor de posición. - 244 - 11-. Javadoc. buscar_PI public void buscar_PI() Método que busca PIs. Se utiliza en el caso en que hayamos cambiado el cursor de posición. insertKeyword public void insertKeyword(java.lang.String str, int pos) Método para insertar palabras clave en color azul. insertTextString public void insertTextString(java.lang.String str, int pos) Método para insertar texto entrecomillado en color rosa. insertCommentString public void insertCommentString(java.lang.String str, int pos) Método para insertar comentarios en color verde. insertPIString public void insertPIString(java.lang.String st, int pos) Método para insertar PIs en color rojo. insertOpenSign public void insertOpenSign(java.lang.String str, int pos) Método para insertar el símbolo de apertura de etiqueta en color rojo. insertCloseSign public void insertCloseSign(java.lang.String str, int pos) Método para insertar el símbolo de cierre de etiqueta en color rojo. etiqueta_cierre public void etiqueta_cierre() Método para insertar la etiqueta de cierre para una etiqueta de apertura (si procede). setKeywords public void setKeywords(java.util.Vector aKeywordList) Método que asigna el vector pasado como parámetro a la variable keywords. - 245 - 11-. Javadoc. Class EventHandler java.lang.Object EventHandler All Implemented Interfaces: java.awt.event.ActionListener, java.util.EventListener public class EventHandler extends java.lang.Object implements java.awt.event.ActionListener Clase que escucha las acciones que el usuario realiza en la GUI. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package i private) Inicial Constructor Summary (package EventHandler(Inicial application) private) Constructor de la clase. Method Summary void actionPerformed(java.awt.event.ActionEvent e) Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail i Inicial i Constructor Detail EventHandler EventHandler(Inicial application) - 246 - 11-. Javadoc. Constructor de la clase. Method Detail actionPerformed public void actionPerformed(java.awt.event.ActionEvent e) Specified by: actionPerformed in interface java.awt.event.ActionListener - 247 - 11-. Javadoc. Class Import java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog Import All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants public class Import extends javax.swing.JDialog Clase encargada de la creación de un cuadro de diálogo para la inserción de un elemento Import. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. See Also: Serialized Form Nested Class Summary Nested classes inherited from class javax.swing.JDialog javax.swing.JDialog.AccessibleJDialog Nested classes inherited from class java.awt.Dialog java.awt.Dialog.AccessibleAWTDialog Nested classes inherited from class java.awt.Window java.awt.Window.AccessibleAWTWindow Nested classes inherited from class java.awt.Container java.awt.Container.AccessibleAWTContainer Nested classes inherited from class java.awt.Component java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy - 248 - 11-. Javadoc. Field Summary (package private) annotation boolean (package private) cancelado boolean (package private) cerrado boolean (package private) jtf1 javax.swing.JTextField (package private) jtf2 javax.swing.JTextField (package private) jtf3 javax.swing.JTextField Fields inherited from class javax.swing.JDialog accessibleContext, rootPane, rootPaneCheckingEnabled Fields inherited from class java.awt.Dialog Fields inherited from class java.awt.Window Fields inherited from class java.awt.Container 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, EXIT_ON_CLOSE, HIDE_ON_CLOSE Fields inherited from interface java.awt.image.ImageObserver ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH Constructor Summary (package Import() - 249 - 11-. Javadoc. private) Method Summary void inicializar() Método encargado de la creación de los elementos que forman el cuadro de diálogo. Methods inherited from class javax.swing.JDialog addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update Methods inherited from class java.awt.Dialog addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show Methods inherited from class java.awt.Window addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, - 250 - 11-. Javadoc. setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle Methods inherited from class java.lang.Object clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait Field Detail jtf1 javax.swing.JTextField jtf1 - 251 - 11-. Javadoc. jtf2 javax.swing.JTextField jtf2 jtf3 javax.swing.JTextField jtf3 annotation boolean annotation cancelado boolean cancelado cerrado boolean cerrado Constructor Detail Import Import() Method Detail inicializar public void inicializar() Método encargado de la creación de los elementos que forman el cuadro de diálogo. - 252 - 11-. Javadoc. Class ImportPCL java.lang.Object ImportPCL All Implemented Interfaces: java.util.EventListener, java.beans.PropertyChangeListener public class ImportPCL extends java.lang.Object implements java.beans.PropertyChangeListener Clase que escucha cambios en las propiedades del cuadro de diálogo creado por la clase Import. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) btnString1 java.lang.String (package private) btnString2 java.lang.String (package private) d Import (package private) id java.lang.String (package private) jcb javax.swing.JCheckBox (package private) jop javax.swing.JOptionPane (package private) namespace java.lang.String (package private) schemaLoc java.lang.String Constructor Summary (package ImportPCL(Import dialogo, javax.swing.JOptionPane option, private) javax.swing.JCheckBox box) Method Summary void propertyChange(java.beans.PropertyChangeEvent e) - 253 - 11-. Javadoc. Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail id java.lang.String id namespace java.lang.String namespace schemaLoc java.lang.String schemaLoc d Import d jop javax.swing.JOptionPane jop btnString1 final java.lang.String btnString1 See Also: Constant Field Values btnString2 final java.lang.String btnString2 See Also: Constant Field Values jcb javax.swing.JCheckBox jcb Constructor Detail ImportPCL ImportPCL(Import dialogo, - 254 - 11-. Javadoc. javax.swing.JOptionPane option, javax.swing.JCheckBox box) Method Detail propertyChange public void propertyChange(java.beans.PropertyChangeEvent e) Specified by: propertyChange in interface java.beans.PropertyChangeListener - 255 - 11-. Javadoc. Class Include java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog Include All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants public class Include extends javax.swing.JDialog Clase encargada de la creación de un cuadro de diálogo para la inserción de un elemento Include. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. See Also: Serialized Form Nested Class Summary Nested classes inherited from class javax.swing.JDialog javax.swing.JDialog.AccessibleJDialog Nested classes inherited from class java.awt.Dialog java.awt.Dialog.AccessibleAWTDialog Nested classes inherited from class java.awt.Window java.awt.Window.AccessibleAWTWindow Nested classes inherited from class java.awt.Container java.awt.Container.AccessibleAWTContainer Nested classes inherited from class java.awt.Component java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy - 256 - 11-. Javadoc. Field Summary (package private) annotation boolean (package private) cancelado boolean (package private) cerrado boolean (package private) jtf1 javax.swing.JTextField (package private) jtf2 javax.swing.JTextField Fields inherited from class javax.swing.JDialog accessibleContext, rootPane, rootPaneCheckingEnabled Fields inherited from class java.awt.Dialog Fields inherited from class java.awt.Window Fields inherited from class java.awt.Container 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, EXIT_ON_CLOSE, HIDE_ON_CLOSE Fields inherited from interface java.awt.image.ImageObserver ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH Constructor Summary (package Include() private) Constructor de la clase. - 257 - 11-. Javadoc. Method Summary void inicializar() Método encargado de la creación de los elementos que forman el cuadro de diálogo. Methods inherited from class javax.swing.JDialog addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update Methods inherited from class java.awt.Dialog addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show Methods inherited from class java.awt.Window addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree - 258 - 11-. Javadoc. 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle Methods inherited from class java.lang.Object clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait Field Detail jtf1 javax.swing.JTextField jtf1 - 259 - 11-. Javadoc. jtf2 javax.swing.JTextField jtf2 annotation boolean annotation cancelado boolean cancelado cerrado boolean cerrado Constructor Detail Include Include() Constructor de la clase. Method Detail inicializar public void inicializar() Método encargado de la creación de los elementos que forman el cuadro de diálogo. - 260 - 11-. Javadoc. Class IncludePCL java.lang.Object IncludePCL All Implemented Interfaces: java.util.EventListener, java.beans.PropertyChangeListener public class IncludePCL extends java.lang.Object implements java.beans.PropertyChangeListener Clase que escucha cambios en las propiedades del cuadro de diálogo creado por la clase Include. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) btnString1 java.lang.String (package private) btnString2 java.lang.String (package private) d Include (package private) id java.lang.String (package private) jcb javax.swing.JCheckBox (package private) jop javax.swing.JOptionPane (package private) jtf javax.swing.JTextField (package private) schemaLoc java.lang.String (package private) text java.lang.String Constructor Summary (package IncludePCL(Include dialogo, javax.swing.JOptionPane option, private) javax.swing.JCheckBox box, javax.swing.JTextField jtf_schema) Constructor de la clase. - 261 - 11-. Javadoc. Method Summary void propertyChange(java.beans.PropertyChangeEvent e) Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail id java.lang.String id schemaLoc java.lang.String schemaLoc d Include d jop javax.swing.JOptionPane jop jtf javax.swing.JTextField jtf text java.lang.String text btnString1 final java.lang.String btnString1 See Also: Constant Field Values btnString2 final java.lang.String btnString2 See Also: Constant Field Values - 262 - 11-. Javadoc. jcb javax.swing.JCheckBox jcb Constructor Detail IncludePCL IncludePCL(Include dialogo, javax.swing.JOptionPane option, javax.swing.JCheckBox box, javax.swing.JTextField jtf_schema) Constructor de la clase. Method Detail propertyChange public void propertyChange(java.beans.PropertyChangeEvent e) Specified by: propertyChange in interface java.beans.PropertyChangeListener - 263 - 11-. Javadoc. Class Inicial java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame Inicial All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants public class Inicial extends javax.swing.JFrame Clase que inicializa la GUI, y se encarga de la realización de acciones de apertura, cierre, salvaguarda, etc. de ficheros. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. See Also: Serialized Form Nested Class Summary Nested classes inherited from class javax.swing.JFrame javax.swing.JFrame.AccessibleJFrame Nested classes inherited from class java.awt.Frame java.awt.Frame.AccessibleAWTFrame Nested classes inherited from class java.awt.Window java.awt.Window.AccessibleAWTWindow Nested classes inherited from class java.awt.Container java.awt.Container.AccessibleAWTContainer Nested classes inherited from class java.awt.Component java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy - 264 - 11-. Javadoc. Field Summary (package private) aboutEditorMenu javax.swing.JMenuItem (package private) aboutMenu javax.swing.JMenu (package private) boolean abriendo (package private) absoluteName java.lang.String (package private) actions java.util.Hashtable (package private) boolean actualizado (package private) annotationButton javax.swing.JButton (package private) annotationMenu javax.swing.JMenuItem (package private) application static Inicial (package private) attributeButton javax.swing.JButton (package private) attributeGroupButton javax.swing.JButton (package private) attributeGroupMenu javax.swing.JMenuItem (package private) attributeMenu javax.swing.JMenuItem (package private) bf java.io.BufferedReader (package private) bp javax.swing.JPanel (package private) bw java.io.BufferedWriter (package private) boolean cancelado (package private) boolean cerrando (package private) closeAllExceptMenu javax.swing.JMenuItem (package private) closeAllExceptP javax.swing.JMenuItem - 265 - 11-. Javadoc. (package private) closeAllMenu javax.swing.JMenuItem (package private) closeAllP javax.swing.JMenuItem (package private) closeMenu javax.swing.JMenuItem (package private) closeP javax.swing.JMenuItem (package private) complexTypeButton javax.swing.JButton (package private) complexTypeMenu javax.swing.JMenuItem (package private) copyButton javax.swing.JButton (package private) int count (package private) int count_pest (package private) int cuenta_recent (package private) cutButton javax.swing.JButton (package private) doc javax.swing.text.Document (package private) editMenu javax.swing.JMenu (package private) elementButton javax.swing.JButton (package private) elementMenu javax.swing.JMenuItem (package private) eventHandler java.awt.event.ActionListener (package private) exitMenu javax.swing.JMenuItem (package private) fileChooser javax.swing.JFileChooser (package private) fileMenu javax.swing.JMenu (package private) fileName java.lang.String (package private) groupButton javax.swing.JButton (package private) groupMenu - 266 - 11-. Javadoc. javax.swing.JMenuItem (package private) importButton javax.swing.JButton (package private) importMenu javax.swing.JMenuItem (package private) includeButton javax.swing.JButton (package private) includeMenu javax.swing.JMenuItem (package private) insertMenu javax.swing.JMenu (package private) jep MyJEditorPane (package private) jmi1 javax.swing.JMenuItem (package private) jmi2 javax.swing.JMenuItem (package private) jmi3 javax.swing.JMenuItem (package private) jmi4 javax.swing.JMenuItem (package private) jsp javax.swing.JScrollPane (package private) linea java.lang.String (package private) menuBar javax.swing.JMenuBar (package private) newButton javax.swing.JButton (package private) newMenu javax.swing.JMenuItem (package private) notationButton javax.swing.JButton (package private) notationMenu javax.swing.JMenuItem (package private) boolean nuevo (package private) openButton javax.swing.JButton (package private) openMenu javax.swing.JMenuItem (package private) openRecentMenu javax.swing.JMenu - 267 - 11-. Javadoc. (package private) p javax.swing.JPopupMenu (package private) pasteButton javax.swing.JButton (package private) pestana javax.swing.JTabbedPane (package private) popupListener java.awt.event.MouseListener (package private) recentFile java.lang.String[] (package private) redefineButton javax.swing.JButton (package private) redefineMenu javax.swing.JMenuItem (package private) RedoAction redoAction (package private) refreshAndSaveMenu javax.swing.JMenuItem (package private) refreshButton javax.swing.JButton (package private) refreshMenu javax.swing.JMenu (package private) refreshTabMenu javax.swing.JMenuItem (package private) boolean salir (package private) saveAsMenu javax.swing.JMenuItem (package private) saveButton javax.swing.JButton (package private) saveMenu javax.swing.JMenuItem (package private) sb java.lang.StringBuffer (package private) simpleTypeButton javax.swing.JButton (package private) simpleTypeMenu javax.swing.JMenuItem (package private) int SIZE (package private) split javax.swing.JSplitPane (package private) split2 - 268 - 11-. Javadoc. javax.swing.JSplitPane (package private) int tab_index (package private) toolBar javax.swing.JToolBar (package private) tree_jsp javax.swing.JScrollPane (package private) undo javax.swing.undo.UndoManager (package private) UndoAction undoAction 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.Window Fields inherited from class java.awt.Container 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 Inicial(java.lang.String s) Constructor de la clase. - 269 - 11-. Javadoc. Method Summary void actualizarMenu() Método que, al abrir una pestaña PARTIENDO DESDE EL ESTADO INICIAL DEL EDITOR, actualiza los menús, añadiendo elementos a la barra de menú y creando y añadiendo la barra de herramientas. void actualizarRecentMenu(int num_lineas) Método que actualiza el menú de archivos abierto recientemente. void annotation() Método que inserta un elemento Annotation en el esquema. boolean askSave() Método que muestra al usuario un diálogo advirtiéndole que el fichero ha sido modificado y preguntándole si desea salvar. void attribute() Método que inserta un elemento Attribute en el esquema. void attributeGroup() Método que inserta un elemento AttributeGroup en el esquema. void closeAllExceptThis() Método que cierra todas las pestañas abiertas salvo la que está seleccionada cuando la función es invocada. void closeAllFiles() Método que cierra todas las pestañas abiertas. void closeFile() Método que cierra una pestaña y guarda los cambios realizados al documento si fuese necesario. void crearMenuInicial() Método que crea los elementos de menú que conforman el Estado Inicial de la aplicación. void crearRecentMenu() Método que crea el menú de archivos abiertos recientemente. void createActionTable(javax.swing.text.JTextComponent t extComponent) Métodos que crea una tabla de acciones disponibles para un componente de texto.. javax.swing.JMenu createEditMenu() Método que crea los elementos del menú Edit(Menú de Edición). void exit() - 270 - 11-. Javadoc. Método que realiza las acciones y comprobaciones necesarias antes de salir de la aplicación y sale si no se ha cancelado la salida. javax.swing.Actio getActionByName(java.lang.String name) n Método que permiten encontrar una acción dada por el kit de edición utilizando su nombre. void importar() Método que inserta un elemento Import en el esquema. void include() Método que inserta un elemento Include en el esquema. void initConnections() Método que añade los ActionListeners de los menús que aparecen en el estado inicial de la aplicación. void initialize() Método que realiza una serie de acciones para inicializar ciertos elementos necesarios para el buen funcionamiento del programa. static void main(java.lang.String[] args) Método main de la aplicación. void newFile() Método que abre un nuevo fichero en una pestaña. void openFile(boolean recent, java.lang.String recentName) Método que abre un esquema ya existente desde un fichero. void openRecentFile(java.lang.String absName) Método llamado al elegir alguno de los Items de Menú del menú Open Recent File. void refresh() Método que refresca el área de texto y el árbol asociado. void refreshAndSave() Método que refresca el área de texto y el árbol asociado y a continuación salva el documento. void resetearMenu() Método que elimina las barras de menús y de herramientas. void saveFile() Método que salva los datos de un esquema en un fichero. void saveFileAs() Método que salva un fichero con un nombre y ubicación determinados, proporcionados por el usuario. void setUndoableMenu(MyJEditorPane jep) Método que asigna los elementos Undo y Redo correspondientes al documento de texto que se esté tratando en cada instante. - 271 - 11-. Javadoc. Methods inherited from class javax.swing.JFrame addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update Methods inherited from class java.awt.Frame addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, 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, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree Methods inherited from class java.awt.Component - 272 - 11-. Javadoc. 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle Methods inherited from class java.lang.Object clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait Methods inherited from interface java.awt.MenuContainer getFont, postEvent Field Detail application static Inicial application - 273 - 11-. Javadoc. fileChooser javax.swing.JFileChooser fileChooser menuBar javax.swing.JMenuBar menuBar fileMenu javax.swing.JMenu fileMenu aboutMenu javax.swing.JMenu aboutMenu newMenu javax.swing.JMenuItem newMenu openMenu javax.swing.JMenuItem openMenu openRecentMenu javax.swing.JMenu openRecentMenu exitMenu javax.swing.JMenuItem exitMenu aboutEditorMenu javax.swing.JMenuItem aboutEditorMenu closeMenu javax.swing.JMenuItem closeMenu closeAllMenu javax.swing.JMenuItem closeAllMenu closeAllExceptMenu javax.swing.JMenuItem closeAllExceptMenu - 274 - 11-. Javadoc. saveMenu javax.swing.JMenuItem saveMenu saveAsMenu javax.swing.JMenuItem saveAsMenu refreshMenu javax.swing.JMenu refreshMenu refreshTabMenu javax.swing.JMenuItem refreshTabMenu refreshAndSaveMenu javax.swing.JMenuItem refreshAndSaveMenu refreshButton javax.swing.JButton refreshButton insertMenu javax.swing.JMenu insertMenu annotationMenu javax.swing.JMenuItem annotationMenu attributeMenu javax.swing.JMenuItem attributeMenu attributeGroupMenu javax.swing.JMenuItem attributeGroupMenu complexTypeMenu javax.swing.JMenuItem complexTypeMenu elementMenu javax.swing.JMenuItem elementMenu - 275 - 11-. Javadoc. groupMenu javax.swing.JMenuItem groupMenu importMenu javax.swing.JMenuItem importMenu includeMenu javax.swing.JMenuItem includeMenu notationMenu javax.swing.JMenuItem notationMenu redefineMenu javax.swing.JMenuItem redefineMenu simpleTypeMenu javax.swing.JMenuItem simpleTypeMenu editMenu javax.swing.JMenu editMenu toolBar javax.swing.JToolBar toolBar newButton javax.swing.JButton newButton openButton javax.swing.JButton openButton saveButton javax.swing.JButton saveButton cutButton javax.swing.JButton cutButton - 276 - 11-. Javadoc. pasteButton javax.swing.JButton pasteButton copyButton javax.swing.JButton copyButton jep MyJEditorPane jep jsp javax.swing.JScrollPane jsp tree_jsp javax.swing.JScrollPane tree_jsp count int count actualizado boolean actualizado cancelado boolean cancelado fileName java.lang.String fileName absoluteName java.lang.String absoluteName split javax.swing.JSplitPane split split2 javax.swing.JSplitPane split2 - 277 - 11-. Javadoc. bp javax.swing.JPanel bp pestana javax.swing.JTabbedPane pestana p javax.swing.JPopupMenu p popupListener java.awt.event.MouseListener popupListener closeP javax.swing.JMenuItem closeP closeAllP javax.swing.JMenuItem closeAllP closeAllExceptP javax.swing.JMenuItem closeAllExceptP count_pest int count_pest tab_index int tab_index salir boolean salir undoAction UndoAction undoAction redoAction RedoAction redoAction - 278 - 11-. Javadoc. undo javax.swing.undo.UndoManager undo actions java.util.Hashtable actions doc javax.swing.text.Document doc SIZE final int SIZE See Also: Constant Field Values recentFile java.lang.String[] recentFile cuenta_recent int cuenta_recent jmi1 javax.swing.JMenuItem jmi1 jmi2 javax.swing.JMenuItem jmi2 jmi3 javax.swing.JMenuItem jmi3 jmi4 javax.swing.JMenuItem jmi4 nuevo boolean nuevo abriendo boolean abriendo - 279 - 11-. Javadoc. cerrando boolean cerrando bf java.io.BufferedReader bf bw java.io.BufferedWriter bw linea java.lang.String linea sb java.lang.StringBuffer sb annotationButton javax.swing.JButton annotationButton attributeButton javax.swing.JButton attributeButton attributeGroupButton javax.swing.JButton attributeGroupButton complexTypeButton javax.swing.JButton complexTypeButton elementButton javax.swing.JButton elementButton groupButton javax.swing.JButton groupButton importButton javax.swing.JButton importButton - 280 - 11-. Javadoc. includeButton javax.swing.JButton includeButton notationButton javax.swing.JButton notationButton redefineButton javax.swing.JButton redefineButton simpleTypeButton javax.swing.JButton simpleTypeButton eventHandler java.awt.event.ActionListener eventHandler Constructor Detail Inicial public Inicial(java.lang.String s) Constructor de la clase. Parameters: s - Nombre que se dará al marco de la aplicación. Method Detail main public static void main(java.lang.String[] args) Método main de la aplicación. initConnections public void initConnections() Método que añade los ActionListeners de los menús que aparecen en el estado inicial de la aplicación. initialize public void initialize() Método que realiza una serie de acciones para inicializar ciertos elementos necesarios para el buen funcionamiento del programa. newFile public void newFile() Método que abre un nuevo fichero en una pestaña. - 281 - 11-. Javadoc. openFile public void openFile(boolean recent, java.lang.String recentName) Método que abre un esquema ya existente desde un fichero. Parameters: recent - Indica si estamos abriendo un archivo reciente mediante el menú Open Recent File. recentName - Nombre del archivo reciente. openRecentFile public void openRecentFile(java.lang.String absName) Método llamado al elegir alguno de los Items de Menú del menú Open Recent File. Parameters: absName - Ruta absoluta del archivo a abrir. closeFile public void closeFile() Método que cierra una pestaña y guarda los cambios realizados al documento si fuese necesario. closeAllFiles public void closeAllFiles() Método que cierra todas las pestañas abiertas. closeAllExceptThis public void closeAllExceptThis() Método que cierra todas las pestañas abiertas salvo la que está seleccionada cuando la función es invocada. askSave public boolean askSave() Método que muestra al usuario un diálogo advirtiéndole que el fichero ha sido modificado y preguntándole si desea salvar. saveFile public void saveFile() Método que salva los datos de un esquema en un fichero. - 282 - 11-. Javadoc. saveFileAs public void saveFileAs() Método que salva un fichero con un nombre y ubicación determinados, proporcionados por el usuario. exit public void exit() Método que realiza las acciones y comprobaciones necesarias antes de salir de la aplicación y sale si no se ha cancelado la salida. crearMenuInicial public void crearMenuInicial() Método que crea los elementos de menú que conforman el Estado Inicial de la aplicación. Estos menús son File (pero sólo los elementos new, open, openRecent y Exit) y About. actualizarMenu public void actualizarMenu() Método que, al abrir una pestaña PARTIENDO DESDE EL ESTADO INICIAL DEL EDITOR, actualiza los menús, añadiendo elementos a la barra de menú y creando y añadiendo la barra de herramientas. resetearMenu public void resetearMenu() Método que elimina las barras de menús y de herramientas. createEditMenu public javax.swing.JMenu createEditMenu() Método que crea los elementos del menú Edit(Menú de Edición). Devuelve un elemento JMenu que corresponde a este Menú Edit. createActionTable public void createActionTable(javax.swing.text.JTextComponent textComponent) Métodos que crea una tabla de acciones disponibles para un componente de texto.. Parameters: textComponent - Componente de texto del que queremos conocer las acciones que realiza. getActionByName public javax.swing.Action getActionByName(java.lang.String name) - 283 - 11-. Javadoc. Método que permiten encontrar una acción dada por el kit de edición utilizando su nombre. Parameters: name - Nombre de la acción que buscamos. crearRecentMenu public void crearRecentMenu() Método que crea el menú de archivos abiertos recientemente. Crea un item de menú por cada una de las posibles cuatro líneas que puede haber en el fichero config.txt y los añade al menú Open Recent File. actualizarRecentMenu public void actualizarRecentMenu(int num_lineas) Método que actualiza el menú de archivos abierto recientemente. Elimina los items de menú que hubiese en el menú Open Recent File, antes de llamar a crearRecentMenu que añadirá los nuevos elementos al menú. Parameters: num_lineas - Número de líneas en el fichero config. setUndoableMenu public void setUndoableMenu(MyJEditorPane jep) Método que asigna los elementos Undo y Redo correspondientes al documento de texto que se esté tratando en cada instante. Parameters: jep - Panel de texto seleccionado en el instante de efectuar la llamada a este método. refresh public void refresh() Método que refresca el área de texto y el árbol asociado. refreshAndSave public void refreshAndSave() Método que refresca el área de texto y el árbol asociado y a continuación salva el documento. annotation public void annotation() Método que inserta un elemento Annotation en el esquema. attribute public void attribute() - 284 - 11-. Javadoc. Método que inserta un elemento Attribute en el esquema. attributeGroup public void attributeGroup() Método que inserta un elemento AttributeGroup en el esquema. importar public void importar() Método que inserta un elemento Import en el esquema. En este caso no se ha podido dar al método el nombre del elemento, pues import constituye una palabra reservada en el lenguaje Java. include public void include() Método que inserta un elemento Include en el esquema. - 285 - 11-. Javadoc. Class MyDocumentListener java.lang.Object MyDocumentListener All Implemented Interfaces: javax.swing.event.DocumentListener, java.util.EventListener public class MyDocumentListener extends java.lang.Object implements javax.swing.event.DocumentListener Clase que escucha los cambios que se producen en el documento del objeto MyJEditorPane al que está asociado. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) filename java.lang.String (package private) i Inicial (package private) jep MyJEditorPane (package private) jsp javax.swing.JScrollPane (package private) split javax.swing.JSplitPane Constructor Summary (package MyDocumentListener(Inicial in) private) Constructor de la clase. Method Summary void changedUpdate(javax.swing.event.DocumentEvent e) void insertUpdate(javax.swing.event.DocumentEvent e) void removeUpdate(javax.swing.event.DocumentEvent e) private update(javax.swing.event.DocumentEvent e) void Método que pone el asterisco al título de la pestaña cuando - 286 - se ha 11-. Javadoc. producido un cambio en el texto desde la última modificación. Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail i Inicial i split javax.swing.JSplitPane split jsp javax.swing.JScrollPane jsp jep MyJEditorPane jep filename java.lang.String filename Constructor Detail MyDocumentListener MyDocumentListener(Inicial in) Constructor de la clase. Method Detail insertUpdate public void insertUpdate(javax.swing.event.DocumentEvent e) Specified by: insertUpdate in interface javax.swing.event.DocumentListener removeUpdate public void removeUpdate(javax.swing.event.DocumentEvent e) Specified by: removeUpdate in interface javax.swing.event.DocumentListener - 287 - 11-. Javadoc. changedUpdate public void changedUpdate(javax.swing.event.DocumentEvent e) Specified by: changedUpdate in interface javax.swing.event.DocumentListener update private void update(javax.swing.event.DocumentEvent e) Método que pone el asterisco al título de la pestaña cuando se ha producido un cambio en el texto desde la última modificación. - 288 - 11-. Javadoc. Class MyJEditorPane java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.text.JTextComponent javax.swing.JEditorPane MyJEditorPane All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.Scrollable, java.io.Serializable public class MyJEditorPane extends javax.swing.JEditorPane Clase que ofrece soporte para la escritura de texto: es un panel de edición. Hereda de la clase JEditorPane del paquete javax.swing. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. See Also: Serialized Form Nested Class Summary Nested classes inherited from class javax.swing.JEditorPane javax.swing.JEditorPane.AccessibleJEditorPane, javax.swing.JEditorPane.AccessibleJEditorPaneHTML, javax.swing.JEditorPane.JEditorPaneAccessibleHypertextSupport Nested classes inherited from class javax.swing.text.JTextComponent javax.swing.text.JTextComponent.AccessibleJTextComponent, javax.swing.text.JTextComponent.KeyBinding Nested classes inherited from class javax.swing.JComponent javax.swing.JComponent.AccessibleJComponent Nested classes inherited from class java.awt.Container java.awt.Container.AccessibleAWTContainer Nested classes inherited from class java.awt.Component java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, - 289 - 11-. Javadoc. java.awt.Component.FlipBufferStrategy Field Summary (package private) a javax.swing.tree.DefaultMutableTreeNode (package private) java.lang.String a_p_instr (package private) apertura javax.swing.text.MutableAttributeSet (package private) javax.swing.JTree arbol private boolean asterisco (package private) atributo javax.swing.text.MutableAttributeSet (package private) b javax.swing.tree.DefaultMutableTreeNode (package private) c javax.swing.tree.DefaultMutableTreeNode (package private) private java.lang.String c_p_instr javax.swing.text.Caret caret (package private) java.lang.String cierre (package private) java.lang.String close_comment (package private) CodeDocument codeDoc (package private) comentario javax.swing.text.MutableAttributeSet (package private) java.lang.String comilla (package private) int cuenta_tab (package private) d javax.swing.tree.DefaultMutableTreeNode (package private) declaracion_pi javax.swing.text.MutableAttributeSet (package private) java.lang.String dosp (package private) e - 290 - 11-. Javadoc. javax.swing.tree.DefaultMutableTreeNode (package private) java.lang.String espacio (package private) etiqueta javax.swing.text.MutableAttributeSet (package private) f javax.swing.tree.DefaultMutableTreeNode private java.io.File file (package private) java.io.File file_aux (package private) java.io.File file_refresh (package private) java.lang.String fileName (package private) g javax.swing.tree.DefaultMutableTreeNode (package private) h javax.swing.tree.DefaultMutableTreeNode (package private) boolean hay_atrib (package private) i javax.swing.tree.DefaultMutableTreeNode (package private) (package private) java.lang.String igual XMLInputFactory inputFactory private boolean isNew private boolean isSaved (package private) j javax.swing.tree.DefaultMutableTreeNode (package private) jpum javax.swing.JPopupMenu (package private) java.util.Vector keywords (package private) java.lang.String lengua (package private) java.lang.String mayor (package private) java.lang.String menor - 291 - 11-. Javadoc. (package private) namespace javax.swing.text.MutableAttributeSet (package private) int nivel_act (package private) normal javax.swing.text.MutableAttributeSet (package private) java.lang.String open_comment (package private) java.lang.String prefijo (package private) (package private) (package private) int pto_insercion java.lang.String rc XMLStreamReader reader (package private) RedoAction redoAction (package private) boolean refresh (package private) java.lang.String str (package private) java.lang.String tabulador (package private) top javax.swing.tree.DefaultMutableTreeNode (package private) treeModel javax.swing.tree.DefaultTreeModel (package private) undo javax.swing.undo.UndoManager (package private) UndoAction undoAction (package private) valorAtributo javax.swing.text.MutableAttributeSet (package private) java.lang.String xmlns Fields inherited from class javax.swing.JEditorPane Fields inherited from class javax.swing.text.JTextComponent DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY - 292 - 11-. Javadoc. Fields inherited from class javax.swing.JComponent accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW Fields inherited from class java.awt.Container Fields inherited from class java.awt.Component BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT Fields inherited from interface java.awt.image.ImageObserver ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH Constructor Summary MyJEditorPane(java.io.File f, boolean New) Constructor de la clase. Method Summary void actualizar_pto_insercion() Método que calcula el punto de inserción de los elementos. void add_palabras_prefijo(java.lang.String prefix) Método que añade los elementos al vector de palabras clave. void addAnnotation(java.lang.String text, java.lang.String option, java.lang.String language, boolean llamado) Método que inserta un elemento Annotation en el esquema. void addAttribute(java.lang.String name, java.lang.String type, java.lang.String id, java.lang.String use, java.lang.String value, boolean annotation, java.lang.String text, java.lang.String option, java.lang.String language) Método que inserta un elemento Attribute en el esquema. void addAttributeGroup() Método que inserta un elemento AttributeGroup en el esquema. void addImport(java.lang.String id, java.lang.String namesp, java.lang.String schemaLocation, boolean annotation, java.lang.String text, java.lang.String option, java.lang.String language) Método que inserta un elemento Import en el esquema. - 293 - 11-. Javadoc. void addInclude(java.lang.String id, java.lang.String schemaLocation, boolean annotation, java.lang.String text, java.lang.String option, java.lang.String language) Método que inserta un elemento Include en el esquema. static void expandTree(javax.swing.JTree tree) Método que muestra un árbol expandido a partir del componente JTree. static void expandTree(javax.swing.JTree tree, javax.swing.tree.TreePath path, javax.swing.tree.TreeNode node) Método que muestra un árbol expandido a partir del componente JTree. java.lang.String getAbsoluteName() Devuelve el nombre de la ruta absoluta del fichero asociado. boolean getAsterisco() java.lang.String getFileName() boolean getIsNew() boolean getIsSaved() void inicializar_arbol(javax.swing.tree.DefaultMutableTree Node top) Método que inicializa el árbol que contiene la estructura asociada a un esquema. void inicializar_documento() Método que inicializa el vector de palabras clave y establece el elemento codeDoc como Documento asodiado a este panel de texto. void inicializar_valores_tras_leer() Método para inicializar los valores que reconocerá la herramienta como "palabras clave". void initCaret() Método que inicializa el Caret (o cursor) en la posición inicial del texto. void leer() Método encargado de leer el fichero: utilizando StAX captura eventos. void leerNuevo() Método utilizado para leer un archivo nuevo (no abierto desde fichero). void refrescar() Método que realiza las acciones necesarias para refrescar void setAsterisco(boolean b) - 294 - 11-. Javadoc. void setFile(java.io.File archi) void setFileName(java.lang.String name) void setIsNew(boolean b) void setIsSaved(boolean b) Methods inherited from class javax.swing.JEditorPane addHyperlinkListener, createDefaultEditorKit, createEditorKitForContentType, fireHyperlinkUpdate, getAccessibleContext, getContentType, getEditorKit, getEditorKitClassNameForContentType, getEditorKitForContentType, getHyperlinkListeners, getPage, getPreferredSize, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getStream, getText, getUIClassID, paramString, read, registerEditorKitForContentType, registerEditorKitForContentType, removeHyperlinkListener, replaceSelection, scrollToReference, setContentType, setEditorKit, setEditorKitForContentType, setPage, setPage, setText Methods inherited from class javax.swing.text.JTextComponent addCaretListener, addInputMethodListener, addKeymap, copy, cut, fireCaretUpdate, getActions, getCaret, getCaretColor, getCaretListeners, getCaretPosition, getDisabledTextColor, getDocument, getDragEnabled, getFocusAccelerator, getHighlighter, getInputMethodRequests, getKeymap, getKeymap, getMargin, getNavigationFilter, getPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableUnitIncrement, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getToolTipText, getUI, isEditable, loadKeymap, modelToView, moveCaretPosition, paste, processInputMethodEvent, read, removeCaretListener, removeKeymap, removeNotify, select, selectAll, setCaret, setCaretColor, setCaretPosition, setComponentOrientation, setDisabledTextColor, setDocument, setDragEnabled, setEditable, setFocusAccelerator, setHighlighter, setKeymap, setMargin, setNavigationFilter, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setUI, updateUI, viewToModel, write Methods inherited from class javax.swing.JComponent addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, - 295 - 11-. Javadoc. getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update Methods inherited from class java.awt.Container add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree Methods inherited from class java.awt.Component action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, - 296 - 11-. Javadoc. getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait Field Detail file private java.io.File file isSaved private boolean isSaved isNew private boolean isNew asterisco private boolean asterisco caret private javax.swing.text.Caret caret - 297 - 11-. Javadoc. fileName java.lang.String fileName undoAction UndoAction undoAction redoAction RedoAction redoAction undo javax.swing.undo.UndoManager undo jpum javax.swing.JPopupMenu jpum inputFactory XMLInputFactory inputFactory reader XMLStreamReader reader apertura javax.swing.text.MutableAttributeSet apertura etiqueta javax.swing.text.MutableAttributeSet etiqueta declaracion_pi javax.swing.text.MutableAttributeSet declaracion_pi comentario javax.swing.text.MutableAttributeSet comentario normal javax.swing.text.MutableAttributeSet normal - 298 - 11-. Javadoc. namespace javax.swing.text.MutableAttributeSet namespace atributo javax.swing.text.MutableAttributeSet atributo valorAtributo javax.swing.text.MutableAttributeSet valorAtributo menor final java.lang.String menor See Also: Constant Field Values mayor final java.lang.String mayor See Also: Constant Field Values xmlns final java.lang.String xmlns See Also: Constant Field Values comilla final java.lang.String comilla See Also: Constant Field Values espacio final java.lang.String espacio See Also: Constant Field Values dosp final java.lang.String dosp See Also: Constant Field Values - 299 - 11-. Javadoc. igual final java.lang.String igual See Also: Constant Field Values rc final java.lang.String rc See Also: Constant Field Values cierre final java.lang.String cierre See Also: Constant Field Values tabulador final java.lang.String tabulador See Also: Constant Field Values open_comment final java.lang.String open_comment See Also: Constant Field Values close_comment final java.lang.String close_comment See Also: Constant Field Values a_p_instr final java.lang.String a_p_instr See Also: Constant Field Values c_p_instr final java.lang.String c_p_instr See Also: Constant Field Values - 300 - 11-. Javadoc. lengua final java.lang.String lengua See Also: Constant Field Values cuenta_tab int cuenta_tab refresh boolean refresh str java.lang.String str arbol javax.swing.JTree arbol treeModel javax.swing.tree.DefaultTreeModel treeModel nivel_act int nivel_act top javax.swing.tree.DefaultMutableTreeNode top a javax.swing.tree.DefaultMutableTreeNode a b javax.swing.tree.DefaultMutableTreeNode b c javax.swing.tree.DefaultMutableTreeNode c d javax.swing.tree.DefaultMutableTreeNode d - 301 - 11-. Javadoc. e javax.swing.tree.DefaultMutableTreeNode e f javax.swing.tree.DefaultMutableTreeNode f g javax.swing.tree.DefaultMutableTreeNode g h javax.swing.tree.DefaultMutableTreeNode h i javax.swing.tree.DefaultMutableTreeNode i j javax.swing.tree.DefaultMutableTreeNode j hay_atrib boolean hay_atrib prefijo java.lang.String prefijo file_aux java.io.File file_aux file_refresh java.io.File file_refresh keywords java.util.Vector keywords codeDoc CodeDocument codeDoc - 302 - 11-. Javadoc. pto_insercion int pto_insercion Constructor Detail MyJEditorPane public MyJEditorPane(java.io.File f, boolean New) Constructor de la clase. Parameters: f - Fichero asociado a este panel de edición. New - Indica si el fichero que abrimos en este panel de texto es nuevo o ya existía. Method Detail getIsSaved public boolean getIsSaved() setIsSaved public void setIsSaved(boolean b) getIsNew public boolean getIsNew() setIsNew public void setIsNew(boolean b) getAsterisco public boolean getAsterisco() setAsterisco public void setAsterisco(boolean b) initCaret public void initCaret() Método que inicializa el Caret (o cursor) en la posición inicial del texto. getAbsoluteName public java.lang.String getAbsoluteName() Devuelve el nombre de la ruta absoluta del fichero asociado. - 303 - 11-. Javadoc. setFile public void setFile(java.io.File archi) setFileName public void setFileName(java.lang.String name) getFileName public java.lang.String getFileName() leer public void leer() Método encargado de leer el fichero: utilizando StAX captura eventos. A la vez se encarga de crear el árbol de la estructura del documento. leerNuevo public void leerNuevo() Método utilizado para leer un archivo nuevo (no abierto desde fichero). refrescar public void refrescar() Método que realiza las acciones necesarias para refrescar inicializar_documento public void inicializar_documento() Método que inicializa el vector de palabras clave y establece el elemento codeDoc como Documento asodiado a este panel de texto. add_palabras_prefijo public void add_palabras_prefijo(java.lang.String prefix) Método que añade los elementos al vector de palabras clave. Las palabras están compuestas por el prefijo del espacio de nombres de XML Schema y la palabra clave de XML Schema. Parameters: prefix - Prefijo del espacio de nombres XML Schema. inicializar_valores_tras_leer public void inicializar_valores_tras_leer() Método para inicializar los valores que reconocerá la herramienta como "palabras clave". - 304 - 11-. Javadoc. inicializar_arbol public void inicializar_arbol(javax.swing.tree.DefaultMutableTreeNode top) Método que inicializa el árbol que contiene la estructura asociada a un esquema. Parameters: top - Nodo raíz del árbol. expandTree public static void expandTree(javax.swing.JTree tree) Método que muestra un árbol expandido a partir del componente JTree. expandTree public static void expandTree(javax.swing.JTree tree, javax.swing.tree.TreePath path, javax.swing.tree.TreeNode node) Método que muestra un árbol expandido a partir del componente JTree. actualizar_pto_insercion public void actualizar_pto_insercion() Método que calcula el punto de inserción de los elementos. Este punto será la posición del cursor. addAnnotation public void addAnnotation(java.lang.String text, java.lang.String option, java.lang.String language, boolean llamado) Método que inserta un elemento Annotation en el esquema. addAttribute public void addAttribute(java.lang.String name, java.lang.String type, java.lang.String id, java.lang.String use, java.lang.String value, boolean annotation, java.lang.String text, java.lang.String option, java.lang.String language) Método que inserta un elemento Attribute en el esquema. addAttributeGroup public void addAttributeGroup() Método que inserta un elemento AttributeGroup en el esquema. - 305 - 11-. Javadoc. addImport public void addImport(java.lang.String id, java.lang.String namesp, java.lang.String schemaLocation, boolean annotation, java.lang.String text, java.lang.String option, java.lang.String language) Método que inserta un elemento Import en el esquema. addInclude public void addInclude(java.lang.String id, java.lang.String schemaLocation, boolean annotation, java.lang.String text, java.lang.String option, java.lang.String language) Método que inserta un elemento Include en el esquema. - 306 - 11-. Javadoc. Class MyUndoableEditListener java.lang.Object MyUndoableEditListener All Implemented Interfaces: java.util.EventListener, javax.swing.event.UndoableEditListener class MyUndoableEditListener extends java.lang.Object implements javax.swing.event.UndoableEditListener Clase que escucha las ediciones que pueden ser deshechas. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package inicial private) Inicial Constructor Summary (package MyUndoableEditListener(Inicial in) private) Constructor de la clase. Method Summary void undoableEditHappened(javax.swing.event.UndoableEditEvent e) Método que recuerda la edición y actualiza los menús. Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail inicial Inicial inicial Constructor Detail MyUndoableEditListener MyUndoableEditListener(Inicial in) Constructor de la clase. - 307 - 11-. Javadoc. Method Detail undoableEditHappened public void undoableEditHappened(javax.swing.event.UndoableEditEvent e) Método que recuerda la edición y actualiza los menús. Specified by: undoableEditHappened in interface javax.swing.event.UndoableEditListener - 308 - 11-. Javadoc. Class PopupListener java.lang.Object java.awt.event.MouseAdapter PopupListener All Implemented Interfaces: java.util.EventListener, java.awt.event.MouseListener class PopupListener extends java.awt.event.MouseAdapter Clase que escucha los eventos de ratón para mostrar un JPopup menú si el botón correspondiente del ratón es pulsado en la posición adecuada. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) jpum javax.swing.JPopupMenu Constructor Summary (package PopupListener(javax.swing.JPopupMenu j) private) Constructor de la clase. Method Summary void maybeShowPopup(java.awt.event.MouseEvent e) Muestra el PopupMenú si se pulsó el botón correspondiente en el lugar adecuado. void mousePressed(java.awt.event.MouseEvent e) void mouseReleased(java.awt.event.MouseEvent e) Methods inherited from class java.awt.event.MouseAdapter mouseClicked, mouseEntered, mouseExited Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait - 309 - 11-. Javadoc. Field Detail jpum javax.swing.JPopupMenu jpum Constructor Detail PopupListener PopupListener(javax.swing.JPopupMenu j) Constructor de la clase. Method Detail mousePressed public void mousePressed(java.awt.event.MouseEvent e) mouseReleased public void mouseReleased(java.awt.event.MouseEvent e) maybeShowPopup public void maybeShowPopup(java.awt.event.MouseEvent e) Muestra el PopupMenú si se pulsó el botón correspondiente en el lugar adecuado. - 310 - 11-. Javadoc. Class RedoAction java.lang.Object javax.swing.AbstractAction RedoAction All Implemented Interfaces: javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable public class RedoAction extends javax.swing.AbstractAction Clase que implementa la acción Rehacer. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. See Also: Serialized Form Nested Class Summary Nested classes inherited from class javax.swing.AbstractAction Field Summary (package private) undo javax.swing.undo.UndoManager (package private) UndoAction undoAction Fields inherited from class javax.swing.AbstractAction changeSupport, enabled Fields inherited from interface javax.swing.Action ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON Constructor Summary RedoAction(javax.swing.undo.UndoManager um) Constructor de la clase. Method Summary - 311 - 11-. Javadoc. void actionPerformed(java.awt.event.ActionEvent e) void setUndoAction(UndoAction ua) Método que asocia un UndoAction a este RedoAction. protected update() void Método que activa o desactiva el item de menú correspondiente. Methods inherited from class javax.swing.AbstractAction addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled Methods inherited from class java.lang.Object equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail undo javax.swing.undo.UndoManager undo undoAction UndoAction undoAction Constructor Detail RedoAction public RedoAction(javax.swing.undo.UndoManager um) Constructor de la clase. Method Detail setUndoAction public void setUndoAction(UndoAction ua) Método que asocia un UndoAction a este RedoAction. actionPerformed public void actionPerformed(java.awt.event.ActionEvent e) update protected void update() Método que activa o desactiva el item de menú correspondiente. - 312 - 11-. Javadoc. Class TabListener java.lang.Object TabListener All Implemented Interfaces: javax.swing.event.ChangeListener, java.util.EventListener public class TabListener extends java.lang.Object implements javax.swing.event.ChangeListener Clase que escucha los cambios de pestaña. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) filename java.lang.String (package private) i Inicial (package private) jep MyJEditorPane (package private) jsp javax.swing.JScrollPane (package private) split javax.swing.JSplitPane Constructor Summary (package TabListener(Inicial ini) private) Constructor de la clase. Method Summary void stateChanged(javax.swing.event.ChangeEvent e) Método disparado cuando se cambia el estado de las pestañas. Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail - 313 - 11-. Javadoc. i Inicial i split javax.swing.JSplitPane split jsp javax.swing.JScrollPane jsp jep MyJEditorPane jep filename java.lang.String filename Constructor Detail TabListener TabListener(Inicial ini) Constructor de la clase. Method Detail stateChanged public void stateChanged(javax.swing.event.ChangeEvent e) Método disparado cuando se cambia el estado de las pestañas. Specified by: stateChanged in interface javax.swing.event.ChangeListener - 314 - 11-. Javadoc. Class TextFieldAL java.lang.Object TextFieldAL All Implemented Interfaces: java.awt.event.ActionListener, java.util.EventListener public class TextFieldAL extends java.lang.Object implements java.awt.event.ActionListener Clase que escucha las acciones que se realicen sobre los campos de texto de las diferentes clases que producen cuadros de diálogo (Import,Annotation, etc). Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Field Summary (package private) btnString1 java.lang.String (package private) jop javax.swing.JOptionPane Constructor Summary (package TextFieldAL(javax.swing.JOptionPane option) private) Constructor de la clase. Method Summary void actionPerformed(java.awt.event.ActionEvent e) Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail jop javax.swing.JOptionPane jop - 315 - 11-. Javadoc. btnString1 final java.lang.String btnString1 See Also: Constant Field Values Constructor Detail TextFieldAL TextFieldAL(javax.swing.JOptionPane option) Constructor de la clase. Method Detail actionPerformed public void actionPerformed(java.awt.event.ActionEvent e) Specified by: actionPerformed in interface java.awt.event.ActionListener - 316 - 11-. Javadoc. Class UndoAction java.lang.Object javax.swing.AbstractAction UndoAction All Implemented Interfaces: javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable class UndoAction extends javax.swing.AbstractAction Clase que implementa la acción Deshacer. Version: 1.0 Author: Mª del Pilar Jiménez Guijarro. Nested Class Summary Nested classes inherited from class javax.swing.AbstractAction Field Summary (package private) RedoAction redoAction (package private) undo javax.swing.undo.UndoManager Fields inherited from class javax.swing.AbstractAction changeSupport, enabled Fields inherited from interface javax.swing.Action ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON Constructor Summary UndoAction(javax.swing.undo.UndoManager um) Constructor de la clase. Method Summary - 317 - 11-. Javadoc. void actionPerformed(java.awt.event.ActionEvent e) void setRedoAction(RedoAction ra) Método que asocia un RedoAction a este UndoAction. protected update() void Método que activa o desactiva el item de menú correspondiente. Methods inherited from class javax.swing.AbstractAction addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled Methods inherited from class java.lang.Object equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail undo javax.swing.undo.UndoManager undo redoAction RedoAction redoAction Constructor Detail UndoAction public UndoAction(javax.swing.undo.UndoManager um) Constructor de la clase. Method Detail setRedoAction public void setRedoAction(RedoAction ra) Método que asocia un RedoAction a este UndoAction. actionPerformed public void actionPerformed(java.awt.event.ActionEvent e) update protected void update() Método que activa o desactiva el item de menú correspondiente. - 318 -