Class GTFrameController

  • All Implemented Interfaces:
    java.awt.event.KeyListener, java.util.EventListener, javax.swing.event.ChangeListener

    public class GTFrameController
    extends java.lang.Object
    implements javax.swing.event.ChangeListener, java.awt.event.KeyListener
    Since:
    Ptolemy II 6.1
    Version:
    $Id$
    Author:
    Thomas Huining Feng
    Pt.AcceptedRating:
    Red (tfeng)
    Pt.ProposedRating:
    Red (tfeng)
    • Constructor Detail

      • GTFrameController

        protected GTFrameController​(GTFrame frame)
    • Method Detail

      • getActiveTabIndex

        public int getActiveTabIndex()
      • getGraphPanes

        public java.util.List<GraphPane> getGraphPanes()
      • getJGraphs

        public java.util.List<JGraph> getJGraphs()
      • getTabbedPane

        public javax.swing.JTabbedPane getTabbedPane()
      • hasTabs

        public boolean hasTabs()
      • isTableActive

        public boolean isTableActive()
      • keyPressed

        public void keyPressed​(java.awt.event.KeyEvent e)
        Specified by:
        keyPressed in interface java.awt.event.KeyListener
      • keyReleased

        public void keyReleased​(java.awt.event.KeyEvent e)
        Specified by:
        keyReleased in interface java.awt.event.KeyListener
      • keyTyped

        public void keyTyped​(java.awt.event.KeyEvent e)
        Specified by:
        keyTyped in interface java.awt.event.KeyListener
      • stateChanged

        public void stateChanged​(javax.swing.event.ChangeEvent event)
        React to a change in the state of the tabbed pane.
        Specified by:
        stateChanged in interface javax.swing.event.ChangeListener
        Parameters:
        event - The event.
      • _createRightComponent

        protected javax.swing.JComponent _createRightComponent​(NamedObj entity)
      • _removeListeners

        protected void _removeListeners()