edu.wisc.trace.urcsdk.client.uisocket
Interface ISocketElementListener

All Known Implementing Classes:
AbstractInteractor, BooleanInteractor, DateInteractor, DateTimeInteractor, DayInteractor, DecimalInteractor, DurationInteractor, FacadeForJs.SocketElementListener, Group, InputInteractor, ModalDialogInteractor, MonthDayInteractor, MonthInteractor, OutputInteractor, RangeInteractor, SecretInteractor, Select1Interactor, SelectInteractor, TextAreaInteractor, TimedTriggerInteractor, TimeInteractor, TriggerInteractor, YearInteractor, YearMonthInteractor

public interface ISocketElementListener

Interface to be implemented by Classes which want to Listen to updates on UISocketElements

Created on: 1st June, 2006
Known bugs: None
Thread safe: Yes

Version:
$Revision: 1.21 $
Author:
Parikshit Thakur & Team, Trace R&D Center

Method Summary
 void updateExecutable(boolean executable)
          Sets this elements' executable state.
 void updateReadable(boolean read)
          Sets this elements' readable state.
 void updateValue()
          updateValue is called to set the value to the latest value of the bound socket element.
 void updateWriteable(boolean write)
          Sets this elements' writeable state.
 

Method Detail

updateValue

void updateValue()
updateValue is called to set the value to the latest value of the bound socket element. This should be called by the IUISocketElement when its value is set. This will allow the Widget to be updated to the latest value.


updateReadable

void updateReadable(boolean read)
Sets this elements' readable state.

Parameters:
read - a boolean value indicating whether or not this interactor is readable by the URC.

updateWriteable

void updateWriteable(boolean write)
Sets this elements' writeable state.

Parameters:
write - a boolean value indicating whether or not this interactor is writeable by the URC.

updateExecutable

void updateExecutable(boolean executable)
Sets this elements' executable state.

Parameters:
executable - a boolean value indicating whether or not this interactor is executable by the URC.


Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.