com.sas.visuals
Interface MultipleValueEventSourceInterface

All Known Implementing Classes:
_rprxIOMBookmarkManager, _rprxIOMBookmarkManagerV2, _rprxIOMLevelTree, _rprxIOMLevelTreeV2, _rprxIOMLevelTreeV3, _rprxJ2BookmarkManager, _rprxJ2BookmarkManagerV2, _rprxJ2LevelTree, _rprxJ2LevelTreeV2, _rprxJ2LevelTreeV3, _rprxJ2ServerNode, _rprxRemoteBookmarkManagerClient, _rprxRemoteBookmarkManagerV2Client, _rprxRemoteDesignTimeBookmarkManager, _rprxRemoteDesignTimeBookmarkManagerV2, _rprxRemoteDesignTimeLevelTree, _rprxRemoteDesignTimeLevelTreeV2, _rprxRemoteDesignTimeLevelTreeV3, _rprxRemoteDesignTimeServerNode, _rprxRemoteLevelTreeClient, _rprxRemoteLevelTreeV2Client, _rprxRemoteLevelTreeV3Client, _rprxRemoteServerNodeClient, Alarm, AlarmButtonModel, AnimationIconView, Applet, AppletVisualComponent, ArrowButton, BaseBorder, BaseButton, com.sas.collection.BaseCollection, BaseDataBean, BasicColorsCanvas, BasicColorsPanel, BookmarkManagerDelegate, Border, BorderedContainer, BorderedPanel, BufferedPanel, Button, ButtonDialog, ButtonPanel, ButtonVisualComponent, Canvas, CanvasVisualComponent, CatalogSelectorDialog, CheckBox, CheckBoxCell, CheckBoxVisualComponent, Choice, ChoiceVisualComponent, ClassSelectorPanel, CloseCancelCustomizerDialog, ColorDialog, ColorPanel, ComboBox, CommandProcessor, com.sas.Component, Component, ComponentVisualComponent, CompositeBorder, CompositeContainer, CompositePanel, Container, ContainerContainerComponent, ContainerVisualComponent, CurrentDate, CurrentTime, CustomColorsPanel, CustomizerDialog, CustomizerPanel, DataSetSelectorDialog, DataTableSortController, DateTimeMonitor, DefaultButtonListener, DefaultButtonModel, Dialog, DialogContainerComponent, DialogVisualComponent, DirectoryDialog, DualSelector, DynamicPropertyBag, EISSelectorDialog, Fireworks, FontDialog, FontPanel, Frame, FrameContainerComponent, FrameVisualComponent, GraphicalCheckBox, IconView, ImageAnimation, ImageSequence, ImageView, IndexedPropertyEditorHost, IntegerRange, com.sas.rmi.IOMBaseClient, com.sas.rmi.J2BaseClient, Label, LabelView, LabelVisualComponent, LevelTreeDelegate, LibrarySelectorDialog, ListBox, ListBoxVisualComponent, Marquee, MenuBar, MenuBar, MessageBox, MetabaseSelectorDialog, NavigationBar, NodeDelegate, NumericTextField, OkCancelHelpDialog, com.sas.collection.OrderedCollection, OrientationSelector, Panel, PanelContainerComponent, PanelVisualComponent, ParameterBag, ProgressDialog, PropertyEditorHost, PropertySheet, PushButton, RadioBox, RadioButton, com.sas.rmi.RemoteBaseClient, com.sas.rmi.RemoteDesignTimeBaseClient, RemoteObjectCustomizerPanel, RemoteObjectSelectorDialog, com.sas.rmi.RMIBaseClient, SASListDelegate, SASListNodeDelegate, SASProcedureTemplate, Scrollbar, Scrollbar, ScrollbarVisualComponent, ScrollPane, ScrollPaneContainerComponent, ScrollPaneVisualComponent, ScrollSlider, SelectionGroup, ServerNodeDelegate, SliderListener, SpinBox, SpinButton, StringComparator, com.sas.lang.StringData, StyledLabelView, TabBar, TabbedView, TabBorder, TabButton, TabButtonModel, TabFolder, TableView, Template, TextArea, TextAreaVisualComponent, TextBorder, TextEditComposite, TextField, TextFieldVisualComponent, Timer, ToggleButton, ToggleButtonModel, Toolbar, ToolbarBorder, ToolbarButton, TransformingComparator, TreeView, UnitsBox, UpDownListBox, UpDownTextArea, URL, Windows95Border, WordWrapTextArea

public interface MultipleValueEventSourceInterface

An interface for objects that send out events with multiple possible values. An example is a propertyChange event which has a getPropertyName() method which can return any of the properties on a component with a specific event.


Method Summary
 java.lang.reflect.Method getEventMethod(java.lang.reflect.Method listenerInterfaceMethod)
          Get the method used to check the value of the event.
 java.lang.String[] getEventValues(java.lang.reflect.Method listenerInterfaceMethod)
          Get the possible values for the listenerInterface method the event is sent to.
 boolean supportsListenerInterface(java.lang.Class listenerInterface)
          Determines if a listenerInterface class is supported by the implementing class.
 

Method Detail

supportsListenerInterface

boolean supportsListenerInterface(java.lang.Class listenerInterface)
Determines if a listenerInterface class is supported by the implementing class.

Parameters:
listenerInterface - the class of the listenerInterface of the event sent out
Returns:
true if the implementing class supports the specified listenerInterface; false otherwise

getEventMethod

java.lang.reflect.Method getEventMethod(java.lang.reflect.Method listenerInterfaceMethod)
Get the method used to check the value of the event.

Parameters:
listenerInterfaceMethod - the listenerInterface method the event is sent to.
Returns:
the method used to find the value of a specific event.

getEventValues

java.lang.String[] getEventValues(java.lang.reflect.Method listenerInterfaceMethod)
Get the possible values for the listenerInterface method the event is sent to.

Parameters:
listenerInterfaceMethod - the listenerInterface method the event is sent to.
Returns:
a string array of all the possible values the method returned by getEventMethod() can return.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.