Class GraffitiInternalFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class GraffitiInternalFrame
extends JInternalFrame
A specialized internal frame for the graffiti editor. A GraffitiInternalFrame is always resizable, closeable, maximizable and iconifyable.
See Also:
JInternalFrame, MainFrame, Serialized Form
  • Field Details

    • startTitle

      public static String startTitle
  • Constructor Details

    • GraffitiInternalFrame

      public GraffitiInternalFrame()
      Constructs a new GraffitiInternalFrame.
    • GraffitiInternalFrame

      public GraffitiInternalFrame​(EditorSession session, View view, String title, boolean otherViewWillBeClosed)
      Constructor that sets the session, as well as the title.
      Parameters:
      session - the session this frame is in.
      view - DOCUMENT ME!
      title - the title of this internal frame.
      otherViewWillBeClosed -
  • Method Details

    • doLayout

      public void doLayout()
      Overrides:
      doLayout in class Container
    • toString

      public String toString()
      Overrides:
      toString in class Component
    • getSession

      public EditorSession getSession()
      Returns the session this frame is opened in.
      Returns:
      the session this frame is opened in.
    • setTitle

      public void setTitle​(String title)
      Sets the title of this frame and its associated button and menu button.
      Overrides:
      setTitle in class JInternalFrame
      Parameters:
      title - the new title of the frame.
    • getTitle

      public String getTitle()
      Overrides:
      getTitle in class JInternalFrame
    • getView

      public View getView()
      Returns the view of this frame.
      Returns:
      the view of this frame.
    • getFrameNumber

      public int getFrameNumber()
    • getInitTitle

      public String getInitTitle()
    • setSession

      public void setSession​(EditorSession s)
      Parameters:
      editorSessionOfTargetGraph -
    • getIcon

      public static Icon getIcon()