Package com.cosylab.vdct
Class VisualDCT
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Frame
-
- javax.swing.JFrame
-
- com.cosylab.vdct.VisualDCT
-
- All Implemented Interfaces:
DsEventListener
,ImageObserver
,MenuContainer
,Serializable
,Accessible
,RootPaneContainer
,WindowConstants
public class VisualDCT extends JFrame implements DsEventListener
This type was generated by a SmartGuide.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame
-
Nested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
-
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow, Window.Type
-
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
-
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
-
Field Summary
-
Fields inherited from class javax.swing.JFrame
accessibleContext, 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.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
-
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
-
-
Method Summary
-
Methods inherited from class javax.swing.JFrame
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, update
-
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
-
Methods inherited from class java.awt.Window
addPropertyChangeListener, 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, 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, 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, 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, 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, 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, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
-
-
-
-
Constructor Detail
-
VisualDCT
public VisualDCT()
VisualDCT constructor comment.
-
VisualDCT
public VisualDCT(String title)
VisualDCT constructor comment.- Parameters:
title
- java.lang.String
-
-
Method Detail
-
base_ViewMenuItem_ActionPerformed
public void base_ViewMenuItem_ActionPerformed()
Comment
-
books_OnlineMenuItem_ActionPerformed
public void books_OnlineMenuItem_ActionPerformed()
Comment
-
boxButton_ActionPerformed
public void boxButton_ActionPerformed()
-
systemCopy
public void systemCopy()
-
systemPaste
public void systemPaste()
-
copyMenuItem_ActionPerformed
public void copyMenuItem_ActionPerformed()
Comment
-
cutMenuItem_ActionPerformed
public void cutMenuItem_ActionPerformed()
Comment
-
deleteMenuItem_ActionPerformed
public void deleteMenuItem_ActionPerformed()
Comment
-
exitMenuItem_ActionPerformed
public void exitMenuItem_ActionPerformed()
Comment
-
exportPostScriptFileMenuItem_ActionPerformed
public void exportPostScriptFileMenuItem_ActionPerformed()
Comment
-
flat_ViewMenuItem_ActionPerformed
public void flat_ViewMenuItem_ActionPerformed()
Comment
-
getBoxButtonEnabled
public boolean getBoxButtonEnabled()
- Returns:
- something
-
getfileChooser
public JFileChooser getfileChooser()
NOTE: everytime this method is called "JFileChooser.setSelectedFile" is reset. Return the fileChooser property value.- Returns:
- javax.swing.JFileChooser
-
getNewGroupNameChecker
protected NameChecker getNewGroupNameChecker()
- Returns:
- something
-
getInstance
public static VisualDCT getInstance()
- Returns:
- something
-
getLineButtonEnabled
public boolean getLineButtonEnabled()
- Returns:
- something
-
findActionPerformed
public void findActionPerformed()
-
getNewRecordNameChecker
protected NameChecker getNewRecordNameChecker()
Returns new record name checker or null if there isn't one.- Returns:
- something
-
getRenameNameChecker
protected NameChecker getRenameNameChecker()
- Returns:
- something
-
getRedoButton
public JButton getRedoButton()
Return the RedoButton property value.- Returns:
- javax.swing.JButton
-
getRedoMenuItem
public JMenuItem getRedoMenuItem()
Return the RedoMenuItem property value.- Returns:
- javax.swing.JMenuItem
-
getTextBoxButtonEnabled
public boolean getTextBoxButtonEnabled()
- Returns:
- something
-
getUndoButton
public JButton getUndoButton()
Return the UndoButton property value.- Returns:
- javax.swing.JButton
-
getUndoMenuItem
public JMenuItem getUndoMenuItem()
Return the UndoMenuItem property value.- Returns:
- javax.swing.JMenuItem
-
groupDialog_WindowOpened
public void groupDialog_WindowOpened(WindowEvent windowEvent)
Comment- Parameters:
windowEvent
- windowEvent
-
groupMenuItem_ActionPerformed
public void groupMenuItem_ActionPerformed()
Comment
-
groupOKButton_ActionPerformed
public void groupOKButton_ActionPerformed(ActionEvent actionEvent)
Comment- Parameters:
actionEvent
- actionEvent
-
help_TopicsMenuItem_ActionPerformed
public void help_TopicsMenuItem_ActionPerformed()
Comment
-
import_DBDMenuItem_ActionPerformed
public void import_DBDMenuItem_ActionPerformed()
Comment
-
import_DBMenuItem_ActionPerformed
public void import_DBMenuItem_ActionPerformed()
Comment
-
importTemplateActionPerformed
public void importTemplateActionPerformed()
Comment
-
importFieldsActionPerformed
public void importFieldsActionPerformed()
Comment
-
importBorderActionPerformed
public void importBorderActionPerformed()
Comment
-
level_UpMenuItem_ActionPerformed
public void level_UpMenuItem_ActionPerformed()
Comment
-
lineButton_ActionPerformed
public void lineButton_ActionPerformed()
-
main
public static void main(String[] args)
Starts the application. main entrypoint - starts the part when it is run as an application java VisualDCT [.dbd-file] [.db-file]- Parameters:
args
- java.lang.String[] an array of command-line arguments
-
move_RenameMenuItem_ActionPerformed
public void move_RenameMenuItem_ActionPerformed()
Comment
-
morphMenuItem_ActionPerformed
public void morphMenuItem_ActionPerformed()
-
navigatorMenuItem_ItemStateChanged
public void navigatorMenuItem_ItemStateChanged(ItemEvent itemEvent)
Comment- Parameters:
itemEvent
- itemEvent
-
windowsPanMenuItem_ItemStateChanged
public void windowsPanMenuItem_ItemStateChanged(ItemEvent itemEvent)
- Parameters:
itemEvent
- itemEvent
-
newMenuItem_ActionPerformed
public void newMenuItem_ActionPerformed()
Insert the method's description here. Creation date: (3.2.2001 19:55:14)
-
newRecordDialog_WindowOpened
public void newRecordDialog_WindowOpened(WindowEvent windowEvent)
Comment- Parameters:
windowEvent
- windowEvent
-
morphingDialog_WindowOpened
public void morphingDialog_WindowOpened(WindowEvent windowEvent)
- Parameters:
windowEvent
- windowEvent
-
oKButton_ActionPerformed
public void oKButton_ActionPerformed(ActionEvent actionEvent)
Comment- Parameters:
actionEvent
- actionEvent
-
morphingOKButton_ActionPerformed
public void morphingOKButton_ActionPerformed(ActionEvent actionEvent)
- Parameters:
actionEvent
- actionEvent
-
openDB
public void openDB(String fileName)
Insert the method's description here. Creation date: (26.1.2001 22:22:29)- Parameters:
fileName
- java.lang.String
-
openDBD
public boolean openDBD(String fileName)
Insert the method's description here. Creation date: (8.1.2001 20:30:58)- Parameters:
fileName
- fileName- Returns:
- something
-
openDBD
public boolean openDBD(String fileName, boolean allowDB)
Insert the method's description here. Creation date: (8.1.2001 20:30:58)- Parameters:
fileName
- fileNameallowDB
- allowDB- Returns:
- something
-
openMenuItem_ActionPerformed
public void openMenuItem_ActionPerformed()
Comment
-
pageSetupMenuItem_ActionPerformed
public void pageSetupMenuItem_ActionPerformed(ActionEvent actionEvent)
Comment- Parameters:
actionEvent
- actionEvent
-
pasteMenuItem_ActionPerformed
public void pasteMenuItem_ActionPerformed()
Comment
-
pluginManagerMenuItem_ActionPerformed
public void pluginManagerMenuItem_ActionPerformed(ActionEvent actionEvent)
Comment- Parameters:
actionEvent
- actionEvent
-
preferences___MenuItem_ActionPerformed
public void preferences___MenuItem_ActionPerformed()
Comment
-
spreadsheetMenuItemActionPerformed
public void spreadsheetMenuItemActionPerformed()
Comment
-
getSpreadsheetInspector
public SpreadsheetInspector getSpreadsheetInspector()
- Returns:
- something
-
printGrid
public byte[] printGrid(PageFormat pageFormat, StringBuffer stringBuffer, ViewState view)
- Parameters:
pageFormat
- pageFormatstringBuffer
- stringBufferview
- view- Returns:
- something
-
printAsPostScriptMenuItem_ActionPerformed
public void printAsPostScriptMenuItem_ActionPerformed()
Comment
-
printMenuItem_ActionPerformed
public void printMenuItem_ActionPerformed()
Comment
-
printPreviewMenuItem_ActionPerformed
public void printPreviewMenuItem_ActionPerformed(ActionEvent actionEvent)
Comment- Parameters:
actionEvent
- actionEvent
-
redoMenuItem_ActionPerformed
public void redoMenuItem_ActionPerformed()
Comment
-
renameDialog_WindowOpened
public void renameDialog_WindowOpened(WindowEvent windowEvent)
Comment- Parameters:
windowEvent
- windowEvent
-
renameOKButton_ActionPerformed
public void renameOKButton_ActionPerformed(ActionEvent actionEvent)
Comment- Parameters:
actionEvent
- actionEvent
-
save_As_GroupMenuItem_ActionPerformed
public void save_As_GroupMenuItem_ActionPerformed()
Comment
-
generateAsGroupMenuItem_ActionPerformed
public void generateAsGroupMenuItem_ActionPerformed()
Comment
-
save_AsMenuItem_ActionPerformed
public boolean save_AsMenuItem_ActionPerformed()
Comment- Returns:
- something
-
saveAsTemplateMenuItem_ActionPerformed
public void saveAsTemplateMenuItem_ActionPerformed()
Comment
-
generateMenuItem_ActionPerformed
public void generateMenuItem_ActionPerformed()
Comment
-
saveMenuItem_ActionPerformed
public boolean saveMenuItem_ActionPerformed()
Comment- Returns:
- something
-
select_AllMenuItem_ActionPerformed
public void select_AllMenuItem_ActionPerformed()
Comment
-
setBoxButtonEnabled
public void setBoxButtonEnabled(boolean parBoxButtonEnabled)
- Parameters:
parBoxButtonEnabled
- parBoxButtonEnabled
-
setCurrentGroup
public void setCurrentGroup(String groupName)
Insert the method's description here. Creation date: (29.4.2001 11:17:11)- Parameters:
groupName
- java.lang.String
-
setMode
public void setMode(String mode)
Insert the method's description here. Creation date: (29.4.2001 11:17:11)- Parameters:
mode
- mode
-
setDefaultDirectory
public void setDefaultDirectory(String dir)
Insert the method's description here. Creation date: (29.1.2001 15:35:49)- Parameters:
dir
- java.lang.String
-
setFileInTitle
public void setFileInTitle(String fileName)
Insert the method's description here. Creation date: (29.4.2001 11:02:03)- Parameters:
fileName
- java.lang.String
-
setLineButtonEnabled
public void setLineButtonEnabled(boolean parLineButtonEnabled)
- Parameters:
parLineButtonEnabled
- parLineButtonEnabled
-
setScale
public void setScale(double scale)
Insert the method's description here. Creation date: (29.12.2000 12:43:58)- Parameters:
scale
- double
-
setTextBoxButtonEnabled
public void setTextBoxButtonEnabled(boolean parTextBoxButtonEnabled)
- Parameters:
parTextBoxButtonEnabled
- parTextBoxButtonEnabled
-
show_PointsMenuItem_ItemStateChanged
public void show_PointsMenuItem_ItemStateChanged(ItemEvent itemEvent)
Comment- Parameters:
itemEvent
- itemEvent
-
showAboutBox
public void showAboutBox()
-
showGroupDialog
public void showGroupDialog()
Insert the method's description here. Creation date: (2.5.2001 10:30:28)
-
showNewDialog
public void showNewDialog()
Insert the method's description here. Creation date: (3.2.2001 19:39:20)
-
showMorphingDialog
public void showMorphingDialog(String name, String oldType, Object[] targets)
- Parameters:
name
- nameoldType
- oldTypetargets
- targets
-
showRenameDialog
public void showRenameDialog(String oldName)
Insert the method's description here. Creation date: (2.5.2001 10:30:28)- Parameters:
oldName
- oldName
-
smart_ZoomMenuItem_ActionPerformed
public void smart_ZoomMenuItem_ActionPerformed()
Comment
-
snapToGridMenuItem_ItemStateChanged
public void snapToGridMenuItem_ItemStateChanged(ItemEvent itemEvent)
Comment- Parameters:
itemEvent
- itemEvent
-
statusbarMenuItem_ActionPerformed
public void statusbarMenuItem_ActionPerformed()
Comment
-
textBoxButton_ActionPerformed
public void textBoxButton_ActionPerformed()
-
toolbarMenuItem_ActionPerformed
public void toolbarMenuItem_ActionPerformed()
Comment
-
undoMenuItem_ActionPerformed
public void undoMenuItem_ActionPerformed()
Comment
-
ungroupMenuItem_ActionPerformed
public void ungroupMenuItem_ActionPerformed()
Comment
-
viewStatusBar
public void viewStatusBar()
-
viewToolBar
public void viewToolBar()
-
zoom_InMenuItem_ActionPerformed
public void zoom_InMenuItem_ActionPerformed()
Comment
-
zoom_OutMenuItem_ActionPerformed
public void zoom_OutMenuItem_ActionPerformed()
Comment
-
zoomSlider_MouseReleased
public void zoomSlider_MouseReleased(MouseEvent mouseEvent)
Comment- Parameters:
mouseEvent
- mouseEvent
-
zoomSlider_PropertyChange
public void zoomSlider_PropertyChange(PropertyChangeEvent propertyChangeEvent)
Comment- Parameters:
propertyChangeEvent
- propertyChangeEvent
-
zoomSlider_updateLabel
public void zoomSlider_updateLabel()
Comment
-
moveOrigin
public void moveOrigin(int direction)
Comment- Parameters:
direction
- direction
-
updateLoadLabel
public void updateLoadLabel()
Comment
-
getOpenedFile
public File getOpenedFile()
Returns the openedFile.- Returns:
- java.io.File
-
setOpenedFile
public void setOpenedFile(File openedFile, String title)
Sets the openedFile.- Parameters:
openedFile
- The openedFile to settitle
- title
-
getRecentFilesMenu
public RecentFilesMenu getRecentFilesMenu()
Returns the ivjRecentFilesMenuItem.- Returns:
- RecentFilesMenu
-
getComboBoxFileChooser
public ComboBoxFileChooser getComboBoxFileChooser()
- Returns:
- something
-
setDefaultFocus
public void setDefaultFocus()
-
onDsAdded
public void onDsAdded(Object id)
- Specified by:
onDsAdded
in interfaceDsEventListener
- Parameters:
id
- id
-
onDsFocused
public void onDsFocused(Object id)
- Specified by:
onDsFocused
in interfaceDsEventListener
- Parameters:
id
- id
-
onDsRemoved
public void onDsRemoved(Object id)
- Specified by:
onDsRemoved
in interfaceDsEventListener
- Parameters:
id
- id
-
-