public class GUIColorSchemes
extends javax.swing.JFrame
GUI,
ResultsN3DTP,
Serialized Formjavax.swing.JFrame.AccessibleJFramejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Type| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AAAminoJKey
(Amino-Acid) Color Scheme Key for Amino scheme from Jmol (predefined colors)
|
static java.lang.String |
AADMSitesKey
(Amino-Acid) Color Scheme Key for Datamonkey Sites file
|
static java.lang.String |
AAPAMLBEBM282Key
(Amino-Acid) Color Scheme Key for AAPAMLBEB BEB file (For Both Model 2 and Model 8: Common and Uncommon Sites)
|
static java.lang.String |
AAPAMLBEBM283Key
(Amino-Acid) Color Scheme Key for AAPAMLBEB BEB file (For Both Model 2 and Model 8: All Common Sites; Model 2 Uncommon Sites ; Model 8 Uncommon Sites)
|
static java.lang.String |
AAPAMLBEBM28Key
(Amino-Acid) Color Scheme Key for AACodeml BEB file (For Model 2 or Model 8)
|
static java.lang.String |
AASeaviewKey
(Amino-Acid) Color Scheme Key for Seaview scheme (predefined colors)
|
static java.lang.String |
AAShapelyJKey
(Amino-Acid) Color Scheme Key for Shapely scheme from Jmol (predefined colors)
|
static java.lang.String |
AASideChainsKey
(Amino-Acid) Color Scheme Key for Side Chains scheme (predefined colors)
|
static java.lang.String |
AATSCMLMRKey
(Amino-Acid) Color Scheme Key for Merged ResulAATS file (for Both TreeSAAP PBR and BEB files)
|
static java.lang.String |
AATSType123Key
(Amino-Acid) Color Scheme Key for TreeSAAP PBR/PBS file (All Type I,II,III schemes at once)
|
static java.lang.String |
AATSTypeIIIKey
(Amino-Acid) Color Scheme Key for TreeSAAP PBR/PBS file (Six properties or more)
|
static java.lang.String |
AATSTypeIIIUKey
(Amino-Acid) Color Scheme Key for TreeSAAP PBR/PBS file (N properties or more)
|
static java.lang.String |
AATSTypeIIKey
(Amino-Acid) Color Scheme Key for TreeSAAP PBR/PBS file (Two-Five properties)
|
static java.lang.String |
AATSTypeIKey
(Amino-Acid) Color Scheme Key for TreeSAAP PBR/PBS file (One property at most)
|
static java.lang.String |
DRNAIMPACTKey
(DNA/RNA) Color Scheme Key for IMPACT scheme (predefined colors)
|
static java.lang.String |
DRNAJalviewKey
(DNA/RNA) Color Scheme Key for Jalview scheme (predefined colors)
|
static java.lang.String |
DRNAMEGAKey
(DNA/RNA) Color Scheme Key for MEGA scheme (predefined colors)
|
static java.lang.String |
DRNASeaviewKey
(DNA/RNA) Color Scheme Key for Seaview scheme (predefined colors)
|
static int |
IndexAAAminoJ
Index of the (Amino-Acid) Amino Color Scheme
|
static int |
IndexAADatamonkeySites
Index of the (Amino-Acid) Datamonkey Sites Color Scheme
|
static int |
IndexAAMR
Index of the (Amino-Acid) Merged Results Color Scheme
|
static int |
IndexAAPAMLBEBM28
Index of the (Amino-Acid) PAMLBEB BEB M2 or M8 Color Scheme
|
static int |
IndexAAPAMLBEBM282
Index of the (Amino-Acid) PAMLBEB BEB M2 and M8: (2 Colors) Color Scheme
|
static int |
IndexAAPAMLBEBM283
Index of the (Amino-Acid) PAMLBEB BEB M2 and M8: (3 Colors) Color Scheme
|
static int |
IndexAASeaview
Index of the (Amino-Acid) Seaview Color Scheme
|
static int |
IndexAAShapelyJ
Index of the (Amino-Acid) Shapely Color Scheme
|
static int |
IndexAASideChains
Index of the (Amino-Acid) Side Chains Color Scheme
|
static int |
IndexAATSType123
Index of the (Amino-Acid) All Type I,II,III Color Schemes
|
static int |
IndexAATSTypeI
Index of the (Amino-Acid) Type I Color Scheme
|
static int |
IndexAATSTypeII
Index of the (Amino-Acid) Type II Color Scheme
|
static int |
IndexAATSTypeIII
Index of the (Amino-Acid) Type III Color Scheme
|
static int |
IndexAATSTypeIIIU
Index of the (Amino-Acid) Type III User Color Scheme
|
static int |
IndexDRNAIMPACT
Index of the (DNA/RNA) Amino Color Scheme
|
static int |
IndexDRNAJalview
Index of the (DNA/RNA) Jalview Color Scheme
|
static int |
IndexDRNAMEGA
Index of the (DNA/RNA) MEGA Color Scheme
|
static int |
IndexDRNASeaview
Index of the (DNA/RNA) Seaview Color Scheme
|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabledCROSSHAIR_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_CURSORBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT| Constructor and Description |
|---|
GUIColorSchemes(boolean visible)
Creates new form GUIJmolSchemes
|
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap<java.lang.String,java.awt.Color> |
getAAColorMap()
Get a map of AA codes to associated colors, from the loaded scheme.
|
java.lang.String[] |
getAAMatchingList(int namecase)
Get AA name list.
|
java.awt.Color[] |
getChosenColors()
Get colors selected or not by user.
|
java.util.HashMap<java.lang.String,java.awt.Color> |
getDRNAColorMap()
Get a map of DNA/RNA codes to associated colors, from the loaded scheme.
|
int |
getSchemeIndex(java.lang.String key)
Get Color Scheme Index, given key.
|
void |
loadScheme(int loadscheme)
Load user selected scheme of colors.
|
boolean |
schemeChanged()
Tell whether user has changed colors on scheme.
|
void |
setTreeSAAPSchemeOption(int lowerlimit)
Set the Lower limit as the user selected value for the User TreeSAAP coloring scheme.
|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final java.lang.String AATSTypeIKey
public static final java.lang.String AATSTypeIIKey
public static final java.lang.String AATSTypeIIIKey
public static final java.lang.String AATSTypeIIIUKey
public static final java.lang.String AATSType123Key
public static final java.lang.String AADMSitesKey
public static final java.lang.String AAPAMLBEBM28Key
public static final java.lang.String AAPAMLBEBM282Key
public static final java.lang.String AAPAMLBEBM283Key
public static final java.lang.String AATSCMLMRKey
public static final java.lang.String AASideChainsKey
public static final java.lang.String AASeaviewKey
public static final java.lang.String AAAminoJKey
public static final java.lang.String AAShapelyJKey
public static final java.lang.String DRNAIMPACTKey
public static final java.lang.String DRNASeaviewKey
public static final java.lang.String DRNAJalviewKey
public static final java.lang.String DRNAMEGAKey
public static final int IndexAATSTypeI
public static final int IndexAATSTypeII
public static final int IndexAATSTypeIII
public static final int IndexAATSTypeIIIU
public static final int IndexAATSType123
public static final int IndexAADatamonkeySites
public static final int IndexAAPAMLBEBM28
public static final int IndexAAPAMLBEBM282
public static final int IndexAAPAMLBEBM283
public static final int IndexAAMR
public static final int IndexAASideChains
public static final int IndexAASeaview
public static final int IndexAAAminoJ
public static final int IndexAAShapelyJ
public static final int IndexDRNAIMPACT
public static final int IndexDRNASeaview
public static final int IndexDRNAJalview
public static final int IndexDRNAMEGA
public GUIColorSchemes(boolean visible)
visible - determine the visibility of this window.public void setTreeSAAPSchemeOption(int lowerlimit)
lowerlimit - set the user selected value for the coloring scheme.public int getSchemeIndex(java.lang.String key)
key - for obtaining corresponding index.loadScheme(int),
AATSTypeIKey,
AATSTypeIIKey,
AATSTypeIIIKey,
AATSTypeIIIUKey,
AATSType123Key,
AAPAMLBEBM28Key,
AAPAMLBEBM282Key,
AAPAMLBEBM283Key,
AATSCMLMRKey,
AASideChainsKey,
AASeaviewKey,
AAAminoJKey,
AAShapelyJKey,
DRNAIMPACTKey,
DRNASeaviewKey,
DRNAJalviewKey,
DRNAMEGAKeypublic void loadScheme(int loadscheme)
loadscheme - selected scheme. Possible Values are:AATSTypeIKey,
AATSTypeIIKey,
AATSTypeIIIKey,
AATSTypeIIIUKey,
AATSType123Key,
AAPAMLBEBM28Key,
AAPAMLBEBM282Key,
AAPAMLBEBM283Key,
AATSCMLMRKey,
AASideChainsKey,
AASeaviewKey,
AAAminoJKey,
AAShapelyJKey,
DRNAIMPACTKey,
DRNASeaviewKey,
DRNAJalviewKey,
DRNAMEGAKeypublic boolean schemeChanged()
public java.util.HashMap<java.lang.String,java.awt.Color> getAAColorMap()
SequenceTranslator.getAANamesMap(boolean),
getAAMatchingList(int),
getChosenColors(),
getDRNAColorMap()public java.util.HashMap<java.lang.String,java.awt.Color> getDRNAColorMap()
getChosenColors(),
getAAColorMap()public java.awt.Color[] getChosenColors()
public java.lang.String[] getAAMatchingList(int namecase)
namecase - 0 - normal case; 1 - all lowercase; other - all uppercasegetChosenColors()