frysk.gui.srcwin
Class VariableWatchView

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.GObject
          extended by org.gnu.gtk.GtkObject
              extended by org.gnu.gtk.Widget
                  extended by org.gnu.gtk.Container
                      extended by org.gnu.gtk.TreeView
                          extended by frysk.gui.srcwin.VariableWatchView
All Implemented Interfaces:
WatchListListener, org.gnu.gtk.event.TreeSelectionListener

public class VariableWatchView
extends org.gnu.gtk.TreeView
implements org.gnu.gtk.event.TreeSelectionListener, WatchListListener


Nested Class Summary
static interface VariableWatchView.WatchViewListener
           
 
Field Summary
static String VAR_WATCHES
           
 
Constructor Summary
VariableWatchView()
           
 
Method Summary
 void addObserver(VariableWatchView.WatchViewListener listener)
          Adds a listener to this list of observers.
 void clickedOnVariable(org.gnu.gtk.event.MouseEvent event)
          Generates a new right-click menu when a row with a Variable is clicked.
 void selectionChangedEvent(org.gnu.gtk.event.TreeSelectionEvent arg0)
          Called when the selection in this TreeView has changed.
 void setView(SourceView sv)
           
 void variableWatchAdded(UpdatingDisplayValue disp)
          Called whenever a variable is added to the list of watched variables
 void variableWatchChanged(UpdatingDisplayValue disp)
          Called whenever a variable is refreshed in the list of watched variables
 void variableWatchDeleted(UpdatingDisplayValue disp)
          Called whenever a display is removed from the list of watched variables
 
Methods inherited from class org.gnu.gtk.TreeView
activateCell, addListener, appendColumn, appendDataColumn, appendDataColumn, appendDataColumn, appendDataColumn, appendDataColumn, appendDataColumn, autoSizeColumns, collapseAll, collapseRow, expandAll, expandRow, expandToPath, getAlternateRowColor, getColumn, getColumns, getCursorColumn, getCursorPath, getEnableSearch, getEventListenerClass, getEventType, getExpanderColumn, getFixedHeightMode, getHAdjustment, getHeadersVisible, getHoverExpand, getHoverSelection, getModel, getReorderable, getRowExpanded, getRowSeparatorMethod, getSearchColumn, getSearchDataColumn, getSelection, getTreeView, getType, getVAdjustment, insertColumn, moveColumn, removeColumn, removeListener, scrollToCell, scrollToCell, scrollToCell, scrollToCell, scrollToPoint, setAlternateRowColor, setCursor, setCursor, setEnableSearch, setExpanderColumn, setFixedHeightMode, setHAdjustment, setHeadersClickable, setHeadersVisible, setHoverExpand, setHoverSelection, setModel, setReorderable, setRowSeparatorMethod, setSearchColumn, setSearchDataColumn, setVAdjustment, showDataColumn, showDataColumn, showDataColumn, showDataColumn, showDataColumn, showDataColumn
 
Methods inherited from class org.gnu.gtk.Container
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode
 
Methods inherited from class org.gnu.gtk.Widget
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight
 
Methods inherited from class org.gnu.gtk.GtkObject
destroy, sink
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VAR_WATCHES

public static final String VAR_WATCHES
See Also:
Constant Field Values
Constructor Detail

VariableWatchView

public VariableWatchView()
Method Detail

setView

public void setView(SourceView sv)

addObserver

public void addObserver(VariableWatchView.WatchViewListener listener)
Adds a listener to this list of observers.

Parameters:
listener - The Listener to be added.

selectionChangedEvent

public void selectionChangedEvent(org.gnu.gtk.event.TreeSelectionEvent arg0)
Called when the selection in this TreeView has changed.

Specified by:
selectionChangedEvent in interface org.gnu.gtk.event.TreeSelectionListener

clickedOnVariable

public void clickedOnVariable(org.gnu.gtk.event.MouseEvent event)
Generates a new right-click menu when a row with a Variable is clicked.

Parameters:
event - The click event

variableWatchAdded

public void variableWatchAdded(UpdatingDisplayValue disp)
Description copied from interface: WatchListListener
Called whenever a variable is added to the list of watched variables

Specified by:
variableWatchAdded in interface WatchListListener
Parameters:
disp - The display that was added

variableWatchChanged

public void variableWatchChanged(UpdatingDisplayValue disp)
Description copied from interface: WatchListListener
Called whenever a variable is refreshed in the list of watched variables

Specified by:
variableWatchChanged in interface WatchListListener
Parameters:
disp - The display that was updated

variableWatchDeleted

public void variableWatchDeleted(UpdatingDisplayValue disp)
Description copied from interface: WatchListListener
Called whenever a display is removed from the list of watched variables

Specified by:
variableWatchDeleted in interface WatchListListener
Parameters:
disp - The display that was removed