Documentation of 'CH.ifa.draw.contrib.MDI_InternalFrame' Java class
MDI_InternalFrame
CH.ifa.draw.contrib

Class MDI_InternalFrame

  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants


    public class MDI_InternalFrame
    extends javax.swing.JInternalFrame
    This class provides support for JHotDraw applications with multiple document interfaces.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.JInternalFrame

        javax.swing.JInternalFrame.JDesktopIcon
      • Nested classes/interfaces inherited from class javax.swing.JComponent

        javax.swing.JComponent.AccessibleJComponent
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.BaselineResizeBehavior
    • Field Summary

      • Fields inherited from class javax.swing.JInternalFrame

        CONTENT_PANE_PROPERTY, FRAME_ICON_PROPERTY, GLASS_PANE_PROPERTY, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, LAYERED_PANE_PROPERTY, MENU_BAR_PROPERTY, ROOT_PANE_PROPERTY, TITLE_PROPERTY
      • Fields inherited from class javax.swing.JComponent

        TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • Fields inherited from class java.awt.Component

        BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • Fields inherited from interface javax.swing.WindowConstants

        DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
      • Fields inherited from interface java.awt.image.ImageObserver

        ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
    • Constructor Summary

      Constructors 
      Constructor and Description
      MDI_InternalFrame()
      Create a new internal frame
      MDI_InternalFrame(java.lang.String title)
      Create a new internal frame with a given name
      MDI_InternalFrame(java.lang.String title, boolean resizable)
      Create a new internal frame with a given name
      MDI_InternalFrame(java.lang.String title, boolean resizable, boolean closable)
      Create a new internal frame with a given name
      MDI_InternalFrame(java.lang.String title, boolean resizable, boolean closable, boolean maximizable)
      Create a new internal frame with a given name
      MDI_InternalFrame(java.lang.String title, boolean resizable, boolean closable, boolean maximizable, boolean iconifiable)
      Create a new internal frame with a given name
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Drawing getDrawing()
      Get the drawing which is represented in the internal frame
      DrawingView getDrawingView()
      Get the drawing view which represents the internal frame
      StandardDrawingView replaceDrawingView(StandardDrawingView newDrawingView)
      Replace an existing drawing view with a new one.
      void setDrawing(Drawing newInternalDrawing)
      Set the drawing which is represented in the internal frame
      void setDrawingView(DrawingView newInternalDrawingView)
      Set the drawing view which represents the internal frame
      • Methods inherited from class javax.swing.JInternalFrame

        addInternalFrameListener, dispose, doDefaultCloseAction, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLastCursor, getLayer, getLayeredPane, getMenuBar, getMostRecentFocusOwner, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isSelected, moveToBack, moveToFront, pack, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setClosed, setContentPane, setCursor, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setResizable, setSelected, setTitle, setUI, show, toBack, toFront, updateUI
      • Methods inherited from class javax.swing.JComponent

        addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
      • Methods inherited from class java.awt.Container

        add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MDI_InternalFrame

        public MDI_InternalFrame()
        Create a new internal frame
      • MDI_InternalFrame

        public MDI_InternalFrame(java.lang.String title)
        Create a new internal frame with a given name
        Parameters:
        title - name of the internal frame
      • MDI_InternalFrame

        public MDI_InternalFrame(java.lang.String title,
                                 boolean resizable)
        Create a new internal frame with a given name
        Parameters:
        title - name of the internal frame
        resizable - true, if the frame is resizable
      • MDI_InternalFrame

        public MDI_InternalFrame(java.lang.String title,
                                 boolean resizable,
                                 boolean closable)
        Create a new internal frame with a given name
        Parameters:
        title - name of the internal frame
        resizable - true, if the frame is resizable
        closable - true, if the frame is closable
      • MDI_InternalFrame

        public MDI_InternalFrame(java.lang.String title,
                                 boolean resizable,
                                 boolean closable,
                                 boolean maximizable)
        Create a new internal frame with a given name
        Parameters:
        title - name of the internal frame
        resizable - true, if the frame is resizable
        closable - true, if the frame is closable
        maximizable - true, if the frame is maximizable
      • MDI_InternalFrame

        public MDI_InternalFrame(java.lang.String title,
                                 boolean resizable,
                                 boolean closable,
                                 boolean maximizable,
                                 boolean iconifiable)
        Create a new internal frame with a given name
        Parameters:
        title - name of the internal frame
        resizable - true, if the frame is resizable
        closable - true, if the frame is closable
        maximizable - true, if the frame is maximizable
        iconifiable - ture, if the frame is iconifiable
    • Method Detail

      • setDrawingView

        public void setDrawingView(DrawingView newInternalDrawingView)
        Set the drawing view which represents the internal frame
        Parameters:
        newInternalDrawingView - drawing view for this internal frame
      • getDrawingView

        public DrawingView getDrawingView()
        Get the drawing view which represents the internal frame
        Parameters:
        newInternalDrawingView - drawing view for this internal frame
      • setDrawing

        public void setDrawing(Drawing newInternalDrawing)
        Set the drawing which is represented in the internal frame
        Parameters:
        newInternalDrawing - drawing for the internal frame
      • getDrawing

        public Drawing getDrawing()
        Get the drawing which is represented in the internal frame
        Returns:
        drawing for the internal frame
      • replaceDrawingView

        public StandardDrawingView replaceDrawingView(StandardDrawingView newDrawingView)
        Replace an existing drawing view with a new one. A JHotDraw application can have only one DrawingView active at a time. Therefore, the currently active internal frame gets the active DrawingView after its Drawing view has been backed up for later restorage.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.