| java.lang.Object com.jgraph.JGraphEditor
JGraphEditor | public class JGraphEditor (Code) | | Defines the structure of an JGraph editor.
|
VERSION | final public static String VERSION(Code) | | Global static product identifier.
|
JGraphEditor | public JGraphEditor()(Code) | | Constructs an empty editor.
|
JGraphEditor | public JGraphEditor(JGraphEditorSettings settings)(Code) | | Constructs a new editor for the specified settings and model.
Parameters: settings - The settings to use for the editor. |
JGraphEditor | public JGraphEditor(JGraphEditorSettings settings, JGraphEditorModel model, JGraphEditorKit kit, JGraphEditorFactory factory)(Code) | | Constructs a new editor for the specified settings and model.
Parameters: settings - The settings to use for the editor. Parameters: model - The model to use as the document model. Parameters: kit - The kit to be used to store the actions and tools. Parameters: factory - The factory to be used to creat the user interface. |
exit | public void exit(int code)(Code) | | Implements an application exit. This implementation invokes
JGraphEditorSettings.shutdown . Subclassers should call the
superclass method as the first step. Note: This method is never called
from within the framework.
|
isURL | public static boolean isURL(Object value)(Code) | | Returns true if the specified value is a URL, that is, if it starts with
one of http://, mailto:, ftp://, file:, https://, webdav:// or
webdavs://.
Parameters: value - The value that represents a potential URL. Returns true if value is a URL. |
toURL | public static String toURL(File file)(Code) | | Returns a URL representation for the specified file or an empty string if
there was an exception. This method silently ignores exceptions.
Parameters: file - The file to return the URL for. Returns the URL representation of file or an emptystring. |
toURL | public static URL toURL(String s)(Code) | | Returns a URL representation for the specified string or null if there
was an exception. This method silently ignores exceptions.
Parameters: s - The string to return the URL for. Returns the URL representation of string or null. |
|
|