ptolemy.actor.gui
Interface TopPack


public interface TopPack

An interface that allows alternate pack() methods to be called from TableauFrame which allows for functionality such as alternate menu systems in Vergil.

Since:
Ptolemy II 8.0
Version:
$Id: TopPack.java 57044 2010-01-27 22:41:05Z cxh $
Author:
Chad Berkley
Accepted Rating:
Red (berkley)
Proposed Rating:
Red (berkley)

Method Summary
 java.lang.Object getObject(java.lang.Object identifier)
          Get an object.
 void pack(Top top, boolean alreadyCalled)
          Pack the Top JFrame.
 

Method Detail

pack

void pack(Top top,
          boolean alreadyCalled)
Pack the Top JFrame. This method overrides the regular pack() call.

Parameters:
top - The Top to pack.
alreadyCalled - True if pack has already been called.

getObject

java.lang.Object getObject(java.lang.Object identifier)
Get an object. This method allows the overrider to pass an object back to the calling object.

Parameters:
identifier - The object to get.
Returns:
The object found.