A B C D E F G H I L M N O P R S T U V W X _

S

save(JGraph) - Method in class easik.sketch.util.Tex.TexFile
Saves the graph as a \.tex file by converting all elements to strings formatted for GasTex.
saveAction(String) - Static method in class easik.sketch.util.Export.SaveForSQL
Prompts user if current sketch is unsaved.
saveAction() - Method in class easik.ui.ProgramSettingsUI
Actions to be taken when ok button is pressed Colors and settings will be saved to ini file
saveErrorCheck() - Method in class easik.ui.datatype.DataTypePane
Error checks before the save operation.
saveFile() - Static method in class easik.ui.menu.FileSaveAction
Static method to save file to allow for saves prompted by the user via the action listener or by the program via the export to SQL functions.
SaveForSQL - Class in easik.sketch.util.Export
A class to provide a method to save a sketch for SQL database generation if the sketch has been modified since the last use, and to initialize the SketchHandler associated with the sketch.
SaveForSQL() - Constructor for class easik.sketch.util.Export.SaveForSQL
 
saveOpenOperation - Variable in class easik.sketch.util.ini.IniSettings
Default save/open folder operation
saveToXML(File) - Method in class easik.sketch.Sketch
Saves the existing sketch as an XML file.
saveValues() - Method in class easik.ui.datatype.DataTypePane
Saves the values from the GUI back into the data type
selected - Variable in class easik.sketch.util.graph.EntityView.EntityRenderer
If the entity cell is selected
selectionUpdated() - Method in class easik.StateManager
Hook for informing the current active state that the selection has been updated
selectionUpdated() - Method in class easik.states.BasicEditingState
Update the selection so that the only selectable items will be those within reach of the existing edges.
selectionUpdated() - Method in class easik.states.EasikState
Hook to record when selection has been updated
selectionUpdated() - Method in class easik.states.GetPathState
Update the selection so that the only selectable items will be those within reach of the existing edges.
set_DB2_type(String) - Method in class easik.sketch.datatype.DataType
 
set_db_name(String) - Method in class easik.sketch.util.Export.Constraints.ExportConstraint
Sets the database name
set_MySQL_type(String) - Method in class easik.sketch.datatype.DataType
 
set_Oracle_type(String) - Method in class easik.sketch.datatype.DataType
 
set_useDB2(boolean) - Method in class easik.sketch.datatype.DataTypeController
 
set_useMySQL(boolean) - Method in class easik.sketch.datatype.DataTypeController
 
set_useOracle(boolean) - Method in class easik.sketch.datatype.DataTypeController
 
set_user_type(String) - Method in class easik.sketch.datatype.DataType
 
set_useUserDefined(boolean) - Method in class easik.sketch.datatype.DataTypeController
 
set_useXML(boolean) - Method in class easik.sketch.datatype.DataTypeController
 
set_XML_type(String) - Method in class easik.sketch.datatype.DataType
 
setAfterInsertProcs() - Method in class easik.sketch.util.Export.Constraints.ExportPullback
Sets the procedures to be called AFTER INSERT on the tables which form the codomains of the first and third paths.
setAIForTable(ExportPath, ExportPath) - Method in class easik.sketch.util.Export.Constraints.ExportPullback
Sets AFTER INSERT procedure for the table which is the domain of path mainP.
setAllConstraintsVisible(LinkedList<Constraint>, boolean) - Static method in class easik.sketch.constraint.Constraint
Sets all constraints to visible/invisible in the sketch.
setAllInfo(String, String, String) - Method in class easik.sketch.document.DocumentInfo
Sets all editable information, with the parameters determined by the user.
setAttributes(ArrayList<EntityAttribute>) - Method in class easik.sketch.attribute.UniqueKey
Sets the attributes involved in this unique key to the attributes present in inAtts
setBaseTable() - Method in class easik.sketch.util.Export.Constraints.ExportCommutativeDiagram
Sets the base table (that is, the domain) of the commutative diagram.
setBaseTable() - Method in class easik.sketch.util.Export.Constraints.ExportConstraint
Sets the base table for the constraint.
setBaseTable() - Method in class easik.sketch.util.Export.Constraints.ExportProductConstraint
Sets the base table of this product constraint.
setBaseTable() - Method in class easik.sketch.util.Export.Constraints.ExportPullback
Sets the base table of this constraint.
setBaseTable() - Method in class easik.sketch.util.Export.Constraints.ExportSumConstraint
Sets the base table in the superclass based on requirements for a sum constraint.
setBeforeDeleteProcs() - Method in class easik.sketch.util.Export.Constraints.ExportPullback
Sets the procedure to be called BEFORE DELETE on the domain of the pullback constraint.
setButtonPaneVisibility(boolean) - Method in class easik.ui.ApplicationFrame
Sets if the button pane is visible or not
setCancelButton(boolean) - Method in class easik.states.EasikState
Use this function to toggle the usability of the cancel button.
setCellClass(Class) - Method in class easik.sketch.util.graph.ExtendableCellViewFactory.CellViewMapping
Sets the class of the cell.
setColor(Color) - Method in class easik.ui.ProgramSettingsUI.ColorSettingPane
Sets the color associated with this pane Note: Should be overwritten when creating
setCONSTRAINT_BG_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setCONSTRAINT_BORDER_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setCONSTRAINT_FG_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setConstraints() - Method in class easik.sketch.util.Export.Database.DatabaseBuilder
Sets the constraint string in the database.
setConstraints() - Method in class easik.sketch.util.Export.SketchToSchema
Sets the constraint string for this schema
setConstraintStrings() - Method in class easik.sketch.util.Export.Constraints.ExportCommutativeDiagram
Sets the constraint string for this constraint
setConstraintStrings() - Method in class easik.sketch.util.Export.Constraints.ExportConstraint
Sets the constraint string for this constraint.
setConstraintStrings() - Method in class easik.sketch.util.Export.Constraints.ExportProductConstraint
Sets the constraint strings for this constraint
setConstraintStrings() - Method in class easik.sketch.util.Export.Constraints.ExportPullback
Sets all constraint strings for this constraint.
setConstraintStrings() - Method in class easik.sketch.util.Export.Constraints.ExportSumConstraint
Sets all constraint strings for this constraint.
setCreateString(String) - Method in class easik.sketch.util.Export.SketchToSchema
Setter method for the CREATE DATABASE name SQL string.
setCreationDate(String) - Method in class easik.sketch.document.DocumentInfo
Sets the creation date.
setDatabase() - Method in class easik.sketch.util.Export.Database.DatabaseBuilder
Method to create a new database and set this database to be the one to use from all points afterwords
setDataType(DataType) - Method in class easik.sketch.attribute.EntityAttribute
Sets the data type of the attribute
setDateInfo() - Method in class easik.sketch.document.DocumentInfo
Sets the date information when a save is called.
setDeleteProc() - Method in class easik.sketch.util.Export.Constraints.ExportProductConstraint
Sets the delete constraint string for this constraint.
setDeleteProcs() - Method in class easik.sketch.util.Export.Constraints.ExportSumConstraint
Sets the delete procedure strings for this constraint, and returns it.
setDesc(String) - Method in class easik.sketch.document.DocumentInfo
Sets the description of the current sketch
setDirty(boolean) - Method in class easik.sketch.Sketch
Used to mark a sketch as dirty or not.
setDriverHashMap() - Static method in class easik.sketch.util.Export.ExportConstants
Sets the driver hash map
setEditability(boolean) - Method in class easik.ui.datatype.DataTypePane
Sets if the data type is editable or disabled from changes
setEditability(boolean) - Method in class easik.ui.datatype.PlatformTypePane
Sets if the values are editable or not.
setENTITY_BG_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setENTITY_BORDER_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setENTITY_FG_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setFailTable() - Method in class easik.sketch.util.Export.Database.DatabaseBuilder
Sets the fail table and procedure for the newly created database so failures can be logged and triggers can produce an error statement should an illegal operation be performed.
setFile(File) - Method in class easik.sketch.Sketch
This assigns a file to the current sketch.
setFinishButton(boolean) - Method in class easik.states.EasikState
Use this function to toggle the usability of the finish button.
setFLETCHED_EDGE_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setHighlighted(boolean) - Method in class easik.sketch.edge.GuideEdge
Sets the edge as highlighted or not
setInfoTreeUI(InfoTreeUI) - Method in class easik.ui.ApplicationFrame
Sets the InfoTreeUI
setInsertProcs() - Method in class easik.sketch.util.Export.Constraints.ExportProductConstraint
Sets the insert constraint strings for this constraint.
setInsertProcs() - Method in class easik.sketch.util.Export.Constraints.ExportSumConstraint
Sets the insert procedure strings for this constraint, and returns it.
setKeyName(String) - Method in class easik.sketch.attribute.UniqueKey
Sets the key name to the name described in inName
setKeyNode(DefaultMutableTreeNode) - Method in class easik.sketch.vertex.EntityNode
Sets the tree node used to display unique keys
setLastUsedFolder(String) - Method in class easik.sketch.util.ini.IniSettings
 
setLocationHashMap() - Static method in class easik.sketch.util.Export.ExportConstants
Sets the driver location hash map
setMarked(boolean) - Method in class easik.sketch.util.Export.Components.ExportTable
Sets this table as mark.
setMarked(boolean) - Method in class easik.sketch.vertex.SketchVertex
Mutator for the marked flag.
setModificationDate(String) - Method in class easik.sketch.document.DocumentInfo
Sets the last modification date.
setName(String) - Method in class easik.sketch.attribute.EntityAttribute
Sets the attribute name.
setName(String) - Method in class easik.sketch.document.DocumentInfo
Sets the name of this sketch, and also sets the name above the information tree.
setName(String) - Method in class easik.sketch.edge.SketchEdge
Sets the name of this edge.
setName(String) - Method in class easik.sketch.vertex.SketchVertex
Mutator for the name field
setNextButton(boolean) - Method in class easik.states.EasikState
Use this function to toggle the usability of the ok button.
setNode(DefaultMutableTreeNode) - Method in class easik.sketch.attribute.EntityAttribute
Sets the node used for displaying the attribute
setNode(DefaultMutableTreeNode) - Method in class easik.sketch.attribute.UniqueKey
Sets the node used to display the unique key in the tree
setNode(DefaultMutableTreeNode) - Method in class easik.sketch.constraint.Constraint
Sets the node used to display the constraint in the tree
setNode(DefaultMutableTreeNode) - Method in class easik.sketch.vertex.EntityNode
Sets the tree node used to display entity
setPATH_SELECTION_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setPaths(ArrayList<SketchPath>) - Method in class easik.sketch.constraint.ProductConstraint
Sets the path array, updates edge list, and updates display
setPaths(ArrayList<SketchPath>) - Method in class easik.sketch.constraint.SumConstraint
Sets the path array, updates edge list, and updates display
SetPoints - Class in easik.sketch
Graph Listener to set points on edges so that multiple edges between two nodes can be displayed properly.
SetPoints() - Constructor for class easik.sketch.SetPoints
Create the new action
setPopMenuItems() - Method in class easik.ui.ApplicationFrame
Sets the visibility of popup menu items based on what is selected
setPopMenuItems() - Method in class easik.ui.tree.InfoTreeUI
Sets which of the menu items will be visible
setPullbackInsertProcs() - Method in class easik.sketch.util.Export.Constraints.ExportPullback
Sets the procedure to be called BEFORE INSERT on the pull back table (that is, the base table) of this constraint.
setRECENT_FILES(LinkedList<String>) - Method in class easik.sketch.util.ini.IniSettings
 
setSaveOpenOperation(int) - Method in class easik.sketch.util.ini.IniSettings
 
setShowAllAttsAndUniqueKeys(boolean) - Method in class easik.sketch.util.ini.IniSettings
 
setShowConstraints(boolean) - Method in class easik.ui.ApplicationFrame
Set the Show Constraints menu item to reflect if constraints are shown.
setSIMPLE_EDGE_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setSize() - Method in class easik.ui.datatype.DatatypesUI
Sets the size of the window
setSpecificFolder(String) - Method in class easik.sketch.util.ini.IniSettings
 
setSTANDARD_SELECTION_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setStateString(String) - Method in class easik.ui.ApplicationFrame
The state label indicates the current state above the next/cancel buttons.
setStatusBar(String) - Method in class easik.ui.ApplicationFrame
Updates what is displayed on the status bar.
setTables() - Method in class easik.sketch.util.Export.Database.DatabaseBuilder
A method to create the database tables.
setTables() - Method in class easik.sketch.util.Export.SketchToSchema
A method to set all tables associated with the schema.
setTargetTable() - Method in class easik.sketch.util.Export.Constraints.ExportCommutativeDiagram
Sets the target table (that is, the codomain) of the commutative diagram.
setTargetTable() - Method in class easik.sketch.util.Export.Constraints.ExportConstraint
Sets the target table(s) for the constraint.
setTargetTable() - Method in class easik.sketch.util.Export.Constraints.ExportPullback
Sets the target table of this constraint.
setTimeTriggers(HashMap<String, LinkedList<ExportConstraint>>, String, String, String) - Method in class easik.sketch.util.Export.Constraints.ExportTriggerFormatter
Sets all triggers based on the time passed as a parameter
setTreeName(String) - Method in class easik.ui.ApplicationFrame
Sets the String to be displayed above the information tree.
setTriggers() - Method in class easik.sketch.util.Export.Constraints.ExportTriggerFormatter
Sets all triggers by determining all procedures that must be called from inside a each respective trigger.
setTriggers() - Method in class easik.sketch.util.Export.Database.DatabaseBuilder
A method to pass trigger strings to the SQL server.
setTypeDesc(String) - Method in class easik.sketch.datatype.DataType
Sets the description of the data type
setTypeFromTemp() - Method in class easik.sketch.attribute.EntityAttribute
Sets the data type from the temporary type name
setTypeName(String) - Method in class easik.sketch.datatype.DataType
Sets the name of the data type
setTypeVisibility() - Method in class easik.ui.datatype.DataTypePane
Sets only the types that active to visible.
setUseString(String) - Method in class easik.sketch.util.Export.SketchToSchema
Sets the USE database string for the schema.
setViewClass(Class) - Method in class easik.sketch.util.graph.ExtendableCellViewFactory.CellViewMapping
Sets the class of the view.
setViewIndirections(Vector<ExtendableCellViewFactory.CellViewMapping>) - Method in class easik.sketch.util.graph.ExtendableCellViewFactory
 
setVIRTUAL_EDGE_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setVIRTUAL_HIGHLIGHTED_EDGE_COLOR(Color) - Method in class easik.sketch.util.ini.IniSettings
 
setVisible(boolean) - Method in class easik.sketch.constraint.Constraint
Sets if the constraint should be visible or not
setX(int) - Method in class easik.sketch.vertex.SketchVertex
Mutator for the X coordinate
setY(int) - Method in class easik.sketch.vertex.SketchVertex
Mutator for the Y coordinate
showAllAttsAndUniqueKeys - Variable in class easik.sketch.util.ini.IniSettings
The default value for show all attributes & unique keys option when app is loaded
ShowAllConstraintsAction - Class in easik.ui.menu
Menu action for opening and loading a sketch
ShowAllConstraintsAction() - Constructor for class easik.ui.menu.ShowAllConstraintsAction
Create the menu option for loading a sketch
ShowConstraint - Class in easik.ui.tree.popup
Show constraint menu action for the information tree.
ShowConstraint() - Constructor for class easik.ui.tree.popup.ShowConstraint
Set up the edit attribute menu option.
showHelpIndex() - Method in class easik.ui.Help
Causes the help pane to be displayed.
SIMPLE_EDGE_COLOR - Variable in class easik.sketch.util.ini.IniSettings
The color of a simple edge
Sketch - Class in easik.sketch
A Sketch represents an EA Sketch diagram used to represent a database, this object also extends the JGraph swing component, allowing it to be added directly to the application's GUI.
Sketch(ApplicationFrame) - Constructor for class easik.sketch.Sketch
The default constructor sets all the visual settings for the JGraph, as well as initialising the sketch to be empty.
SketchAdapter - Class in easik.sketch.util
This class is the adapter which allows JGraphT graphs to be represented in JGraph I stole this from JGraphT, but modified it into something appropriate for JEase.
SketchAdapter(ListenableDirectedGraph<SketchVertex, DefaultEdge>, Sketch) - Constructor for class easik.sketch.util.SketchAdapter
Constructs a new JGraph model adapter for the specified JGraphT graph.
SketchAdapter.CellFactory - Interface in easik.sketch.util
Creates the JGraph cells that reflect the respective JGraphT elements.
SketchAdapter.DefaultCellFactory - Class in easik.sketch.util
A simple default cell factory.
SketchAdapter.DefaultCellFactory() - Constructor for class easik.sketch.util.SketchAdapter.DefaultCellFactory
 
SketchAdapter.JGraphListener - Class in easik.sketch.util
Inner class listening to the GraphModel.
SketchAdapter.JGraphListener(Sketch) - Constructor for class easik.sketch.util.SketchAdapter.JGraphListener
Default constructor
SketchAdapter.JGraphTListener - Class in easik.sketch.util
A listener on the underlying JGraphT graph.
SketchAdapter.JGraphTListener() - Constructor for class easik.sketch.util.SketchAdapter.JGraphTListener
 
SketchEdge - Class in easik.sketch.edge
This is a class to represent an arrow between two nodes.
SketchEdge(EntityNode, EntityNode, String, boolean) - Constructor for class easik.sketch.edge.SketchEdge
Creates a new arrow and gives it a name indicative of its source and target.
SketchFileIO - Class in easik.sketch.util
Here is a collection of static methods which are used to save and load Sketches from XML.
SketchFileIO() - Constructor for class easik.sketch.util.SketchFileIO
 
SketchHandler - Class in easik.sketch.util
The SketchHandler is the overloaded handler for reading the sketches in from XML.
SketchHandler() - Constructor for class easik.sketch.util.SketchHandler
Default Constructor
SketchPath - Class in easik.sketch.path
This class is used to track path data used for constraints
SketchPath(EntityNode) - Constructor for class easik.sketch.path.SketchPath
Default constructor takes one entity
SketchPath(LinkedList<SketchEdge>) - Constructor for class easik.sketch.path.SketchPath
Default constructor takes a LinkedList of edges
SketchSelectionListener - Class in easik.sketch.util
This class sits on the Sketch we've created and listens for selection events.
SketchSelectionListener(Sketch) - Constructor for class easik.sketch.util.SketchSelectionListener
Initialises the sketch listener.
SketchToSchema - Class in easik.sketch.util.Export
Sketch to Schema is a class which will accept a sketch and then generate an SQL schema.
SketchToSchema(ExportHandler, String) - Constructor for class easik.sketch.util.Export.SketchToSchema
This is the constructor that takes the ExportHandler containing information via the XML file (that is, bypassing all sketch information) and provides the output schema.
sketchToXML(File, Sketch) - Static method in class easik.sketch.util.SketchFileIO
Converts a sketch to an XML file.
SketchUI - Class in easik.ui
A subclass of BasicGraphUI which we are overloading to allow for better control of the UI.
SketchUI() - Constructor for class easik.ui.SketchUI
 
SketchUI.MouseHandler - Class in easik.ui
A subclass of Mouse Handler which will ignore all but the left click.
SketchUI.MouseHandler() - Constructor for class easik.ui.SketchUI.MouseHandler
 
SketchVertex - Class in easik.sketch.vertex
The superclass of all nodes on the sketch, has a name and a coordinate.
SketchVertex() - Constructor for class easik.sketch.vertex.SketchVertex
Create a blank sketch vertex, no name, and located at (0, 0)
SketchVertex(String, int, int) - Constructor for class easik.sketch.vertex.SketchVertex
Create a vertex with basic attributes
specificFolder - Variable in class easik.sketch.util.ini.IniSettings
Specific Folder
SQL - Static variable in class easik.sketch.util.Export.ExportConstants
The string SQL
SQL_EXTENSION - Static variable in class easik.sketch.util.Export.ExportConstants
The SQL file extension
SQL_FILE - Static variable in class easik.EasikConstants
File extension for SQL text files
SQL_PLATFORM_LOCATIONS - Static variable in class easik.sketch.util.Export.ExportConstants
The platform locations, indexed by the type of database
SQLFileBuilder - Class in easik.sketch.util.Export.Text
Class to generate a SQL text file for exportation by the user.
SQLFileBuilder(ExportHandler) - Constructor for class easik.sketch.util.Export.Text.SQLFileBuilder
Create a new SQLFileBuilder from the current sketch.
SQLFileFilter - Class in easik.sketch.util.Export.Text
Class extending FileFilter to select only those files ending in .sql
SQLFileFilter() - Constructor for class easik.sketch.util.Export.Text.SQLFileFilter
 
STANDARD_SELECTION_COLOR - Variable in class easik.sketch.util.ini.IniSettings
The standard selection color
startElement(String, String, String, Attributes) - Method in class easik.sketch.util.Export.ExportHandler
Overloaded method from the extended Default Handler
startElement(String, String, String, Attributes) - Method in class easik.sketch.util.SketchHandler
Overloaded method that is called any time the start of an element is found
StateManager - Class in easik
The state manager is a class that keeps track of the current state of the program.
StateManager(Easik) - Constructor for class easik.StateManager
Initialize the state manager
SumConstraint - Class in easik.sketch.constraint
This class represents the sum colimit constraint.
SumConstraint(ArrayList<SketchPath>) - Constructor for class easik.sketch.constraint.SumConstraint
Default Constructor takes an ArrayList of SketchPaths
SumConstraint(ArrayList<SketchPath>, int, int, boolean) - Constructor for class easik.sketch.constraint.SumConstraint
Constructor for specifying position on graph

A B C D E F G H I L M N O P R S T U V W X _