gui
Class EventLogControl

java.lang.Object
  extended by gui.EventLogControl

public class EventLogControl
extends java.lang.Object

Class capsulates the references to the controls one can add to the EventLogControlPanel


Constructor Summary
EventLogControl(javax.swing.JCheckBox show, javax.swing.JCheckBox pause)
          Constructor.
 
Method Summary
 boolean pauseOnEvent()
          Returns true if this event type should cause pause
 void setPauseOnEvent(boolean pause)
          Sets ought this event type cause pause (return true for pauseOnEvent() )
 void setShowEvent(boolean show)
          Sets ought this event type should be shown (return true for showEvent() )
 boolean showEvent()
          Returns true if this event type should be shown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventLogControl

public EventLogControl(javax.swing.JCheckBox show,
                       javax.swing.JCheckBox pause)
Constructor.

Parameters:
show - The checkbox that controls showing this type of event
pause - The checkbox that controls pausing on this type of event
Method Detail

showEvent

public boolean showEvent()
Returns true if this event type should be shown

Returns:
true if this event type should be shown

pauseOnEvent

public boolean pauseOnEvent()
Returns true if this event type should cause pause

Returns:
true if this event type should cause pause

setShowEvent

public void setShowEvent(boolean show)
Sets ought this event type should be shown (return true for showEvent() )

Parameters:
show - If true, events are set to be shown

setPauseOnEvent

public void setPauseOnEvent(boolean pause)
Sets ought this event type cause pause (return true for pauseOnEvent() )

Parameters:
pause - If true, events cause pause