| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openide.util.SharedClassObject
org.openide.options.SystemOption
org.openide.src.nodes.SourceOptions
Display options for the hierarchy of source elements. These options determine the display name format of each kind of element.
Also included are read-only properties for the "long formats",
 which are in practice used for ElementNode.getHintElementFormat().
 
Changes to settings will fire property change events.
| Field Summary | |
static String | 
PROP_CATEGORIES_USAGE
Property name of the 'categories usage' property.  | 
static String | 
PROP_CLASS_FORMAT
Property name of the class display format.  | 
static String | 
PROP_CONSTRUCTOR_FORMAT
Property name of the constructor display format.  | 
static String | 
PROP_FIELD_FORMAT
Property name of the field display format.  | 
static String | 
PROP_INITIALIZER_FORMAT
Property name of the initializer display format.  | 
static String | 
PROP_INTERFACE_FORMAT
Property name of the interface display format.  | 
static String | 
PROP_METHOD_FORMAT
Property name of the method display format.  | 
| Constructor Summary | |
SourceOptions()
 | 
|
| Method Summary | |
 String | 
displayName()
 | 
 boolean | 
getCategoriesUsage()
Test whether categiries under class elements are used or not.  | 
 ElementFormat | 
getClassElementFormat()
Get the class format.  | 
 ElementFormat | 
getClassElementLongFormat()
Get the class format for longer hints.  | 
 ElementFormat | 
getConstructorElementFormat()
Get the constructor format.  | 
 ElementFormat | 
getConstructorElementLongFormat()
Get the constructor format for longer hints.  | 
 ElementFormat | 
getFieldElementFormat()
Get the field format.  | 
 ElementFormat | 
getFieldElementLongFormat()
Get the field format for longer hints.  | 
 HelpCtx | 
getHelpCtx()
 | 
 ElementFormat | 
getInitializerElementFormat()
Get the initializer format.  | 
 ElementFormat | 
getInitializerElementLongFormat()
Get the initializer format for longer hints.  | 
 ElementFormat | 
getInterfaceElementFormat()
Get the interface format.  | 
 ElementFormat | 
getInterfaceElementLongFormat()
Get the interface format for longer hints.  | 
 ElementFormat | 
getMethodElementFormat()
Get the method format.  | 
 ElementFormat | 
getMethodElementLongFormat()
Get the method format for longer hints.  | 
 void | 
readExternal(ObjectInput in)
 | 
 void | 
setCategoriesUsage(boolean cat)
Set the property whether categories under class elements should be used or not.  | 
 void | 
setClassElementFormat(ElementFormat format)
Set the class format.  | 
 void | 
setConstructorElementFormat(ElementFormat format)
Set the constructor format.  | 
 void | 
setFieldElementFormat(ElementFormat format)
Set the field format.  | 
 void | 
setInitializerElementFormat(ElementFormat format)
Set the initializer format.  | 
 void | 
setInterfaceElementFormat(ElementFormat format)
Set the interface format.  | 
 void | 
setMethodElementFormat(ElementFormat format)
Set the method format.  | 
 void | 
writeExternal(ObjectOutput out)
 | 
| Methods inherited from class org.openide.options.SystemOption | 
clearSharedData, firePropertyChange, getName, isReadExternal, isWriteExternal, reset | 
| Methods inherited from class org.openide.util.SharedClassObject | 
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, getLock, getProperty, hashCode, initialize, putProperty, putProperty, removeNotify, removePropertyChangeListener, writeReplace | 
| Methods inherited from class java.lang.Object | 
clone, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final String PROP_INITIALIZER_FORMAT
public static final String PROP_FIELD_FORMAT
public static final String PROP_CONSTRUCTOR_FORMAT
public static final String PROP_METHOD_FORMAT
public static final String PROP_CLASS_FORMAT
public static final String PROP_INTERFACE_FORMAT
public static final String PROP_CATEGORIES_USAGE
| Constructor Detail | 
public SourceOptions()
| Method Detail | 
public String displayName()
public HelpCtx getHelpCtx()
public void setInitializerElementFormat(ElementFormat format)
format - the new formatpublic ElementFormat getInitializerElementFormat()
public void setFieldElementFormat(ElementFormat format)
format - the new formatpublic ElementFormat getFieldElementFormat()
public void setConstructorElementFormat(ElementFormat format)
format - the new formatpublic ElementFormat getConstructorElementFormat()
public void setMethodElementFormat(ElementFormat format)
format - the new formatpublic ElementFormat getMethodElementFormat()
public void setClassElementFormat(ElementFormat format)
format - the new formatpublic ElementFormat getClassElementFormat()
public void setInterfaceElementFormat(ElementFormat format)
format - the new formatpublic ElementFormat getInterfaceElementFormat()
public ElementFormat getInitializerElementLongFormat()
public ElementFormat getFieldElementLongFormat()
public ElementFormat getConstructorElementLongFormat()
public ElementFormat getMethodElementLongFormat()
public ElementFormat getClassElementLongFormat()
public ElementFormat getInterfaceElementLongFormat()
public void setCategoriesUsage(boolean cat)
cat - if true the elements under class elements are divided into
     categories: fields, constructors, methods. Otherwise (false) all elements
     are placed directly under class element.public boolean getCategoriesUsage()
true if the elements under class elements are divided into
     categories: fields, constructors, methods. Otherwise false (all elements
     are placed directly under class element).public void writeExternal(ObjectOutput out) throws IOException
IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||