Class DSGUIInterface

  • All Implemented Interfaces:
    VDBInterface

    public class DSGUIInterface
    extends Object
    implements VDBInterface
    Insert the type's description here. Creation date: (4.2.2001 15:32:01)
    Author:
    Matej Sekoranja
    • Constructor Detail

      • DSGUIInterface

        public DSGUIInterface​(DrawingSurface drawingSurface,
                              CopyContext copyContext)
        Insert the method's description here. Creation date: (4.2.2001 15:32:49)
        Parameters:
        drawingSurface - com.cosylab.vdct.graphics.DrawingSurface
        copyContext - copyContext
    • Method Detail

      • moveOrigin

        public void moveOrigin​(int direction)
        Insert the method's description here. Creation date: (4.2.2001 15:12:21)
        Parameters:
        direction - direction
      • baseView

        public void baseView()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • checkGroupName

        public String checkGroupName​(String name,
                                     boolean relative)
        Returns error message or null if OK Creation date: (3.2.2001 22:11:01)
        Specified by:
        checkGroupName in interface VDBInterface
        Parameters:
        relative - relative
        name - java.lang.String
        Returns:
        java.lang.String
      • checkRecordName

        public String checkRecordName​(String name,
                                      String oldName,
                                      boolean relative)
        Returns error message or null if OK Creation date: (3.2.2001 22:11:01)
        Specified by:
        checkRecordName in interface VDBInterface
        Parameters:
        oldName - oldName
        relative - relative
        name - java.lang.String
        Returns:
        java.lang.String
      • isErrorMessage

        public boolean isErrorMessage​(String message)
        Description copied from interface: VDBInterface
        Returns true if the string returned by checkGroupName(...) and checkRecordName(...) is an error message and false when it is a warning.
        Specified by:
        isErrorMessage in interface VDBInterface
        Parameters:
        message - message
        Returns:
        something
      • copyToSystemClipboard

        public void copyToSystemClipboard​(Vector objs)
        Parameters:
        objs - objs
      • copy

        public void copy()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • systemCopy

        public void systemCopy()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • createBox

        public Box createBox()
        Description copied from interface: VDBInterface
        Insert the method's description here. Creation date: (3.2.2001 23:27:30)
        Specified by:
        createBox in interface VDBInterface
        Returns:
        something
      • createRecord

        public void createRecord​(String name,
                                 String type,
                                 boolean relative)
        Insert the method's description here. Creation date: (3.2.2001 23:27:30)
        Specified by:
        createRecord in interface VDBInterface
        Parameters:
        name - java.lang.String
        type - java.lang.String
        relative - boolean
      • cut

        public void cut()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • delete

        public void delete()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • group

        public void group​(String groupName)
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        groupName - groupName
      • importDB

        public void importDB​(File file)
                      throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • importTemplateDB

        public void importTemplateDB​(File file)
                              throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • importFields

        public void importFields​(File file)
                          throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • importBorder

        public void importBorder​(File file)
                          throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • importDBD

        public void importDBD​(File file)
                       throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • loadRdbGroup

        public void loadRdbGroup​(JFrame guiContext)
        Parameters:
        guiContext - guiContext
      • saveRdbGroup

        public void saveRdbGroup​(JFrame guiContext,
                                 boolean dialog)
        Parameters:
        guiContext - guiContext
        dialog - dialog
      • isModified

        public boolean isModified()
        Insert the method's description here. Creation date: (29.4.2001 11:37:22)
        Returns:
        boolean
      • isEmpty

        public boolean isEmpty()
        Returns:
        something
      • levelUp

        public void levelUp()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • newCmd

        public void newCmd()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • openDB

        public void openDB​(File file)
                    throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • openDBD

        public void openDBD​(File file)
                     throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • systemPaste

        public void systemPaste()
      • paste

        public void paste()
      • pasteAtPosition

        public void pasteAtPosition​(int pX,
                                    int pY)
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        pX - pX
        pY - pY
      • print

        public void print()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • redo

        public void redo()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • rename

        public void rename()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • rename

        public void rename​(String oldName,
                           String newName)
        Insert the method's description here. Creation date: (3.5.2001 10:05:02)
        Parameters:
        oldName - oldName
        newName - newName
      • morph

        public void morph()
      • morph

        public void morph​(String name,
                          String newType)
        Insert the method's description here. Creation date: (3.5.2001 10:05:02)
        Parameters:
        name - name
        newType - newType
      • save

        public void save​(File file)
                  throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:48:27)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • saveAsGroup

        public void saveAsGroup​(File file)
                         throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • export

        public void export​(File file)
                    throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:48:27)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • exportAsGroup

        public void exportAsGroup​(File file)
                           throws IOException
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        file - java.io.File
        Throws:
        IOException - foo
      • selectAll

        public void selectAll()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • setFlatView

        public void setFlatView​(boolean state)
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        state - boolean
      • setScale

        public void setScale​(double scale)
        Insert the method's description here. Creation date: (4.2.2001 15:43:50)
        Parameters:
        scale - double
      • showGrid

        public void showGrid​(boolean state)
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        state - boolean
      • showNavigator

        public void showNavigator​(boolean state)
        Insert the method's description here. Creation date: (27.4.2001 19:54:27)
        Parameters:
        state - boolean
      • smartZoom

        public void smartZoom()
        Zoom selection Creation date: (4.2.2001 15:57:56)
      • snapToGrid

        public void snapToGrid​(boolean state)
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
        Parameters:
        state - boolean
      • undo

        public void undo()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • ungroup

        public void ungroup()
        Insert the method's description here. Creation date: (4.2.2001 15:32:01)
      • updateGroupLabel

        public void updateGroupLabel()
        Insert the method's description here. Creation date: (22.4.2001 18:12:34)
      • getDrawingSurface

        public DrawingSurface getDrawingSurface()
        Returns:
        the drawingSurface
      • getDsId

        public Object getDsId()
        Returns:
        the id