|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractListModel
javax.swing.DefaultComboBoxModel
oracle.dacf.control.swing.StaticComboBoxDataSource
Field Summary |
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Constructor Summary | |
StaticComboBoxDataSource()
Constructs a "static" or non-query based ComboBox Model. |
|
StaticComboBoxDataSource(java.lang.Object[] items)
Constructs a "static" or non-query based ComboBox Model. |
|
StaticComboBoxDataSource(java.util.Vector items)
Constructs a "static" or non-query based ComboBox Model. |
Method Summary | |
void |
addInfoBusPropertyListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener that will be alerted whenever the InfoBusMember's setInfoBus method is called and not vetoed. |
void |
addInfoBusVetoableListener(java.beans.VetoableChangeListener l)
Adds a VetoableChangeListener to the list of listeners that will be alerted whenever the InfoBusMember's setInfoBus method is called. |
void |
available(java.lang.String name,
java.lang.Object publishedObject)
|
void |
dataItemAdded(javax.infobus.DataItemAddedEvent event)
|
void |
dataItemAvailable(javax.infobus.InfoBusItemAvailableEvent event)
|
void |
dataItemDeleted(javax.infobus.DataItemDeletedEvent event)
|
void |
dataItemRevoked(javax.infobus.DataItemRevokedEvent event)
|
void |
dataItemRevoked(javax.infobus.InfoBusItemRevokedEvent event)
|
void |
dataItemValueChanged(javax.infobus.DataItemValueChangedEvent event)
|
java.lang.String |
getDataItemName()
Gets the name of the dataItem this model uses to get its list of values. |
javax.infobus.InfoBus |
getInfoBus()
Gets the infobus this model is currently connected to. |
java.lang.String |
getInfoBusName()
Returns name of the infobus this model is connected to. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
This method gets called when the object's InfoBus property is changed. |
void |
releaseResources(InfoBusManagerReleaseEvent e)
|
void |
removeInfoBusPropertyListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the list of listeners requesting notification of an InfoBus change. |
void |
removeInfoBusVetoableListener(java.beans.VetoableChangeListener l)
Removes a VetoableChangeListener from the list of listeners requesting notification of an InfoBus change. |
void |
revoked(java.lang.String name,
java.lang.Object publishedObject)
|
void |
rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent event)
|
void |
setDataItemName(java.lang.String dataItemName)
Specifies the name of the dataItem this model uses to get its list of values. |
void |
setInfoBus(javax.infobus.InfoBus infobus)
Specifies the infobus this model should be connected to. |
void |
setInfoBusName(java.lang.String infoBusName)
Specifies name of the new infobus this model should be connected. |
void |
setSelectedItem(java.lang.Object nu)
Makes the passed Object the current object in the ComboBox model. |
Methods inherited from class javax.swing.DefaultComboBoxModel |
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt |
Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.ListModel |
addListDataListener, removeListDataListener |
Constructor Detail |
public StaticComboBoxDataSource()
public StaticComboBoxDataSource(java.lang.Object[] items)
items
- The object that will be displayed in the ComboBox listpublic StaticComboBoxDataSource(java.util.Vector items)
items
- The object that will be displayed in the ComboBox listMethod Detail |
public void releaseResources(InfoBusManagerReleaseEvent e)
public void setSelectedItem(java.lang.Object nu)
setSelectedItem
in interface javax.swing.ComboBoxModel
nu
- the newly selected objectpublic java.lang.String getInfoBusName()
public void setInfoBusName(java.lang.String infoBusName)
The model leaves the previous infobus before connecting to the given infobus.
public void setDataItemName(java.lang.String dataItemName)
public java.lang.String getDataItemName()
public void addInfoBusPropertyListener(java.beans.PropertyChangeListener l)
addInfoBusPropertyListener
in interface javax.infobus.InfoBusMember
l
- the PropertyChangeListener to be addedpublic void removeInfoBusPropertyListener(java.beans.PropertyChangeListener l)
removeInfoBusPropertyListener
in interface javax.infobus.InfoBusMember
l
- the listener to be removedpublic void addInfoBusVetoableListener(java.beans.VetoableChangeListener l)
addInfoBusVetoableListener
in interface javax.infobus.InfoBusMember
l
- the VetoableChangeListener to be addedpublic void removeInfoBusVetoableListener(java.beans.VetoableChangeListener l)
removeInfoBusVetoableListener
in interface javax.infobus.InfoBusMember
l
- the listener to be removedpublic javax.infobus.InfoBus getInfoBus()
getInfoBus
in interface javax.infobus.InfoBusMember
public void setInfoBus(javax.infobus.InfoBus infobus) throws java.beans.PropertyVetoException
setInfoBus
in interface javax.infobus.InfoBusMember
infobus
- to connect to.
java.beans.PropertyVetoException
- thrown if any of the listeners
vetoes this change.public void propertyChange(java.beans.PropertyChangeEvent event)
The object is removed as a data consumer from its previous InfoBus, and is added as a consumer to its new InfoBus.
propertyChange
in interface java.beans.PropertyChangeListener
event
- The event.public void dataItemValueChanged(javax.infobus.DataItemValueChangedEvent event)
dataItemValueChanged
in interface javax.infobus.DataItemChangeListener
public void dataItemAdded(javax.infobus.DataItemAddedEvent event)
dataItemAdded
in interface javax.infobus.DataItemChangeListener
public void dataItemDeleted(javax.infobus.DataItemDeletedEvent event)
dataItemDeleted
in interface javax.infobus.DataItemChangeListener
public void dataItemRevoked(javax.infobus.DataItemRevokedEvent event)
dataItemRevoked
in interface javax.infobus.DataItemChangeListener
public void rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent event)
rowsetCursorMoved
in interface javax.infobus.DataItemChangeListener
public void available(java.lang.String name, java.lang.Object publishedObject)
available
in interface oracle.dacf.rp.Consumer
public void revoked(java.lang.String name, java.lang.Object publishedObject)
revoked
in interface oracle.dacf.rp.Consumer
public void dataItemAvailable(javax.infobus.InfoBusItemAvailableEvent event)
dataItemAvailable
in interface javax.infobus.InfoBusDataConsumer
public void dataItemRevoked(javax.infobus.InfoBusItemRevokedEvent event)
dataItemRevoked
in interface javax.infobus.InfoBusDataConsumer
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.