|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractListModel oracle.jdevimpl.audit.profile.ProfileModel
public class ProfileModel
An editable model of profiles in an Audit profile repository.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractListModel |
---|
listenerList |
Constructor Summary | |
---|---|
ProfileModel(ProfileRepository repository)
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
apply()
|
void |
cancel()
|
boolean |
contains(java.lang.String name)
|
void |
exportAs(java.net.URL url,
java.lang.String name)
Exports the selected profile to a URL. |
void |
fireContentsChanged(int index)
|
void |
fireContentsChanged(Profile profile)
|
void |
fireSelectionChanged()
|
ExtensionBean |
getBean(java.lang.String id)
|
java.util.Collection<ExtensionBean> |
getBeans()
|
Profile |
getElementAt(int index)
|
Profile |
getProfile(java.lang.String name)
|
Profile |
getProfile(java.lang.String name,
java.lang.String key)
|
Profile |
getSelectedItem()
|
int |
getSize()
|
void |
importAs(java.net.URL url,
java.lang.String newName,
Profile overwrittenProfile)
Imports a profile under a new name. |
boolean |
isModified(Profile profile)
|
boolean |
isModified(java.lang.String id)
|
boolean |
isNew(Profile profile)
|
boolean |
nameMatches(Profile name1,
Profile name2)
|
boolean |
nameMatches(Profile name1,
java.lang.String name2)
|
boolean |
nameMatches(java.lang.String name1,
Profile name2)
|
boolean |
nameMatches(java.lang.String name1,
java.lang.String name2)
|
void |
propertyChange(java.beans.PropertyChangeEvent event)
|
void |
remove()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
restoreDefaults()
|
void |
saveAs(java.lang.String newName,
Profile overwrittenProfile)
Saves the selected profile, including changes, under a new name. |
void |
setSelectedItem(java.lang.Object item)
|
void |
stateChanged(javax.swing.event.ChangeEvent event)
|
java.lang.String |
toString()
|
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, wait, wait, wait |
Methods inherited from interface javax.swing.ListModel |
---|
addListDataListener, removeListDataListener |
Constructor Detail |
---|
public ProfileModel(ProfileRepository repository)
Method Detail |
---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public int getSize()
getSize
in interface javax.swing.ListModel
public Profile getElementAt(int index)
getElementAt
in interface javax.swing.ListModel
public Profile getProfile(java.lang.String name)
public Profile getProfile(java.lang.String name, java.lang.String key)
public void remove()
public void setSelectedItem(java.lang.Object item)
setSelectedItem
in interface javax.swing.ComboBoxModel
public Profile getSelectedItem()
getSelectedItem
in interface javax.swing.ComboBoxModel
public boolean contains(java.lang.String name)
public java.util.Collection<ExtensionBean> getBeans()
public ExtensionBean getBean(java.lang.String id)
public boolean isModified(java.lang.String id)
public boolean nameMatches(java.lang.String name1, Profile name2)
public boolean nameMatches(Profile name1, java.lang.String name2)
public boolean nameMatches(java.lang.String name1, java.lang.String name2)
public boolean nameMatches(Profile name1, Profile name2)
public void saveAs(java.lang.String newName, Profile overwrittenProfile) throws java.io.IOException
newName
- The new name of the profile.overwrittenProfile
- The profile that will be overwritten, or null
if none.
java.io.IOException
public void importAs(java.net.URL url, java.lang.String newName, Profile overwrittenProfile) throws java.io.IOException
newName
- The new name of the profile.overwrittenProfile
- The profile that will be overwritten, or null
if none.
java.io.IOException
public void exportAs(java.net.URL url, java.lang.String name) throws java.io.IOException
url
- The URL to which to write the profile.name
- The new name of the exported profile.
java.io.IOException
public void restoreDefaults()
public boolean isModified(Profile profile)
public boolean isNew(Profile profile)
public void apply() throws java.io.IOException
java.io.IOException
public void cancel()
public void stateChanged(javax.swing.event.ChangeEvent event)
stateChanged
in interface javax.swing.event.ChangeListener
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
public void fireSelectionChanged()
public void fireContentsChanged(Profile profile)
public void fireContentsChanged(int index)
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |