|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.data.HashStructureAdapter oracle.ide.config.ChangeEventSource oracle.jdeveloper.uieditor.UIEditorOptions
public class UIEditorOptions
UIEditorOptions describes the customizations made available to the user. Specifically code generation options and options for visual cues. Prorgramatic generation of source should always consult the UIEditorOptions object before generating source statements. Likewise, any LayoutAssistant supporting grid like visual cues should also consult these options.
Field Summary | |
---|---|
static int |
DEFAULT_GRID_SPACING
Default grid spacing for those LayoutAssistants supporting a grid. |
static java.lang.String |
KEY_SETTINGS
Settings key used in conjunction with the IdeSettings object. |
static int |
PACKAGE_SCOPE
Declaration scope of Java default 'package private'. |
static int |
PRIVATE_SCOPE
Declration scope of private. |
static int |
PROTECTED_SCOPE
Declaration scope of protected. |
static int |
PUBLIC_SCOPE
Declaration scope of public. |
static java.lang.String[] |
TAGS
Declaration tags. |
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Constructor Summary | |
---|---|
UIEditorOptions()
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
copyTo(java.lang.Object target)
Copy all settings to the given target. |
protected void |
copyToImpl(UIEditorOptions copy)
Copy settings from this instance into the given instance. |
int |
getDefaultMemberScope()
Get the default member scope to use during source generation. |
int |
getGridSpacing()
Get the grid spacing to be used for those LayoutAssistants that support grid behavior. |
boolean |
isGridVisible()
Determine whether or not to display grid effects when working with LayoutAssistants that support a grid. |
boolean |
isMatchExistingCode()
Determine whether or not to match existing inner class declarations during source generation. |
boolean |
isSnapToGrid()
Determine whether or not to round coordinates and dimensions to the nearest factor of grid spacing when working with LayoutAssistants that support grid spacing. |
boolean |
isUseAnonymousInnerClass()
Determine whether or not to use anonymous inner classes during source generation. |
boolean |
isUseBeansInstantiate()
Determine whether or not to use Beans.instantiate during source generation of JavaBean variables. |
void |
setDefaultMemberScope(int defaultMemberScope)
Set the default member scope to be used during source generation. |
void |
setGridSpacing(int gridSpacing)
Set the grid spacing to be used by those LayoutAssistants that support grid behavior. |
void |
setGridVisible(boolean gridVisible)
Set whether or not to display grid effects when working with LayoutAssistants that support a grid. |
void |
setMatchExistingCode(boolean matchExistingCode)
Set whether or not to match existing style of inner classes during source generation. |
void |
setSnapToGrid(boolean snapToGrid)
Set whether or not to round coordinates and dimensions to the nearest factor of grid spacing when working with LayoutAssistants that support grid spacing. |
void |
setUseAnonymousInnerClass(boolean useAnonymousInnerClass)
Set whether or not anonymous inner classes are to be used during source generation. |
void |
setUseBeansInstantiate(boolean useBeansInstantiate)
Set whether or not to use Beans.instantiate during source generation of JavaBean variables. |
Methods inherited from class oracle.ide.config.ChangeEventSource |
---|
addChangeListener, fireChangeEvent, fireChangeEvent, removeChangeListener, setUseObjectEquals |
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KEY_SETTINGS
public static final int DEFAULT_GRID_SPACING
public static final int PUBLIC_SCOPE
public static final int PROTECTED_SCOPE
public static final int PACKAGE_SCOPE
public static final int PRIVATE_SCOPE
public static final java.lang.String[] TAGS
Constructor Detail |
---|
public UIEditorOptions()
Method Detail |
---|
public boolean isUseAnonymousInnerClass()
setUseAnonymousInnerClass(boolean)
public void setUseAnonymousInnerClass(boolean useAnonymousInnerClass)
useAnonymousInnerClass
- whether or not to use anonymouse inner
classes.#isAnonymousInnerClass
public boolean isMatchExistingCode()
setMatchExistingCode(boolean)
public void setMatchExistingCode(boolean matchExistingCode)
matchExistingCode
- whether or not to use match existing codeisMatchExistingCode()
public int getDefaultMemberScope()
setDefaultMemberScope(int)
,
#PUBLIC
,
#PROTECTED
,
#PACKAGE
,
#PRIVATE
public void setDefaultMemberScope(int defaultMemberScope)
defaultMemberScope
- one of PUBLIC, PROTECTED, PACKAGE, PRIVATEgetDefaultMemberScope()
,
#PUBLIC
,
#PROTECTED
,
#PACKAGE
,
#PRIVATE
public int getGridSpacing()
setGridSpacing(int)
public void setGridSpacing(int gridSpacing)
gridSpacing
- the grid spacing in pixels to usegetGridSpacing()
public boolean isSnapToGrid()
setSnapToGrid(boolean)
,
getGridSpacing()
,
setGridSpacing(int)
public void setSnapToGrid(boolean snapToGrid)
snapToGrid
- whether or not to round coordinates and dimensionsisSnapToGrid()
,
getGridSpacing()
,
setGridSpacing(int)
public boolean isGridVisible()
setGridVisible(boolean)
public void setGridVisible(boolean gridVisible)
gridVisible
- whether or not to display grid effectsisGridVisible()
public boolean isUseBeansInstantiate()
setUseBeansInstantiate(boolean)
,
java.beans.Beans.instantiate
public void setUseBeansInstantiate(boolean useBeansInstantiate)
useBeansInstantiate
- whether or not to use Beans.instantiateisUseBeansInstantiate()
,
java.beans.Beans.instantiate
public java.lang.Object copyTo(java.lang.Object target)
copyTo
in interface Copyable
copyTo
in class ChangeEventSource
target
- a UIEditorOptions into which to copy all settings
protected final void copyToImpl(UIEditorOptions copy)
copy
- the UIEditorOptions in which to copy our values.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |