oracle.jdeveloper.vcs.changelist
Class ChangeListWindow.ScopeFilter
java.lang.Object
oracle.jdeveloper.vcs.changelist.ChangeListWindow.ScopeFilter
- All Implemented Interfaces:
- URLFilter
- Enclosing class:
- ChangeListWindow
public static class ChangeListWindow.ScopeFilter
- extends java.lang.Object
- implements URLFilter
Method Summary |
boolean |
accept(java.net.URL url)
|
boolean |
equals(java.lang.Object o)
A concrete URLFilter must provide an implementation
for the equals(...) method that compares the
URLFilter to another one. |
javax.swing.Icon |
getIcon()
|
java.lang.String |
getShortLabel()
|
int |
hashCode()
|
java.lang.String |
toExternalForm()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ChangeListWindow.ScopeFilter
protected ChangeListWindow.ScopeFilter()
getShortLabel
public java.lang.String getShortLabel()
getIcon
public javax.swing.Icon getIcon()
accept
public boolean accept(java.net.URL url)
- Specified by:
accept
in interface URLFilter
- Parameters:
url
- The URL
that is being filtered.
- Returns:
true
if this filter allows the specified
URL
is allowed to be displayed or included. Returns
false
otherwise.
toExternalForm
public java.lang.String toExternalForm()
equals
public final boolean equals(java.lang.Object o)
- Description copied from interface:
URLFilter
- A concrete
URLFilter
must provide an implementation
for the equals(...)
method that compares the
URLFilter
to another one. A return value of
true
means that both this URLFilter
and
the specified URLFilter
will accept identical sets
of URL
s and that the descriptions used to identify the
filters are equal.
- Specified by:
equals
in interface URLFilter
- Overrides:
equals
in class java.lang.Object
hashCode
public final int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 1997, 2011, Oracle. All rights reserved.