argutia.gui
Class Onglets
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTabbedPane
argutia.gui.Onglets
- All Implemented Interfaces:
- ComputationListener, FileListener, ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, SwingConstants
public class Onglets
- extends JTabbedPane
- implements ActionListener, FileListener, ComputationListener
Crée les différents onglets de l'application.
- Author:
- Geoffroy AUBRY
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Methods inherited from class javax.swing.JTabbedPane |
add, add, add, add, add, addChangeListener, addTab, addTab, addTab, createChangeListener, fireStateChanged, getAccessibleContext, getBackgroundAt, getBoundsAt, getChangeListeners, getComponentAt, getDisabledIconAt, getDisplayedMnemonicIndexAt, getForegroundAt, getIconAt, getMnemonicAt, getModel, getSelectedComponent, getSelectedIndex, getTabCount, getTabLayoutPolicy, getTabPlacement, getTabRunCount, getTitleAt, getToolTipText, getToolTipTextAt, getUI, getUIClassID, indexAtLocation, indexOfComponent, indexOfTab, indexOfTab, insertTab, isEnabledAt, paramString, remove, remove, removeAll, removeChangeListener, removeTabAt, setBackgroundAt, setComponentAt, setDisabledIconAt, setDisplayedMnemonicIndexAt, setEnabledAt, setForegroundAt, setIconAt, setMnemonicAt, setModel, setSelectedComponent, setSelectedIndex, setTabLayoutPolicy, setTabPlacement, setTitleAt, setToolTipTextAt, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
BORDURE_DE_BASE
public static final Border BORDURE_DE_BASE
serialVersionUID
private static final long serialVersionUID
- The serial version of this class.
- See Also:
Serializable
,
Constant Field Values- Constant Field Value:
-4663220485296569426L
boutonCalculerArguments
private final JButton boutonCalculerArguments
boutonCalculerSituation
private final JButton boutonCalculerSituation
inputVerifier
private SpellingInputVerifier inputVerifier
K_A
private final Onglets.JTextPaneColore K_A
K_B
private final Onglets.JTextPaneColore K_B
ongletConfiguration
private final JPanel ongletConfiguration
ongletAgents
private final JPanel ongletAgents
ongletReponses
private final JPanel ongletReponses
ongletSituation
private final JPanel ongletSituation
REPONSES
private final Onglets.JTextPaneColore REPONSES
SITUATION
private final Onglets.JTextPaneColore SITUATION
X_A
private final Onglets.JTextPaneColore X_A
X_B
private final Onglets.JTextPaneColore X_B
eFInterrogations
private final Onglets.JTextPaneColore eFInterrogations
supportInterrogations
private final Onglets.JTextPaneColore supportInterrogations
conclusionInterrogations
private final Onglets.JTextPaneColore conclusionInterrogations
documentsEnregistrables
private final Onglets.JTextPaneColore[] documentsEnregistrables
mainFrame
private final MainFrame mainFrame
menu
private final Menu menu
situation
private Situation situation
choixAgentValide
private int choixAgentValide
choixInterrogationValide
private int choixInterrogationValide
comboAgents
private JComboBox comboAgents
comboInterrogations
private JComboBox comboInterrogations
comboLanguage
private JComboBox comboLanguage
comboFontSize
private JComboBox comboFontSize
eFPanel
private JPanel eFPanel
argumentPanel
private JPanel argumentPanel
msgArgumentTab
private JLabel msgArgumentTab
comboBoxRenderer
private final Onglets.ComboBoxRenderer comboBoxRenderer
lastFileEventType
private FileEvent.Type lastFileEventType
RB_TAB_CONFIGURATION
@ResourceBundle.Prefix(value="argutia.argutia")
public static final String RB_TAB_CONFIGURATION
- Constant Field Value:
"tab.configuration"
RB_TAB_AGENTS
@ResourceBundle.Prefix(value="argutia.argutia")
public static final String RB_TAB_AGENTS
- Constant Field Value:
"tab.agents"
RB_TAB_SITUATION
@ResourceBundle.Prefix(value="argutia.argutia")
public static final String RB_TAB_SITUATION
- Constant Field Value:
"tab.situation"
RB_TAB_ARGUMENTS
@ResourceBundle.Prefix(value="argutia.argutia")
public static final String RB_TAB_ARGUMENTS
- Constant Field Value:
"tab.arguments"
Onglets
public Onglets(MainFrame mainFrame,
Argutia.Builder init)
showMsgConfigurationGestion
private void showMsgConfigurationGestion(String msg)
showCancelMsgConfigurationGestion
private void showCancelMsgConfigurationGestion(Argutia.Builder.Type type)
getAnalyseSyntaxiqueSituation
private void getAnalyseSyntaxiqueSituation()
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
getMsgTempsDeCalcul
private String getMsgTempsDeCalcul(String key,
double temps)
calculStateChanged
public void calculStateChanged(ComputationEvent e)
- Description copied from interface:
ComputationListener
- Notifie l'écouteur qu'un événement est survenu concernant
l'analyse syntaxique,
le calcul de la situation ou la
génération des arguments.
- Specified by:
calculStateChanged
in interface ComputationListener
- Parameters:
e
- événement survenu.
addJPanel
private void addJPanel(JPanel panel,
String clef)
createJScrollPane
private JScrollPane createJScrollPane(JTextComponent txt)
createJTextFieldUnite
private void createJTextFieldUnite(JPanel panel,
int ligne,
Representation r,
GridBagConstraints c)
createTitledBorder
private TitledBorder createTitledBorder(String title,
MyStyles.StyleNames style)
fileStateChanged
public void fileStateChanged(FileEvent e)
- Description copied from interface:
FileListener
- Notifie l'écouteur qu'un événement est survenu concernant la gestion des
fichiers.
- Specified by:
fileStateChanged
in interface FileListener
- Parameters:
e
- événement concernant la gestion des fichiers.
getOngletConfiguration
public JPanel getOngletConfiguration()
createOngletConfigurationUSC
private JPanel createOngletConfigurationUSC()
createOngletConfigurationLangue
private JPanel createOngletConfigurationLangue()
createOngletConfigurationFontSize
private JPanel createOngletConfigurationFontSize()
createOngletConfigurationGestion
private JPanel createOngletConfigurationGestion()
createOngletConfigurationOther
private JPanel createOngletConfigurationOther()
createOngletConfiguration
private JPanel createOngletConfiguration()
createOngletAgents
private JPanel createOngletAgents()
updateMsgArgumentTab
private void updateMsgArgumentTab()
createOngletArguments
private JPanel createOngletArguments()
createOngletSituation
private JPanel createOngletSituation()
remplacerUnitesOldOrthographe
public void remplacerUnitesOldOrthographe(Collection<Representation> modifies)
Argutia JavaDoc
23 décembre 2007