public abstract class AbstractFrame extends javax.swing.JFrame implements Exportable
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
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
AbstractFrame() |
Modifier and Type | Method and Description |
---|---|
void |
clearDirty() |
void |
doCloseWindow() |
void |
doCopy() |
void |
doCut() |
void |
doDelete() |
void |
doExport() |
void |
doFind() |
void |
doImport() |
void |
doMinimizeWindow() |
void |
doPaste() |
void |
doPrint() |
void |
doPrint(boolean scaleIfDoesntImplementPrintable) |
void |
doSelectAll() |
void |
doZoomWindow() |
javax.swing.Action |
getAboutAction() |
javax.swing.Action |
getCloseWindowAction() |
javax.swing.Action |
getCopyAction() |
javax.swing.Action |
getCutAction() |
javax.swing.Action |
getDeleteAction() |
javax.swing.Action |
getExitAction() |
javax.swing.Action |
getExportAction() |
javax.swing.Action |
getFindAction() |
javax.swing.Action |
getHelpAction()
override this to provide a document specific help menu item
|
javax.swing.Action |
getImportAction() |
javax.swing.Action |
getMinimizeWindowAction() |
javax.swing.Action |
getNewAction() |
javax.swing.Action |
getOpenAction() |
javax.swing.Action |
getPageSetupAction() |
javax.swing.Action |
getPasteAction() |
javax.swing.Action |
getPreferencesAction() |
javax.swing.Action |
getPrintAction() |
javax.swing.Action |
getSaveAction() |
javax.swing.Action |
getSaveAsAction() |
javax.swing.Action |
getSelectAllAction() |
javax.swing.Action |
getWebsiteAction() |
javax.swing.Action |
getZoomWindowAction() |
void |
initialize() |
boolean |
isDirty() |
abstract boolean |
requestClose() |
void |
setDirty() |
void |
setExportAction(javax.swing.Action exportAction) |
void |
setImportAction(javax.swing.Action importAction) |
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
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, 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
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, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, 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, getPeer, 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, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExportableComponent
public final void initialize()
public final boolean isDirty()
public final void setDirty()
public final void clearDirty()
public abstract boolean requestClose()
public void doImport()
public void doExport()
public final void doPrint()
public final void doPrint(boolean scaleIfDoesntImplementPrintable)
public void doCloseWindow()
public void doZoomWindow()
public void doMinimizeWindow()
public void doCut()
public void doCopy()
public void doPaste()
public void doDelete()
public void doSelectAll()
public void doFind()
public javax.swing.Action getNewAction()
public javax.swing.Action getOpenAction()
public javax.swing.Action getPageSetupAction()
public javax.swing.Action getExitAction()
public javax.swing.Action getCloseWindowAction()
public javax.swing.Action getAboutAction()
public javax.swing.Action getPreferencesAction()
public javax.swing.Action getWebsiteAction()
public javax.swing.Action getSaveAction()
public javax.swing.Action getSaveAsAction()
public javax.swing.Action getZoomWindowAction()
public javax.swing.Action getMinimizeWindowAction()
public void setImportAction(javax.swing.Action importAction)
public void setExportAction(javax.swing.Action exportAction)
public javax.swing.Action getImportAction()
public javax.swing.Action getExportAction()
public javax.swing.Action getPrintAction()
public javax.swing.Action getCutAction()
public javax.swing.Action getCopyAction()
public javax.swing.Action getPasteAction()
public javax.swing.Action getDeleteAction()
public javax.swing.Action getSelectAllAction()
public javax.swing.Action getFindAction()
public javax.swing.Action getHelpAction()
http://code.google.com/p/jam-lib/