Logo Search packages:      
Sourcecode: cdk version File versions  Download package

org::openscience::cdk::applications::jchempaint::JChemPaintEditorPanel Class Reference

Inheritance diagram for org::openscience::cdk::applications::jchempaint::JChemPaintEditorPanel:

org::openscience::cdk::applications::jchempaint::JChemPaintPanel org::openscience::cdk::event::ICDKChangeListener org::openscience::cdk::applications::plugin::ICDKEditBus

List of all members.


Detailed Description

This class implements an editing JChemPaintPanel.

Author:
steinbeck .created 16. Februar 2005 .module jchempaint
See also:
JChemPaintViewerOnlyPanel

Definition at line 97 of file JChemPaintEditorPanel.java.


Public Member Functions

void addChangeListener (ChangeListener x)
void addFilePopUpMenu ()
void customizeView ()
String getAPIVersion ()
Color getBackground ()
org.openscience.cdk.interfaces.IChemFile getChemFile ()
org.openscience.cdk.interfaces.IChemModel getChemModel ()
IChemObjectReader getChemObjectReader (Reader reader) throws IOException
FileFilter getCurrentOpenFileFilter ()
FileFilter getCurrentSaveFileFilter ()
File getCurrentWorkDirectory ()
JPanel getDrawingPanel ()
Vector getInstances ()
boolean getIsOpenedByViewer ()
JChemPaintModel getJChemPaintModel ()
JCPAction getJCPAction ()
String getLastEventReason ()
File getLastOpenedFile ()
File getLastSavedFile ()
JChemPaintMenuBar getMenu ()
JMenu getMenuForEmbedded ()
String getMenuResourceString (String key)
JButton getMoveButton ()
JScrollPane getScrollPane ()
boolean getShowInsertTextField ()
boolean getShowMenuBar ()
boolean getShowStatusBar ()
boolean getShowToolBar ()
JToolBar getToolBar ()
UndoManager getUndoManager ()
UndoableEditSupport getUndoSupport ()
Dimension getViewerDimension ()
File isAlreadyAFile ()
boolean isEmbedded ()
boolean isShowscrollbars ()
boolean isViewerOnly ()
 JChemPaintEditorPanel (int lines, Dimension panelDimension, boolean isEmbedded, String guiString)
 JChemPaintEditorPanel (int lines, Dimension panelDimension, String guiString)
 JChemPaintEditorPanel (int lines, Dimension panelDimension)
 JChemPaintEditorPanel ()
void processChemFile (org.openscience.cdk.interfaces.IChemFile chemFile)
void processChemModel (org.openscience.cdk.interfaces.IChemModel chemModel)
void registerModel (JChemPaintModel model)
void removeChangeListener (ChangeListener x)
void runScript (String s1, String s2)
void scaleAndCenterMolecule (IAtomContainer ac, Dimension dim)
void scaleAndCenterMolecule (org.openscience.cdk.interfaces.IChemModel chemModel, Dimension dim)
void scaleAndCenterMolecule (org.openscience.cdk.interfaces.IChemModel chemModel)
void setCurrentOpenFileFilter (FileFilter ff)
void setCurrentSaveFileFilter (FileFilter ff)
void setCurrentWorkDirectory (File cwd)
void setEmbedded ()
void setIsAlreadyAFile (File value)
void setIsOpenedByViewer (boolean isOpenedByViewer)
void setJChemPaintModel (JChemPaintModel model, Dimension panelDimension)
void setLastEventReason (String lastEventReason)
void setLastOpenedFile (File lof)
void setLastSavedFile (File lsf)
void setMoveButton (JButton moveButton)
void setNotEmbedded ()
void setScrollPane (JScrollPane scrollPane)
void setShowInsertTextField (boolean showInsertTextField)
void setShowMenuBar (boolean showMenuBar)
void setShowStatusBar (boolean showStatusBar)
void setShowToolBar (boolean showToolBar, int lines)
void setShowToolBar (boolean showToolBar)
void setUndoManager (UndoManager undoManager)
void setUndoSupport (UndoableEditSupport undoSupport)
void setupPopupMenus (PopupController2D inputAdapter)
void setViewerDimension (Dimension viewerDimension)
void setViewerOnly ()
void showChemFile (IChemFile file)
void showChemFile (org.openscience.cdk.interfaces.IChemFile chemFile)
void showChemFile (Reader file)
void showChemModel (IChemModel model)
void showChemModel (org.openscience.cdk.interfaces.IChemModel chemModel)
int showWarning ()
void stateChanged (ChangeEvent e)
void stateChanged (EventObject e)
Image takeSnapshot ()
String[] tokenize (String input)

Static Public Member Functions

static void closeAllInstances ()
static DictionaryDatabase getDictionaryDatabase ()
static JFrame getEmptyFrameWithModel ()
static JFrame getFrameWithModel (IChemModel mod)
static JFrame getNewFrame (JChemPaintModel model)
static String getNewFrameName ()
static ValidatorEngine getValidatorEngine ()

Public Attributes

Vector lastAction = new Vector()
JChemPaintPanel lastUsedJCPP = null
JButton selectButton

Protected Member Functions

void fireChange (String reason)

Protected Attributes

EventListenerList changeListeners = null
File isAlreadyAFile = null
JChemPaintModel jchemPaintModel
JButton moveButton = null

Package Functions

void setupIfModelNotEmpty ()

Package Attributes

DrawingPanel drawingPanel
String guiString = "stable"
InsertTextPanel insertTextPanel = null
boolean isEmbedded = false
boolean isOpenedByViewer = false
boolean isViewerOnly = false
JCPAction jcpaction = null
String lastEventReason
JPanel mainContainer
JChemPaintMenuBar menu
String recentSymbol = "C"
boolean showInsertTextField = true
boolean showMenuBar = true
boolean showStatusBar = true
boolean showToolBar = true
StatusBar statusBar
JToolBar toolBar
JPanel topContainer
Dimension viewerDimension

Static Package Attributes

static Vector instances = new Vector()
static String JCP_CLOSING = "2"
static String JCP_MODEL_CHANGED = "1"

Private Member Functions

void layoutInTable (Dimension baseDim, IChemModel model, Renderer2DModel rm)
Dimension makeChemModelFit (Dimension baseDim, IChemModel model)

Static Private Attributes

static DictionaryDatabase dictdb = null
static ValidatorEngine engine = null
static LoggingTool logger
static final long serialVersionUID = -5369372292013788887L

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index