|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PanelPair
This represents most of the windows that TI can display. This includes the ability to save itself as part of a layout. This interface is aimed at the main program. TI cannot make a window like this on its own. E*TRADE will make the main body of the window. TI will fill in two parts of the window, and E*TRADE will fill in the third part, the part on the top right.
Nested Class Summary | |
---|---|
static interface |
PanelPair.PopupListener
This allows the main program to customize the popup menu. |
static interface |
PanelPair.SymbolLinkingListener
The allows the end user to send a symbol to all linked windows. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
This is the standard way to create bound properties. |
void |
dispose()
The main program should tell a window when it is being disposed. |
javax.swing.JPanel |
getClient()
|
javax.swing.JPopupMenu |
getPopup()
This returns the current popup menu. |
javax.swing.JPanel |
getTopSmall()
|
java.lang.String |
getWindowName()
This is a bound property. |
void |
loadFromLayout(java.lang.String serialized)
This is the inverse of saveToLayout(). |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
This is the standard way to create bound properties. |
java.lang.String |
saveToLayout()
This stores enough information that we can recreate the window later. |
void |
setPopupListener(PanelPair.PopupListener listener)
Call this to listen to popup events. |
void |
setSymbolLinkingListener(PanelPair.SymbolLinkingListener listener)
Set the listener for symbol linking events. |
Method Detail |
---|
javax.swing.JPanel getTopSmall()
javax.swing.JPanel getClient()
java.lang.String getWindowName()
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener to be addedvoid removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener to be removedvoid setSymbolLinkingListener(PanelPair.SymbolLinkingListener listener)
listener
- This is the listener. Set this to null to stop listening.void setPopupListener(PanelPair.PopupListener listener)
listener
- This is the new listener. Set this to null to stop
listening.javax.swing.JPopupMenu getPopup()
void dispose()
java.lang.String saveToLayout()
void loadFromLayout(java.lang.String serialized)
serialized
- The output of saveToLayout(), or a complete window or
layout file saved by TI Pro.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |