|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.parser.java.v2.write.SourcePreferences
public final class SourcePreferences
Storage for the various preference bits defined in JavaPreferences.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.javatools.parser.java.v2.JavaPreferences |
---|
JavaPreferences.MemberOrder |
Field Summary |
---|
Constructor Summary | |
---|---|
SourcePreferences() |
|
SourcePreferences(HashStructure hash) |
Method Summary | |
---|---|
static SourcePreferences |
copy(SourcePreferences preferences) Returns a deep copy of the input preferences. |
static SourcePreferences |
createCascadingPreferences(SourcePreferences preferences) Creates a Preferences object with cascading behavior. |
boolean |
getBoolean(int setting) |
int |
getInt(int setting) |
java.util.Comparator |
getMemberComparator() Creates a comparator based on the current snapshot of the preferences. |
byte |
getMemberOrder(int member) |
HashStructure |
getMemberOrderHashStructure() Gets the MEMBER_ORDER hash structure. |
java.lang.String |
getString(int setting) |
void |
reloadAll(java.lang.Object[] allPreferences) Overwrites all preferences to become the given parameters. |
void |
setBoolean(int setting, boolean value) |
void |
setInt(int setting, int value) |
void |
setMemberOrder(int member, byte value) |
void |
setString(int setting, java.lang.String value) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourcePreferences()
public SourcePreferences(HashStructure hash)
Method Detail |
---|
public static SourcePreferences copy(SourcePreferences preferences)
public static SourcePreferences createCascadingPreferences(SourcePreferences preferences)
Changes made to this Preferences object will not affect the imported Preferences object.
We borrow the term "cascading" from CSS.
public boolean getBoolean(int setting)
setting
- Valid values are JavaPreferences.*public void setBoolean(int setting, boolean value)
setting
- Valid values are JavaPreferences.*public java.lang.String getString(int setting)
setting
- Valid values are JavaPreferences.*public void setString(int setting, java.lang.String value)
setting
- Valid values are JavaPreferences.*public int getInt(int setting)
setting
- Valid values are JavaPreferences.*public void setInt(int setting, int value)
setting
- Valid values are JavaPreferences.*public HashStructure getMemberOrderHashStructure()
public java.util.Comparator getMemberComparator()
public byte getMemberOrder(int member)
member
- Valid values are JavaPreferences.MemberOrder.*public void setMemberOrder(int member, byte value)
member
- Valid values are JavaPreferences.MemberOrder.*value
- For valid values, refer to MemberOrder
.public void reloadAll(java.lang.Object[] allPreferences)
allPreferences
- For an example, see JavaPreferences.PREFERENCES_default.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |