jfig.gui
Class UserEditor

java.lang.Object
  extended byjfig.gui.ModularEditor
      extended byjfig.gui.UserEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, FigBasicEditor, FigCanvasListener, FigDrawableEnumerator, java.awt.event.ItemListener, java.awt.event.KeyListener

public class UserEditor
extends ModularEditor

example subclass of ModularEditor to demonstrate user extensions.


Nested Class Summary
 
Nested classes inherited from class jfig.gui.ModularEditor
ModularEditor.UrlDialogListener
 
Field Summary
(package private)  java.awt.MenuItem freehandMI
           
(package private)  java.awt.Menu userMenu
           
(package private)  java.awt.MenuItem zoom163MI
           
(package private)  java.awt.MenuItem zoom85MI
           
(package private)  StringDialog zoomDialog
           
(package private)  java.awt.MenuItem zoomValueMI
           
 
Fields inherited from class jfig.gui.ModularEditor
_callbackTable, aboutDialog, attribs, attribsButtonPanel, command, console, demoURL, displayTriggerFlag, editorMenuBar, exportOptionsDialog, FIG_31, FIG_32, fileDialog, filename, filetype, frame, getUrlDialog, globalAttributesDialog, keyHandler, menuFont, modeButtonPanel, objectCanvas, objectList, okToQuit, parser, recentFileManager, statusField, statusPanel, tmpfilename, tmpfiletype, tmpObject, tmpObjectList, TypeFILE, TypeRESOURCE, TypeURL, undoStack, versionString, writer
 
Constructor Summary
UserEditor()
           
 
Method Summary
 void buildUserMenu()
           
 void createZoomDialog()
           
static void main(java.lang.String[] argv)
           
 
Methods inherited from class jfig.gui.ModularEditor
actionPerformed, addCallback, addTmpObject, call, checkCanCancel, checkCreateAttributeCache, checkIsIdle, checkUnsavedChanges, clearEditorState, dbg, deleteFromObjectList, deleteTmpObject, doAddToAttributeCache, doAddUserColor, doAlignObjects, doBreakCompound, doBrowseOpenNextFile, doBrowseOpenPreviousFile, doCancel, doCancelUpdate, doClearAttributeCache, doClearUserColors, doConvertObject, doCopyObject, doCopyToClipboard, doCreateArc, doCreateBezier, doCreateCircle, doCreateClosedBezier, doCreateClosedSpline, doCreateCompound, doCreateEllipse, doCreateImage, doCreateLink, doCreatePolygon, doCreatePolyline, doCreateRectangle, doCreateRoundRectangle, doCreateSpline, doCreateText, doCutPoint, doCutToClipboard, doDeleteAll, doDeleteObject, doEditGlobalAttributes, doEditObject, doExportEPS, doExportNativeGIF, doExportNativePPM, doExportPrintPS, doExportPS, doExportSettings, doFlushUndoStack, doInsertPoint, doMergeFile, doMergeURL, doMirrorXObject, doMirrorYObject, doMoveObject, doMovePoint, doNextAttributeCache, doOpenCompound, doOpenRecentFile, doPanDown, doPanHome, doPanLeft, doPanRight, doPanUp, doParseFile, doParseResource, doParseURL, doPasteFromClipboard, doPrintClipboard, doPrintObjects, doPrintUndoStack, doPrintViaAWT, doQuit, doRedo, doRedraw, doRedraw, doResizeText, doRotateCCWObject, doRotateCWObject, doSaveFile, doSaveFileAs, doSaveToConsole, doScaleObject, doSelectFile, doSelectLibraryObject, doSelectOutputFile, doSelectURL, doSetGridCoarse, doSetGridFine, doSetGridMedium, doSetGridNone, doSetGridTen, doSetNoSnap, doSetSnap110, doSetSnap12, doSetSnap14, doSetSnap18, doSetUnitsInches, doSetUnitsMillimeter, doSetUnitsXfigMillimeter, doShowAboutDialog, doShowChangesDialog, doShowDemo, doShowDemoBiohazard, doShowDemoCircuit, doShowDemoFonts, doShowDemoGold, doShowDemoHouse, doShowDemoLayout, doShowDemoPictures, doShowDemoRotated, doShowDemoUnicode, doShowDemoWatch, doShowDemoWelcome, doShowEmbeddingJfigDialog, doShowExportFaqDialog, doShowFaqDialog, doShowHelpDialog, doShowJvmDialog, doShowLicenseDialog, doShowMessages, doShowMouseButtonDialog, doShowParticipateDialog, doShowProperties, doShowRegistrationDialog, doShowReminderDialog, doShowShortcutKeysDialog, doSnapAllObjectsToGrid, doSnapObjectToGrid, doStartNewDrawing, doUndo, doUpdateObject, doWriteHadesResource, doZoom11, doZoomFactor, doZoomFit, doZoomIn, doZoomOut, doZoomRegion, doZoomRegion, enableUpdateAll, enableUpdateInvert, enableUpdateNone, findAllObjectsAt, findNextObjectAt, findObjectAt, findObjectNearOrOver, getBaseFileName, getCallbackTable, getCurrentAttribs, getCurrentCommand, getDrawableObjects, getEditorState, getFilename, getFrame, getGeometryMode, getMenuBar, getObjectAlignmentModeX, getObjectAlignmentModeY, getObjectCanvas, getObjects, getSmartLinksMode, getStatusMessage, getTmpObject, getTmpObjects, getUndoStack, getUserPreferences, handleCommandCallback, handleParserCallback, handleParserMergeCallback, hideAllObjectCorners, hideAllTriggers, insertIntoObjectList, isIdle, isInObjectList, itemStateChanged, keyPressed, keyReleased, keyTyped, message, mousePressed, parse, setCurrentAttribs, setCurrentFigDirectory, setEditorState, setFigVersion, setInitialWindowSize, setZoomMessage, showAllObjectCorners, showAllTriggers, showObjectCorners, statusMessage, updateCurrentFigDirectory, writeFigObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userMenu

java.awt.Menu userMenu

zoom85MI

java.awt.MenuItem zoom85MI

zoom163MI

java.awt.MenuItem zoom163MI

zoomValueMI

java.awt.MenuItem zoomValueMI

freehandMI

java.awt.MenuItem freehandMI

zoomDialog

StringDialog zoomDialog
Constructor Detail

UserEditor

public UserEditor()
Method Detail

buildUserMenu

public void buildUserMenu()

createZoomDialog

public void createZoomDialog()

main

public static void main(java.lang.String[] argv)