|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
aloneinterfaces.Interface
aloneinterfaces.Interface1
public class Interface1
The most complex interface in graphic implementation. Mainly useful to
make prediction computing more precisely and permit sequences choice into
searching palindromes.
Progression Bar.
Launching prediction.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
private javax.swing.JLabel |
aide
|
private javax.swing.JRadioButton |
arnMessager
|
private javax.swing.JRadioButton |
arnStructural
|
private SequenceListe |
autresSequences
List of tother sequences. |
private Sequence |
cible
Identification of elements, which algorithm will work on. |
private javax.swing.JLabel |
cibleChoice
|
private javax.swing.JTextField |
dec
|
private javax.swing.JLabel |
GCeffect
|
private javax.swing.JLabel |
GUeffect
|
private javax.swing.JLabel |
GUGCeffect
|
private javax.swing.JLabel |
homologCharac
|
private javax.swing.JLabel |
homologChoice
|
private javax.swing.JLabel |
homology
|
private javax.swing.JTextField |
incert
|
private javax.swing.JLabel |
indels
|
private javax.swing.JLabel |
l10
private JLabel l9 = new JLabel("Nombre de predictions"); |
private javax.swing.JLabel |
l10_aide
|
private javax.swing.JLabel |
l11
|
private javax.swing.JLabel |
l12
|
private javax.swing.JLabel |
l13
|
private javax.swing.JLabel |
l14
|
private javax.swing.JLabel |
l15
|
private javax.swing.JLabel |
label_critere
|
private javax.swing.JLabel |
label_decalage
|
private javax.swing.JLabel |
label_incertitude
|
private javax.swing.JLabel |
label_lg
|
private javax.swing.JLabel |
label_lg_boucle
|
private javax.swing.JLabel |
label_lg_pal
|
private javax.swing.JLabel |
label_type_arn
|
private javax.swing.JList |
listeCible
Graphical list of possible choice of cible sequences. |
private javax.swing.JList[] |
listeTest
Tab of graphical lists of homologuous sequences. |
private javax.swing.DefaultListModel |
listModelCible
|
private javax.swing.DefaultListModel |
listModelTest
|
private javax.swing.JRadioButton |
longMutation
|
private javax.swing.JTextField |
nbPred
|
private javax.swing.JRadioButton |
plusieursStructures
|
private javax.swing.JRadioButton |
pseudoNoeud
|
private javax.swing.JTextArea[] |
scoreArea
|
private javax.swing.JScrollPane[] |
scoreScroll
|
private javax.swing.JScrollPane |
scrollListeCible
Zone où s'affiche la liste des séquances cibles potentielles. |
private javax.swing.JScrollPane[] |
scrollListeTest
Ensemble des listes où s'effectue la sélection des séquences tests. |
private BooleanListe |
selectionBool
Test bool's selection (was a Vector of booleans (selected predictions)). |
private IntegerListe[] |
selectionInt
Test int's selection (was a Vector of table of ints (selected items in prediction)). |
private static long |
serialVersionUID
Interface Serial Number (1). |
private javax.swing.JTextField |
tailleBoucle
|
private javax.swing.JTextField |
taillePal
|
private javax.swing.JRadioButton |
tauxMutation
|
private javax.swing.ButtonGroup |
typeARN
|
private javax.swing.ButtonGroup |
typeCritere
|
private javax.swing.JRadioButton[] |
unePrediction
Tab of selection buttons to mae prediction with selection. |
Fields inherited from class aloneinterfaces.Interface |
---|
fenetre, monlayout |
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.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 | |
---|---|
Interface1(AloneProcessus processParent)
Constructeur. |
Method Summary | |
---|---|
private boolean |
actionHelper()
This function to rationalize and to factor some items. |
void |
actionPerformed(java.awt.event.ActionEvent e)
Action which depends of item selected in selection menu. |
void |
ajouteProgressBar(javax.swing.JProgressBar progressBar)
To add and vizualise progression bar on this interface. |
void |
effacer()
To remove what interface's items contain. |
int |
getArnType()
|
SequenceListe |
getAutreSequence()
|
int |
getCritereType()
|
int |
getNumberPredictionMax()
|
BooleanListe |
getSelectionBool()
|
IntegerListe[] |
getSelectionInt()
|
Sequence |
getSequence()
One part of the compexty of this class comes from that data is on different objects. |
int |
getTypeRecherche()
|
void |
initialiser()
To initialize interface's items. |
void |
initialiserToolTipText()
To initalize contextual help messages. |
boolean |
isPlusieursPredictions()
|
boolean |
isRecherchePseudonoeud()
|
void |
retireProgressBar(javax.swing.JProgressBar progressBar)
To remove the progression bar. |
void |
setAutreSequence(SequenceListe autresSequences)
|
void |
setInterface()
Not active here. |
void |
setListModelCible(SequenceListe tabAdnTest)
To compute a JList containing only the names of Sequence's. |
void |
setListModelTest(Sequence cible,
SequenceListe selection,
int longueur)
Visualization of homologuous sequences selection. |
void |
setSequence(Sequence sequence)
|
void |
setSequence(java.lang.String nom,
java.lang.String sequence)
|
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
|
Methods inherited from class aloneinterfaces.Interface |
---|
getDacodac, getFenetre, getMenu, getMonlayout, getProcessusParent, setDacodac, setFenetre, setMenu, setMonlayout, setProcessusParent |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, 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, getBaseline, getBaselineResizeBehavior, 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, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, 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 |
---|
add, add, add, add, add, 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, remove, remove, removeAll, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private Sequence cible
Sequence
private SequenceListe autresSequences
SequenceListe
private IntegerListe[] selectionInt
private BooleanListe selectionBool
private javax.swing.JList listeCible
private javax.swing.DefaultListModel listModelCible
private javax.swing.JList[] listeTest
private javax.swing.JRadioButton[] unePrediction
private javax.swing.DefaultListModel listModelTest
private javax.swing.JTextArea[] scoreArea
private javax.swing.JScrollPane[] scoreScroll
private javax.swing.JTextField dec
private javax.swing.JTextField incert
private javax.swing.JTextField nbPred
private javax.swing.JRadioButton tauxMutation
private javax.swing.JRadioButton longMutation
private javax.swing.ButtonGroup typeCritere
private javax.swing.JRadioButton arnStructural
private javax.swing.JRadioButton arnMessager
private javax.swing.ButtonGroup typeARN
private javax.swing.JRadioButton plusieursStructures
private javax.swing.JRadioButton pseudoNoeud
private javax.swing.JTextField tailleBoucle
private javax.swing.JTextField taillePal
private javax.swing.JScrollPane scrollListeCible
private javax.swing.JScrollPane[] scrollListeTest
private javax.swing.JLabel cibleChoice
private javax.swing.JLabel aide
private javax.swing.JLabel homologChoice
private javax.swing.JLabel homologCharac
private javax.swing.JLabel GCeffect
private javax.swing.JLabel GUeffect
private javax.swing.JLabel GUGCeffect
private javax.swing.JLabel indels
private javax.swing.JLabel homology
private javax.swing.JLabel l10
private javax.swing.JLabel l10_aide
private javax.swing.JLabel l11
private javax.swing.JLabel l12
private javax.swing.JLabel l13
private javax.swing.JLabel l14
private javax.swing.JLabel l15
private javax.swing.JLabel label_lg
private javax.swing.JLabel label_lg_boucle
private javax.swing.JLabel label_lg_pal
private javax.swing.JLabel label_decalage
private javax.swing.JLabel label_incertitude
private javax.swing.JLabel label_critere
private javax.swing.JLabel label_type_arn
Constructor Detail |
---|
public Interface1(AloneProcessus processParent)
processParent
- AloneProcessusMethod Detail |
---|
public Sequence getSequence()
public SequenceListe getAutreSequence()
public IntegerListe[] getSelectionInt()
public BooleanListe getSelectionBool()
public int getTypeRecherche()
public int getCritereType()
public int getArnType()
public boolean isRecherchePseudonoeud()
public boolean isPlusieursPredictions()
public int getNumberPredictionMax()
public void setSequence(Sequence sequence)
public void setSequence(java.lang.String nom, java.lang.String sequence)
public void setAutreSequence(SequenceListe autresSequences)
public void setListModelCible(SequenceListe tabAdnTest)
tabAdnTest
- SequenceListepublic void setListModelTest(Sequence cible, SequenceListe selection, int longueur)
cible
- Sequenceselection
- SequenceListelongueur
- int (lengt of cible)public void ajouteProgressBar(javax.swing.JProgressBar progressBar)
progressBar
- JProgressBarpublic void retireProgressBar(javax.swing.JProgressBar progressBar)
progressBar
- JProgressBarpublic void initialiserToolTipText()
initialiserToolTipText
in class Interface
Interface.initialiserToolTipText()
,
aide
,
l10_aide
,
listeCible
,
homologChoice
,
tauxMutation
,
longMutation
,
plusieursStructures
,
pseudoNoeud
,
nbPred
,
dec
,
label_decalage
,
incert
,
label_incertitude
,
tailleBoucle
,
taillePal
,
homologChoice
,
homologCharac
,
GUeffect
,
GUGCeffect
,
indels
,
homology
public void initialiser()
Interface
initialiser
in class Interface
public void effacer()
Interface
effacer
in class Interface
Interface.initialiser()
public void setInterface()
setInterface
in class Interface
Interface0.setInterface(String)
,
Interface3.setInterface(modele.Sequence, modele.SequenceListe[], modele.PalindromeListe)
,
Interface5.setInterface(modele.Sequence, modele.SequenceListe[], int, int, int, int, int)
,
Interface7.setInterface(modele.Sequence, modele.SequenceListe[], int, int, int)
,
Interface9.setInterface(String, String, double)
,
Interface12.setInterface(modele.SequenceListe, modele.Sequence, modele.Palindrome)
,
AloneProcessus.avance()
private boolean actionHelper()
actionPerformed(ActionEvent)
public void actionPerformed(java.awt.event.ActionEvent e)
Interface
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class Interface
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |