< prev index next >
src/java.desktop/share/classes/sun/swing/plaf/synth/StyleAssociation.java
Print this page
*** 87,108 ****
_id = id;
}
/**
* Returns the developer specified identifier for this association, will
! * be <code>0</code> if an identifier was not specified when this
! * <code>StyleAssociation</code> was created.
*/
public int getID() {
return _id;
}
/**
! * Returns true if this <code>StyleAssociation</code> matches the
* passed in CharSequence.
*
! * @return true if this <code>StyleAssociation</code> matches the
* passed in CharSequence.if this StyleAssociation.
*/
public synchronized boolean matches(CharSequence path) {
if (_matcher == null) {
_matcher = _pattern.matcher(path);
--- 87,108 ----
_id = id;
}
/**
* Returns the developer specified identifier for this association, will
! * be {@code 0} if an identifier was not specified when this
! * {@code StyleAssociation} was created.
*/
public int getID() {
return _id;
}
/**
! * Returns true if this {@code StyleAssociation} matches the
* passed in CharSequence.
*
! * @return true if this {@code StyleAssociation} matches the
* passed in CharSequence.if this StyleAssociation.
*/
public synchronized boolean matches(CharSequence path) {
if (_matcher == null) {
_matcher = _pattern.matcher(path);
< prev index next >