|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.forms.jdapi.BaseFormsObject | +--oracle.forms.jdapi.Graphics
Object to represent a Forms Graphics object. This is an encapsulation of the Forms C API d2fgra.
In some cases, using methods on this class may result in a
JdapiIllegalStateException being thrown. When this happens, you are using
an object that refers to a Forms object that has been deleted - your
reference is no longer valid. You can check if an instance of this
class is valid by using the isValidFormsObject()
method.
If you code correctly, this should not happen. It will tend to happen
if you keep references (for extended periods) to Forms objects rather
than look them up dynamically. Of course you will only have this
problem if you destroy Forms objects.
BaseAPI
Field Summary | |
protected java.lang.Object |
m_clientInfo
Client info object held against this Forms object. |
protected long |
m_pd2fob
This is the d2fob pointer in the C ifjapi60 for the object that is derived from this class. |
Fields inherited from interface oracle.forms.jdapi.JdapiObject |
PROPERTY_DEFAULT_VALUE, PROPERTY_INHERITED_VALUE, PROPERTY_OVERRIDDEN_DEFAULT_VALUE, PROPERTY_OVERRIDDEN_INHERITED_VALUE, PROPERTY_STATE_UNKNOWN |
Constructor Summary | |
|
Graphics(Canvas parent,
java.lang.String name)
Constructor used to create Graphics objects in the context of a Canvas parent object. |
|
Graphics(Canvas parent,
java.lang.String name,
Graphics base)
Constructor used to create Graphics objects in the context of a Canvas parent object. |
|
Graphics(Canvas parent,
java.lang.String name,
PropertyClass base)
Constructor used to create Graphics objects in the context of a Canvas parent object. |
|
Graphics(Graphics parent,
java.lang.String name)
Constructor used to create Graphics objects in the context of a Graphics parent object. |
|
Graphics(Graphics parent,
java.lang.String name,
Graphics base)
Constructor used to create Graphics objects in the context of a Graphics parent object. |
|
Graphics(Graphics parent,
java.lang.String name,
PropertyClass base)
Constructor used to create Graphics objects in the context of a Graphics parent object. |
protected |
Graphics(long pd2fgra)
Protected constructor, used internally to create Graphics objects. |
|
Graphics(ObjectGroup parent,
java.lang.String name)
Constructor used to create Graphics objects in the context of a ObjectGroup parent object. |
|
Graphics(ObjectGroup parent,
java.lang.String name,
Graphics base)
Constructor used to create Graphics objects in the context of a ObjectGroup parent object. |
|
Graphics(ObjectGroup parent,
java.lang.String name,
PropertyClass base)
Constructor used to create Graphics objects in the context of a ObjectGroup parent object. |
|
Graphics(ObjectLibrary olb,
ObjectLibraryTab tab,
java.lang.String name)
Constructor used to create Graphics objects in the context of an ObjectLibraryTab parent object. |
|
Graphics(ObjectLibrary olb,
ObjectLibraryTab tab,
java.lang.String name,
Graphics base)
Constructor used to create Graphics objects in the context of an ObjectLibraryTab parent object. |
|
Graphics(ObjectLibrary olb,
ObjectLibraryTab tab,
java.lang.String name,
PropertyClass base)
Constructor used to create Graphics objects in the context of an ObjectLibraryTab parent object. |
|
Graphics(TabPage parent,
java.lang.String name)
Constructor used to create Graphics objects in the context of a TabPage parent object. |
|
Graphics(TabPage parent,
java.lang.String name,
Graphics base)
Constructor used to create Graphics objects in the context of a TabPage parent object. |
|
Graphics(TabPage parent,
java.lang.String name,
PropertyClass base)
Constructor used to create Graphics objects in the context of a TabPage parent object. |
Method Summary | |
void |
changeOwner(JdapiObject newOwner)
Assigns a new owner to the referred object. |
protected void |
clearObjectPointer()
Used internally to flag this object as an invalid object. |
Graphics |
clone(Canvas parent,
java.lang.String newName)
Creates a copy of the object as a child of 'parent' |
Graphics |
clone(Graphics parent,
java.lang.String newName)
Creates a copy of the object as a child of 'parent' |
JdapiObject |
clone(JdapiObject parent,
java.lang.String newName)
Creates a clone of the specified object, creating a new object with the given name and owner. |
Graphics |
clone(ObjectGroup parent,
java.lang.String newName)
Creates a copy of the object as a child of 'parent' |
Graphics |
clone(ObjectLibraryTab parent,
java.lang.String newName)
Creates a copy of the object as a child of 'parent' |
Graphics |
clone(TabPage parent,
java.lang.String newName)
Creates a copy of the object as a child of 'parent' |
JdapiObject |
createSubclassedChild(JdapiObject childOwner,
java.lang.String childName)
Subclass the referred object. |
void |
destroy()
Destroys the object - this removes the object from it's context. |
boolean |
equals(JdapiObject obj)
Compares two objects and determines if they are equal. |
void |
exportImage(java.lang.String filename)
Exports an image embedded in a Graphics object to file. |
static Graphics |
find(Canvas parent,
java.lang.String name)
Find an instance of Graphics that is a child of a Canvas. |
static Graphics |
find(Graphics parent,
java.lang.String name)
Find an instance of Graphics that is a child of a Graphics. |
static Graphics |
find(ObjectGroup parent,
java.lang.String name)
Find an instance of Graphics that is a child of a ObjectGroup. |
static Graphics |
find(ObjectLibraryTab parent,
java.lang.String name)
Find an instance of Graphics that is a child of a ObjectLibraryTab. |
static Graphics |
find(TabPage parent,
java.lang.String name)
Find an instance of Graphics that is a child of a TabPage. |
int |
getArrowStyle()
Get number property ArrowStyle (ARROW_STYLE_PTID). |
java.lang.String |
getBackColor()
Get text property BackColor (BACK_COLOR_PTID). |
int |
getBevel()
Get number property Bevel (BEVEL_PTID). |
boolean |
getBooleanProperty(int propertyTypeId)
Retrieves a boolean property from the referred object. |
int |
getCapStyle()
Get number property CapStyle (CAP_STYLE_PTID). |
JdapiIterator |
getChildObjectProperty(int propertyTypeId)
Retrieves child objects for a given property value. |
java.lang.String |
getClassName()
Gets the class name of the object. |
java.lang.Object |
getClientInfo()
Returns the client info object associated with this Object. |
int |
getClipHeight()
Get number property ClipHeight (CLIP_HEIGHT_PTID). |
int |
getClipWidth()
Get number property ClipWidth (CLIP_WIDTH_PTID). |
int |
getClipXPosition()
Get number property ClipXPosition (CLIP_X_POSITION_PTID). |
int |
getClipYPosition()
Get number property ClipYPosition (CLIP_Y_POSITION_PTID). |
JdapiIterator |
getCompoundTexts()
Accessor for child CompoundText objects (COMPOUNDTEXT_PTID). |
int |
getCornerRadiusX()
Get number property CornerRadiusX (CORNER_RADIUS_X_PTID). |
int |
getCornerRadiusY()
Get number property CornerRadiusY (CORNER_RADIUS_Y_PTID). |
int |
getCustomSpacing()
Get number property CustomSpacing (CUSTOM_SPACING_PTID). |
int |
getDashStyle()
Get number property DashStyle (DASH_STYLE_PTID). |
int |
getDisplayQuality()
Get number property DisplayQuality (DISPLAY_QUALITY_PTID). |
int |
getDistanceBetweenRecords()
Get number property DistanceBetweenRecords (DISTANCE_BETWEEN_RECORDS_PTID). |
java.lang.String |
getEdgeBackColor()
Get text property EdgeBackColor (EDGE_BACK_COLOR_PTID). |
java.lang.String |
getEdgeForegroundColor()
Get text property EdgeForegroundColor (EDGE_FOREGROUND_COLOR_PTID). |
java.lang.String |
getEdgePattern()
Get text property EdgePattern (EDGE_PATTERN_PTID). |
java.lang.String |
getFillPattern()
Get text property FillPattern (FILL_PATTERN_PTID). |
java.lang.String |
getForegroundColor()
Get text property ForegroundColor (FOREGROUND_COLOR_PTID). |
int |
getFrameAlign()
Get number property FrameAlign (FRAME_ALIGN_PTID). |
java.lang.String |
getFrameTitle()
Get text property FrameTitle (FRAME_TITLE_PTID). |
int |
getFrameTitleAlign()
Get number property FrameTitleAlign (FRAME_TITLE_ALIGN_PTID). |
java.lang.String |
getFrameTitleBackColor()
Get text property FrameTitleBackColor (FRAME_TITLE_BACK_COLOR_PTID). |
java.lang.String |
getFrameTitleFillPattern()
Get text property FrameTitleFillPattern (FRAME_TITLE_FILL_PATTERN_PTID). |
java.lang.String |
getFrameTitleFontName()
Get text property FrameTitleFontName (FRAME_TITLE_FONT_NAME_PTID). |
int |
getFrameTitleFontSize()
Get number property FrameTitleFontSize (FRAME_TITLE_FONT_SIZE_PTID). |
int |
getFrameTitleFontSpacing()
Get number property FrameTitleFontSpacing (FRAME_TITLE_FONT_SPACING_PTID). |
int |
getFrameTitleFontStyle()
Get number property FrameTitleFontStyle (FRAME_TITLE_FONT_STYLE_PTID). |
int |
getFrameTitleFontWeight()
Get number property FrameTitleFontWeight (FRAME_TITLE_FONT_WEIGHT_PTID). |
java.lang.String |
getFrameTitleForegroundColor()
Get text property FrameTitleForegroundColor (FRAME_TITLE_FOREGROUND_COLOR_PTID). |
int |
getFrameTitleOffset()
Get number property FrameTitleOffset (FRAME_TITLE_OFFSET_PTID). |
int |
getFrameTitleSpacing()
Get number property FrameTitleSpacing (FRAME_TITLE_SPACING_PTID). |
java.lang.String |
getFrameTitleVisualAttributeName()
Get text property FrameTitleVisualAttributeName (FRAME_TITLE_VISUALATTRIBUTE_NAME_PTID). |
VisualAttribute |
getFrameTitleVisualAttributeObject()
Get object property FrameTitleVisualAttributeObject (FRAME_TITLE_VISUALATTRIBUTE_OBJECT_PTID). |
JdapiIterator |
getGraphicses()
Accessor for child Graphics objects (GRAPHIC_PTID). |
java.lang.String |
getGraphicsFontColor()
Get text property GraphicsFontColor (GRAPHICS_FONT_COLOR_PTID). |
int |
getGraphicsFontColorCode()
Get number property GraphicsFontColorCode (GRAPHICS_FONT_COLOR_CODE_PTID). |
java.lang.String |
getGraphicsFontName()
Get text property GraphicsFontName (GRAPHICS_FONT_NAME_PTID). |
int |
getGraphicsFontSize()
Get number property GraphicsFontSize (GRAPHICS_FONT_SIZE_PTID). |
int |
getGraphicsFontSpacing()
Get number property GraphicsFontSpacing (GRAPHICS_FONT_SPACING_PTID). |
int |
getGraphicsFontStyle()
Get number property GraphicsFontStyle (GRAPHICS_FONT_STYLE_PTID). |
int |
getGraphicsFontWeight()
Get number property GraphicsFontWeight (GRAPHICS_FONT_WEIGHT_PTID). |
java.lang.String |
getGraphicsText()
Get text property GraphicsText (GRAPHICS_TEXT_PTID). |
int |
getGraphicsType()
Get number property GraphicsType (GRAPHICS_TYPE_PTID). |
int |
getHeight()
Get number property Height (HEIGHT_PTID). |
int |
getHorizontalJustification()
Get number property HorizontalJustification (HORIZONTAL_JUSTIFICATION_PTID). |
int |
getHorizontalMargin()
Get number property HorizontalMargin (HORIZONTAL_MARGIN_PTID). |
int |
getHorizontalObjectOffset()
Get number property HorizontalObjectOffset (HORIZONTAL_OBJECT_OFFSET_PTID). |
int |
getHorizontalOrigin()
Get number property HorizontalOrigin (HORIZONTAL_ORIGIN_PTID). |
int |
getImageDepth()
Get number property ImageDepth (IMAGE_DEPTH_PTID). |
int |
getImageFormat()
Get number property ImageFormat (IMAGE_FORMAT_PTID). |
int |
getIntegerProperty(int propertyTypeId)
Retrieves an integer property from the referred object. |
java.lang.String |
getIntegerPropertyString(int propertyTypeId)
Gets a numeric ( long ) property value's text
representation. |
int |
getInternalEndAngle()
Get number property InternalEndAngle (INTERNAL_END_ANGLE_PTID). |
int |
getInternalLineWidth()
Get number property InternalLineWidth (INTERNAL_LINE_WIDTH_PTID). |
int |
getInternalRotationAngle()
Get number property InternalRotationAngle (INTERNAL_ROTATION_ANGLE_PTID). |
int |
getInternalStartAngle()
Get number property InternalStartAngle (INTERNAL_START_ANGLE_PTID). |
JdapiMetaObject |
getJdapiMetaObject()
Gets the metadata object for the specified object. |
int |
getJoinStyle()
Get number property JoinStyle (JOIN_STYLE_PTID). |
int |
getLanguageDirection()
Get number property LanguageDirection (LANGUAGE_DIRECTION_PTID). |
java.lang.String |
getLayoutDataBlockName()
Get text property LayoutDataBlockName (LAYOUT_DATA_BLOCK_NAME_PTID). |
int |
getLayoutStyle()
Get number property LayoutStyle (LAYOUT_STYLE_PTID). |
int |
getLineSpacing()
Get number property LineSpacing (LINE_SPACING_PTID). |
int |
getMaximumObjs()
Get number property MaximumObjs (MAXIMUM_OBJS_PTID). |
JdapiIterator |
getMetaProperties()
Return an iterator over the meta properties in object referred. |
JdapiObject |
getModule()
Get object property Module (MODULE_PTID). |
java.lang.String |
getName()
Get text property Name (NAME_PTID). |
protected long |
getObjectPointer()
Gets the Forms API pointer for this object. |
JdapiObject |
getObjectProperty(int propertyTypeId)
Retrieves a JdapiObject property from the referred object. |
protected long |
getObjProp(int propertyTypeId)
Internal method used to get an object property value. |
JdapiIterator |
getOwnedObjects()
Get the object instances owned by this particular object. |
JdapiObject |
getOwner()
Get object property Owner (OWNER_PTID). |
java.lang.String |
getParentFilename()
Get text property ParentFilename (PARENT_FILENAME_PTID). |
java.lang.String |
getParentFilepath()
Get text property ParentFilepath (PARENT_FILEPATH_PTID). |
java.lang.String |
getParentModule()
Get text property ParentModule (PARENT_MODULE_PTID). |
int |
getParentModuleType()
Get number property ParentModuleType (PARENT_MODULETYPE_PTID). |
java.lang.String |
getParentName()
Get text property ParentName (PARENT_NAME_PTID). |
int |
getParentType()
Get number property ParentType (PARENT_TYPE_PTID). |
Blob |
getPersistentClientInfoBlob()
Returns the persistent client info Blob associated with this object. |
int |
getPersistentClientInfoLength()
Get number property PersistentClientInfoLength (PERSISTENT_CLIENT_INFO_LENGTH_PTID). |
java.lang.Object |
getPersistentClientInfoObject()
Returns the persistent client info Java object associated with this object. |
JdapiIterator |
getPoints()
Accessor for child Point objects (POINT_PTID). |
int |
getPropertyState(int propertyTypeId)
Returns the current state of the specified property. |
java.lang.String |
getPropertyValueName(int propertyTypeId,
int val)
Gets the string representation of a given property's value. |
java.lang.String |
getQualifiedName(boolean includeModule)
Gets a fully qualified name for the object in the format of: MODULE.OBJECT.CHILD.CHILD... |
int |
getRecordsDisplayCount()
Get number property RecordsDisplayCount (RECORDS_DISPLAY_COUNT_PTID). |
int |
getScrollbarAlign()
Get number property ScrollbarAlign (SCROLLBAR_ALIGN_PTID). |
int |
getScrollbarWidth()
Get number property ScrollbarWidth (SCROLLBAR_WIDTH_PTID). |
int |
getSingleObjectAlign()
Get number property SingleObjectAlign (SINGLE_OBJECT_ALIGN_PTID). |
JdapiObject |
getSource()
Get object property Source (SOURCE_PTID). |
int |
getStartPromptAlign()
Get number property StartPromptAlign (START_PROMPT_ALIGN_PTID). |
int |
getStartPromptOffset()
Get number property StartPromptOffset (START_PROMPT_OFFSET_PTID). |
int |
getStringIDProperty(int propertyTypeId)
Retrieves a special String ID (integer) property from the referred object. |
java.lang.String |
getStringProperty(int propertyTypeId)
Retrieves a string property from the referred object. |
JdapiObject |
getSubclassParent()
Get Source (SOURCE_PTID) object property, i.e. |
java.lang.String |
getTabPageName()
Get text property TabPageName (TABPAGE_NAME_PTID). |
TabPage |
getTabPageObject()
Get object property TabPageObject (TABPAGE_OBJECT_PTID). |
int |
getTitleReadingOrder()
Get number property TitleReadingOrder (TITLE_READING_ORDER_PTID). |
int |
getTopPromptAlign()
Get number property TopPromptAlign (TOP_PROMPT_ALIGN_PTID). |
int |
getTopPromptOffset()
Get number property TopPromptOffset (TOP_PROMPT_OFFSET_PTID). |
int |
getTypeId()
Gets the HtmlForms object type ID. |
int |
getUpdateLayout()
Get number property UpdateLayout (UPDATE_LAYOUT_PTID). |
int |
getVerticalJustification()
Get number property VerticalJustification (VERTICAL_JUSTIFICATION_PTID). |
int |
getVerticalMargin()
Get number property VerticalMargin (VERTICAL_MARGIN_PTID). |
int |
getVerticalObjectOffset()
Get number property VerticalObjectOffset (VERTICAL_OBJECT_OFFSET_PTID). |
int |
getVerticalOrigin()
Get number property VerticalOrigin (VERTICAL_ORIGIN_PTID). |
java.lang.String |
getVisualAttributeName()
Get text property VisualAttributeName (VISUALATTRIBUTE_NAME_PTID). |
VisualAttribute |
getVisualAttributeObject()
Get object property VisualAttributeObject (VISUALATTRIBUTE_OBJECT_PTID). |
int |
getWidth()
Get number property Width (WIDTH_PTID). |
int |
getXPosition()
Get number property XPosition (X_POSITION_PTID). |
int |
getYPosition()
Get number property YPosition (Y_POSITION_PTID). |
boolean |
hasDefaultedProperty(int propertyTypeId)
Checks if a property is set to it's default value. |
boolean |
hasInheritedProperty(int propertyTypeId)
Checks if a property is inherited. |
boolean |
hasOverriddenProperty(int propertyTypeId)
Determine whether the object referred has a property of the given type id with an overridden value. |
boolean |
hasProperty(int propertyTypeId)
Checks if the object has a given property. |
void |
importImage(java.lang.String filename,
int format)
Imports an image and embeds it in the Graphics object. |
void |
inheritProperty(int propertyTypeId)
Resets a property to it's default value (confusing name eh?). |
boolean |
isAllowExpansion()
Get boolean property AllowExpansion (ALLOW_EXPANSION_PTID). |
boolean |
isAllowMultiLinePrompts()
Get boolean property AllowMultiLinePrompts (ALLOW_MULTI_LINE_PROMPTS_PTID). |
boolean |
isAllowStartAttachmentPrompts()
Get boolean property AllowStartAttachmentPrompts (ALLOW_START_ATTACHMENT_PROMPTS_PTID). |
boolean |
isAllowTopAttachmentPrompts()
Get boolean property AllowTopAttachmentPrompts (ALLOW_TOP_ATTACHMENT_PROMPTS_PTID). |
boolean |
isBoundingBoxScalable()
Get boolean property BoundingBoxScalable (BOUNDING_BOX_SCALABLE_PTID). |
boolean |
isClosed()
Get boolean property Closed (CLOSED_PTID). |
boolean |
isDirtyInfo()
Get boolean property DirtyInfo (DIRTY_INFO_PTID). |
boolean |
isDither()
Get boolean property Dither (DITHER_PTID). |
boolean |
isFixedBoundingBox()
Get boolean property FixedBoundingBox (FIXED_BOUNDING_BOX_PTID). |
boolean |
isFontScaleable()
Get boolean property FontScaleable (FONT_SCALEABLE_PTID). |
boolean |
isShowScrollbar()
Get boolean property ShowScrollbar (SHOW_SCROLLBAR_PTID). |
boolean |
isShrinkwrap()
Get boolean property Shrinkwrap (SHRINKWRAP_PTID). |
boolean |
isSubclassed()
Checks if the object is subclassed from another object. |
boolean |
isSubclassSubObject()
Get boolean property SubclassSubObject (SUBCLASS_SUBOBJECT_PTID). |
boolean |
isValidFormsObject()
Determines whether this Java instance references a valid Forms object. |
boolean |
isVerticalFill()
Get boolean property VerticalFill (VERTICAL_FILL_PTID). |
boolean |
isWrapText()
Get boolean property WrapText (WRAP_TEXT_PTID). |
void |
move(JdapiObject next)
Reorders an object with respect to its siblings in the collection it belongs to. |
int |
queryType()
Returns the FormAPI object type ID (x_OTID in JdapiTypes ). |
void |
reattach()
Reattaches subclassed object. |
void |
setAllowExpansion(boolean value)
Sets boolean property AllowExpansion (ALLOW_EXPANSION_PTID). |
void |
setAllowMultiLinePrompts(boolean value)
Sets boolean property AllowMultiLinePrompts (ALLOW_MULTI_LINE_PROMPTS_PTID). |
void |
setAllowStartAttachmentPrompts(boolean value)
Sets boolean property AllowStartAttachmentPrompts (ALLOW_START_ATTACHMENT_PROMPTS_PTID). |
void |
setAllowTopAttachmentPrompts(boolean value)
Sets boolean property AllowTopAttachmentPrompts (ALLOW_TOP_ATTACHMENT_PROMPTS_PTID). |
void |
setArrowStyle(int value)
Sets number property ArrowStyle (ARROW_STYLE_PTID). |
void |
setBackColor(java.lang.String value)
Sets text property BackColor (BACK_COLOR_PTID). |
void |
setBevel(int value)
Sets number property Bevel (BEVEL_PTID). |
void |
setBooleanProperty(int propertyTypeId,
boolean propertyValue)
Sets the value of the specified boolean property belonging to the referred object. |
void |
setBoundingBoxScalable(boolean value)
Sets boolean property BoundingBoxScalable (BOUNDING_BOX_SCALABLE_PTID). |
void |
setCapStyle(int value)
Sets number property CapStyle (CAP_STYLE_PTID). |
void |
setClientInfo(java.lang.Object clientInfo)
Sets the client information. |
void |
setClipHeight(int value)
Sets number property ClipHeight (CLIP_HEIGHT_PTID). |
void |
setClipWidth(int value)
Sets number property ClipWidth (CLIP_WIDTH_PTID). |
void |
setClipXPosition(int value)
Sets number property ClipXPosition (CLIP_X_POSITION_PTID). |
void |
setClipYPosition(int value)
Sets number property ClipYPosition (CLIP_Y_POSITION_PTID). |
void |
setClosed(boolean value)
Sets boolean property Closed (CLOSED_PTID). |
void |
setCornerRadiusX(int value)
Sets number property CornerRadiusX (CORNER_RADIUS_X_PTID). |
void |
setCornerRadiusY(int value)
Sets number property CornerRadiusY (CORNER_RADIUS_Y_PTID). |
void |
setCustomSpacing(int value)
Sets number property CustomSpacing (CUSTOM_SPACING_PTID). |
void |
setDashStyle(int value)
Sets number property DashStyle (DASH_STYLE_PTID). |
void |
setDirtyInfo(boolean value)
Sets boolean property DirtyInfo (DIRTY_INFO_PTID). |
void |
setDisplayQuality(int value)
Sets number property DisplayQuality (DISPLAY_QUALITY_PTID). |
void |
setDistanceBetweenRecords(int value)
Sets number property DistanceBetweenRecords (DISTANCE_BETWEEN_RECORDS_PTID). |
void |
setDither(boolean value)
Sets boolean property Dither (DITHER_PTID). |
void |
setEdgeBackColor(java.lang.String value)
Sets text property EdgeBackColor (EDGE_BACK_COLOR_PTID). |
void |
setEdgeForegroundColor(java.lang.String value)
Sets text property EdgeForegroundColor (EDGE_FOREGROUND_COLOR_PTID). |
void |
setEdgePattern(java.lang.String value)
Sets text property EdgePattern (EDGE_PATTERN_PTID). |
void |
setFillPattern(java.lang.String value)
Sets text property FillPattern (FILL_PATTERN_PTID). |
void |
setFixedBoundingBox(boolean value)
Sets boolean property FixedBoundingBox (FIXED_BOUNDING_BOX_PTID). |
void |
setFontScaleable(boolean value)
Sets boolean property FontScaleable (FONT_SCALEABLE_PTID). |
void |
setForegroundColor(java.lang.String value)
Sets text property ForegroundColor (FOREGROUND_COLOR_PTID). |
void |
setFrameAlign(int value)
Sets number property FrameAlign (FRAME_ALIGN_PTID). |
void |
setFrameTitle(java.lang.String value)
Sets text property FrameTitle (FRAME_TITLE_PTID). |
void |
setFrameTitleAlign(int value)
Sets number property FrameTitleAlign (FRAME_TITLE_ALIGN_PTID). |
void |
setFrameTitleBackColor(java.lang.String value)
Sets text property FrameTitleBackColor (FRAME_TITLE_BACK_COLOR_PTID). |
void |
setFrameTitleFillPattern(java.lang.String value)
Sets text property FrameTitleFillPattern (FRAME_TITLE_FILL_PATTERN_PTID). |
void |
setFrameTitleFontName(java.lang.String value)
Sets text property FrameTitleFontName (FRAME_TITLE_FONT_NAME_PTID). |
void |
setFrameTitleFontSize(int value)
Sets number property FrameTitleFontSize (FRAME_TITLE_FONT_SIZE_PTID). |
void |
setFrameTitleFontSpacing(int value)
Sets number property FrameTitleFontSpacing (FRAME_TITLE_FONT_SPACING_PTID). |
void |
setFrameTitleFontStyle(int value)
Sets number property FrameTitleFontStyle (FRAME_TITLE_FONT_STYLE_PTID). |
void |
setFrameTitleFontWeight(int value)
Sets number property FrameTitleFontWeight (FRAME_TITLE_FONT_WEIGHT_PTID). |
void |
setFrameTitleForegroundColor(java.lang.String value)
Sets text property FrameTitleForegroundColor (FRAME_TITLE_FOREGROUND_COLOR_PTID). |
void |
setFrameTitleOffset(int value)
Sets number property FrameTitleOffset (FRAME_TITLE_OFFSET_PTID). |
void |
setFrameTitleSpacing(int value)
Sets number property FrameTitleSpacing (FRAME_TITLE_SPACING_PTID). |
void |
setFrameTitleVisualAttributeName(java.lang.String value)
Sets text property FrameTitleVisualAttributeName (FRAME_TITLE_VISUALATTRIBUTE_NAME_PTID). |
void |
setFrameTitleVisualAttributeObject(VisualAttribute value)
Set object property FrameTitleVisualAttributeObject (FRAME_TITLE_VISUALATTRIBUTE_OBJECT_PTID). |
void |
setGraphicsFontColor(java.lang.String value)
Sets text property GraphicsFontColor (GRAPHICS_FONT_COLOR_PTID). |
void |
setGraphicsFontColorCode(int value)
Sets number property GraphicsFontColorCode (GRAPHICS_FONT_COLOR_CODE_PTID). |
void |
setGraphicsFontName(java.lang.String value)
Sets text property GraphicsFontName (GRAPHICS_FONT_NAME_PTID). |
void |
setGraphicsFontSize(int value)
Sets number property GraphicsFontSize (GRAPHICS_FONT_SIZE_PTID). |
void |
setGraphicsFontSpacing(int value)
Sets number property GraphicsFontSpacing (GRAPHICS_FONT_SPACING_PTID). |
void |
setGraphicsFontStyle(int value)
Sets number property GraphicsFontStyle (GRAPHICS_FONT_STYLE_PTID). |
void |
setGraphicsFontWeight(int value)
Sets number property GraphicsFontWeight (GRAPHICS_FONT_WEIGHT_PTID). |
void |
setGraphicsText(java.lang.String value)
Sets text property GraphicsText (GRAPHICS_TEXT_PTID). |
void |
setGraphicsType(int value)
Sets number property GraphicsType (GRAPHICS_TYPE_PTID). |
void |
setHeight(int value)
Sets number property Height (HEIGHT_PTID). |
void |
setHorizontalJustification(int value)
Sets number property HorizontalJustification (HORIZONTAL_JUSTIFICATION_PTID). |
void |
setHorizontalMargin(int value)
Sets number property HorizontalMargin (HORIZONTAL_MARGIN_PTID). |
void |
setHorizontalObjectOffset(int value)
Sets number property HorizontalObjectOffset (HORIZONTAL_OBJECT_OFFSET_PTID). |
void |
setHorizontalOrigin(int value)
Sets number property HorizontalOrigin (HORIZONTAL_ORIGIN_PTID). |
void |
setImageDepth(int value)
Sets number property ImageDepth (IMAGE_DEPTH_PTID). |
void |
setImageFormat(int value)
Sets number property ImageFormat (IMAGE_FORMAT_PTID). |
void |
setIntegerProperty(int propertyTypeId,
int propertyValue)
Sets the value of the specified object integer property. |
void |
setInternalEndAngle(int value)
Sets number property InternalEndAngle (INTERNAL_END_ANGLE_PTID). |
void |
setInternalLineWidth(int value)
Sets number property InternalLineWidth (INTERNAL_LINE_WIDTH_PTID). |
void |
setInternalRotationAngle(int value)
Sets number property InternalRotationAngle (INTERNAL_ROTATION_ANGLE_PTID). |
void |
setInternalStartAngle(int value)
Sets number property InternalStartAngle (INTERNAL_START_ANGLE_PTID). |
void |
setJoinStyle(int value)
Sets number property JoinStyle (JOIN_STYLE_PTID). |
void |
setLanguageDirection(int value)
Sets number property LanguageDirection (LANGUAGE_DIRECTION_PTID). |
void |
setLayoutDataBlockName(java.lang.String value)
Sets text property LayoutDataBlockName (LAYOUT_DATA_BLOCK_NAME_PTID). |
void |
setLayoutStyle(int value)
Sets number property LayoutStyle (LAYOUT_STYLE_PTID). |
void |
setLineSpacing(int value)
Sets number property LineSpacing (LINE_SPACING_PTID). |
void |
setMaximumObjs(int value)
Sets number property MaximumObjs (MAXIMUM_OBJS_PTID). |
void |
setName(java.lang.String value)
Sets text property Name (NAME_PTID). |
void |
setObjectProperty(int propertyTypeId,
JdapiObject propertyValue)
Sets the value of the specified object object property value. |
protected void |
setObjProp(int propertyTypeId,
long val)
Internal method used to set an object property. |
void |
setParentFilename(java.lang.String value)
Sets text property ParentFilename (PARENT_FILENAME_PTID). |
void |
setParentFilepath(java.lang.String value)
Sets text property ParentFilepath (PARENT_FILEPATH_PTID). |
void |
setParentModule(java.lang.String value)
Sets text property ParentModule (PARENT_MODULE_PTID). |
void |
setParentModuleType(int value)
Sets number property ParentModuleType (PARENT_MODULETYPE_PTID). |
void |
setParentName(java.lang.String value)
Sets text property ParentName (PARENT_NAME_PTID). |
void |
setParentType(int value)
Sets number property ParentType (PARENT_TYPE_PTID). |
void |
setPersistentClientInfo(Blob val)
Sets persistent client info for this object. |
void |
setPersistentClientInfo(java.io.Serializable obj)
Serializes any Java object which supports the Serializable interface to this object's Persistent Client Info. |
void |
setPersistentClientInfoLength(int value)
Sets number property PersistentClientInfoLength (PERSISTENT_CLIENT_INFO_LENGTH_PTID). |
void |
setRecordsDisplayCount(int value)
Sets number property RecordsDisplayCount (RECORDS_DISPLAY_COUNT_PTID). |
void |
setScrollbarAlign(int value)
Sets number property ScrollbarAlign (SCROLLBAR_ALIGN_PTID). |
void |
setScrollbarWidth(int value)
Sets number property ScrollbarWidth (SCROLLBAR_WIDTH_PTID). |
void |
setShowScrollbar(boolean value)
Sets boolean property ShowScrollbar (SHOW_SCROLLBAR_PTID). |
void |
setShrinkwrap(boolean value)
Sets boolean property Shrinkwrap (SHRINKWRAP_PTID). |
void |
setSingleObjectAlign(int value)
Sets number property SingleObjectAlign (SINGLE_OBJECT_ALIGN_PTID). |
void |
setStartPromptAlign(int value)
Sets number property StartPromptAlign (START_PROMPT_ALIGN_PTID). |
void |
setStartPromptOffset(int value)
Sets number property StartPromptOffset (START_PROMPT_OFFSET_PTID). |
void |
setStringProperty(int propertyTypeId,
java.lang.String propertyValue)
Sets the value of the specified string property for the object. |
void |
setSubclassParent(JdapiObject parent)
Change the subclassing parent of the object referred. |
void |
setSubclassSubObject(boolean value)
Sets boolean property SubclassSubObject (SUBCLASS_SUBOBJECT_PTID). |
void |
setTabPageName(java.lang.String value)
Sets text property TabPageName (TABPAGE_NAME_PTID). |
void |
setTabPageObject(TabPage value)
Set object property TabPageObject (TABPAGE_OBJECT_PTID). |
void |
setTitleReadingOrder(int value)
Sets number property TitleReadingOrder (TITLE_READING_ORDER_PTID). |
void |
setTopPromptAlign(int value)
Sets number property TopPromptAlign (TOP_PROMPT_ALIGN_PTID). |
void |
setTopPromptOffset(int value)
Sets number property TopPromptOffset (TOP_PROMPT_OFFSET_PTID). |
void |
setUpdateLayout(int value)
Sets number property UpdateLayout (UPDATE_LAYOUT_PTID). |
void |
setVerticalFill(boolean value)
Sets boolean property VerticalFill (VERTICAL_FILL_PTID). |
void |
setVerticalJustification(int value)
Sets number property VerticalJustification (VERTICAL_JUSTIFICATION_PTID). |
void |
setVerticalMargin(int value)
Sets number property VerticalMargin (VERTICAL_MARGIN_PTID). |
void |
setVerticalObjectOffset(int value)
Sets number property VerticalObjectOffset (VERTICAL_OBJECT_OFFSET_PTID). |
void |
setVerticalOrigin(int value)
Sets number property VerticalOrigin (VERTICAL_ORIGIN_PTID). |
void |
setVisualAttributeName(java.lang.String value)
Sets text property VisualAttributeName (VISUALATTRIBUTE_NAME_PTID). |
void |
setVisualAttributeObject(VisualAttribute value)
Set object property VisualAttributeObject (VISUALATTRIBUTE_OBJECT_PTID). |
void |
setWidth(int value)
Sets number property Width (WIDTH_PTID). |
void |
setWrapText(boolean value)
Sets boolean property WrapText (WRAP_TEXT_PTID). |
void |
setXPosition(int value)
Sets number property XPosition (X_POSITION_PTID). |
void |
setYPosition(int value)
Sets number property YPosition (Y_POSITION_PTID). |
java.lang.String |
toString()
Converts and returns the object properties to string format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected transient long m_pd2fob
protected transient java.lang.Object m_clientInfo
Constructor Detail |
public Graphics(Canvas parent, java.lang.String name)
parent
- Parent objectname
- Name of the new objectpublic Graphics(Canvas parent, java.lang.String name, Graphics base)
parent
- Parent objectname
- Name of the new objectbase
- Graphics object to derive frompublic Graphics(Canvas parent, java.lang.String name, PropertyClass base)
parent
- Parent objectname
- Name of the new objectbase
- PropertyClass object to derive frompublic Graphics(Graphics parent, java.lang.String name)
parent
- Parent objectname
- Name of the new objectpublic Graphics(Graphics parent, java.lang.String name, Graphics base)
parent
- Parent objectname
- Name of the new objectbase
- Graphics object to derive frompublic Graphics(Graphics parent, java.lang.String name, PropertyClass base)
parent
- Parent objectname
- Name of the new objectbase
- PropertyClass object to derive frompublic Graphics(TabPage parent, java.lang.String name)
parent
- Parent objectname
- Name of the new objectpublic Graphics(TabPage parent, java.lang.String name, Graphics base)
parent
- Parent objectname
- Name of the new objectbase
- Graphics object to derive frompublic Graphics(TabPage parent, java.lang.String name, PropertyClass base)
parent
- Parent objectname
- Name of the new objectbase
- PropertyClass object to derive frompublic Graphics(ObjectGroup parent, java.lang.String name)
parent
- Parent objectname
- Name of the new objectpublic Graphics(ObjectGroup parent, java.lang.String name, Graphics base)
parent
- Parent objectname
- Name of the new objectbase
- Graphics object to derive frompublic Graphics(ObjectGroup parent, java.lang.String name, PropertyClass base)
parent
- Parent objectname
- Name of the new objectbase
- PropertyClass object to derive frompublic Graphics(ObjectLibrary olb, ObjectLibraryTab tab, java.lang.String name)
olb
- The ObjectLibrary module to create this object intab
- The tab in the passed ObjectLibrary to attach the new object toname
- Name of the new objectpublic Graphics(ObjectLibrary olb, ObjectLibraryTab tab, java.lang.String name, Graphics base)
olb
- The ObjectLibrary module to create this object intab
- The tab in the passed ObjectLibrary to attach the new object toname
- Name of the new objectbase
- Graphics object to derive frompublic Graphics(ObjectLibrary olb, ObjectLibraryTab tab, java.lang.String name, PropertyClass base)
olb
- The ObjectLibrary module to create this object intab
- The tab in the passed ObjectLibrary to attach the new object toname
- Name of the new objectbase
- PropertyClass object to derive fromprotected Graphics(long pd2fgra)
Do NOT use this constructor, even within the Jdapi package. If you have a pointer and need to instantiate it's Java representation, get the object via the context cache, e.g.
myBaseObject = Jdapi.getObject(myPointer);
pd2fctx
- C pointer to Forms contextpd2fgra
- C pointer to Forms objectMethod Detail |
public int getTypeId()
getTypeId
in class oracle.forms.jdapi.BaseFormsObject
public Graphics clone(Canvas parent, java.lang.String newName)
parent
- Parent objectnewName
- Name of object that's being createdpublic Graphics clone(Graphics parent, java.lang.String newName)
parent
- Parent objectnewName
- Name of object that's being createdpublic Graphics clone(TabPage parent, java.lang.String newName)
parent
- Parent objectnewName
- Name of object that's being createdpublic Graphics clone(ObjectGroup parent, java.lang.String newName)
parent
- Parent objectnewName
- Name of object that's being createdpublic Graphics clone(ObjectLibraryTab parent, java.lang.String newName)
parent
- Parent objectnewName
- Name of object that's being createdpublic static Graphics find(Canvas parent, java.lang.String name)
parent
- Parent object of object you wish to findname
- Name of object you wish to findpublic static Graphics find(Graphics parent, java.lang.String name)
parent
- Parent object of object you wish to findname
- Name of object you wish to findpublic static Graphics find(TabPage parent, java.lang.String name)
parent
- Parent object of object you wish to findname
- Name of object you wish to findpublic static Graphics find(ObjectGroup parent, java.lang.String name)
parent
- Parent object of object you wish to findname
- Name of object you wish to findpublic static Graphics find(ObjectLibraryTab parent, java.lang.String name)
parent
- Parent object of object you wish to findname
- Name of object you wish to findpublic void importImage(java.lang.String filename, int format)
filename
- The filename to import the image from.format
- The image format.
Should be one of the JdapiTypes.IMFM_*_CTID.public void exportImage(java.lang.String filename)
filename
- The filename to save the image to.public java.lang.String getBackColor()
public void setBackColor(java.lang.String value)
value
- Value to set property topublic java.lang.String getEdgeBackColor()
public void setEdgeBackColor(java.lang.String value)
value
- Value to set property topublic java.lang.String getEdgeForegroundColor()
public void setEdgeForegroundColor(java.lang.String value)
value
- Value to set property topublic java.lang.String getEdgePattern()
public void setEdgePattern(java.lang.String value)
value
- Value to set property topublic java.lang.String getFillPattern()
public void setFillPattern(java.lang.String value)
value
- Value to set property topublic java.lang.String getForegroundColor()
public void setForegroundColor(java.lang.String value)
value
- Value to set property topublic java.lang.String getFrameTitle()
public void setFrameTitle(java.lang.String value)
value
- Value to set property topublic java.lang.String getFrameTitleBackColor()
public void setFrameTitleBackColor(java.lang.String value)
value
- Value to set property topublic java.lang.String getFrameTitleFillPattern()
public void setFrameTitleFillPattern(java.lang.String value)
value
- Value to set property topublic java.lang.String getFrameTitleFontName()
public void setFrameTitleFontName(java.lang.String value)
value
- Value to set property topublic java.lang.String getFrameTitleForegroundColor()
public void setFrameTitleForegroundColor(java.lang.String value)
value
- Value to set property topublic java.lang.String getFrameTitleVisualAttributeName()
public void setFrameTitleVisualAttributeName(java.lang.String value)
value
- Value to set property topublic java.lang.String getGraphicsFontColor()
public void setGraphicsFontColor(java.lang.String value)
value
- Value to set property topublic java.lang.String getGraphicsFontName()
public void setGraphicsFontName(java.lang.String value)
value
- Value to set property topublic java.lang.String getGraphicsText()
public void setGraphicsText(java.lang.String value)
value
- Value to set property topublic java.lang.String getLayoutDataBlockName()
public void setLayoutDataBlockName(java.lang.String value)
value
- Value to set property topublic java.lang.String getName()
getName
in class oracle.forms.jdapi.BaseFormsObject
public void setName(java.lang.String value)
value
- Value to set property topublic java.lang.String getParentFilename()
public void setParentFilename(java.lang.String value)
value
- Value to set property topublic java.lang.String getParentFilepath()
public void setParentFilepath(java.lang.String value)
value
- Value to set property topublic java.lang.String getParentModule()
public void setParentModule(java.lang.String value)
value
- Value to set property topublic java.lang.String getParentName()
public void setParentName(java.lang.String value)
value
- Value to set property topublic java.lang.String getTabPageName()
public void setTabPageName(java.lang.String value)
value
- Value to set property topublic java.lang.String getVisualAttributeName()
public void setVisualAttributeName(java.lang.String value)
value
- Value to set property topublic int getArrowStyle()
public void setArrowStyle(int value)
value
- Value to set property topublic int getBevel()
public void setBevel(int value)
value
- Value to set property topublic int getCapStyle()
public void setCapStyle(int value)
value
- Value to set property topublic int getClipHeight()
public void setClipHeight(int value)
value
- Value to set property topublic int getClipWidth()
public void setClipWidth(int value)
value
- Value to set property topublic int getClipXPosition()
public void setClipXPosition(int value)
value
- Value to set property topublic int getClipYPosition()
public void setClipYPosition(int value)
value
- Value to set property topublic int getCornerRadiusX()
public void setCornerRadiusX(int value)
value
- Value to set property topublic int getCornerRadiusY()
public void setCornerRadiusY(int value)
value
- Value to set property topublic int getCustomSpacing()
public void setCustomSpacing(int value)
value
- Value to set property topublic int getDashStyle()
public void setDashStyle(int value)
value
- Value to set property topublic int getDisplayQuality()
public void setDisplayQuality(int value)
value
- Value to set property topublic int getDistanceBetweenRecords()
public void setDistanceBetweenRecords(int value)
value
- Value to set property topublic int getFrameAlign()
public void setFrameAlign(int value)
value
- Value to set property topublic int getFrameTitleAlign()
public void setFrameTitleAlign(int value)
value
- Value to set property topublic int getFrameTitleFontSize()
public void setFrameTitleFontSize(int value)
value
- Value to set property topublic int getFrameTitleFontSpacing()
public void setFrameTitleFontSpacing(int value)
value
- Value to set property topublic int getFrameTitleFontStyle()
public void setFrameTitleFontStyle(int value)
value
- Value to set property topublic int getFrameTitleFontWeight()
public void setFrameTitleFontWeight(int value)
value
- Value to set property topublic int getFrameTitleOffset()
public void setFrameTitleOffset(int value)
value
- Value to set property topublic int getFrameTitleSpacing()
public void setFrameTitleSpacing(int value)
value
- Value to set property topublic int getGraphicsFontColorCode()
public void setGraphicsFontColorCode(int value)
value
- Value to set property topublic int getGraphicsFontSize()
public void setGraphicsFontSize(int value)
value
- Value to set property topublic int getGraphicsFontSpacing()
public void setGraphicsFontSpacing(int value)
value
- Value to set property topublic int getGraphicsFontStyle()
public void setGraphicsFontStyle(int value)
value
- Value to set property topublic int getGraphicsFontWeight()
public void setGraphicsFontWeight(int value)
value
- Value to set property topublic int getGraphicsType()
public void setGraphicsType(int value)
value
- Value to set property topublic int getHeight()
public void setHeight(int value)
value
- Value to set property topublic int getHorizontalJustification()
public void setHorizontalJustification(int value)
value
- Value to set property topublic int getHorizontalMargin()
public void setHorizontalMargin(int value)
value
- Value to set property topublic int getHorizontalObjectOffset()
public void setHorizontalObjectOffset(int value)
value
- Value to set property topublic int getHorizontalOrigin()
public void setHorizontalOrigin(int value)
value
- Value to set property topublic int getImageDepth()
public void setImageDepth(int value)
value
- Value to set property topublic int getImageFormat()
public void setImageFormat(int value)
value
- Value to set property topublic int getInternalEndAngle()
public void setInternalEndAngle(int value)
value
- Value to set property topublic int getInternalLineWidth()
public void setInternalLineWidth(int value)
value
- Value to set property topublic int getInternalRotationAngle()
public void setInternalRotationAngle(int value)
value
- Value to set property topublic int getInternalStartAngle()
public void setInternalStartAngle(int value)
value
- Value to set property topublic int getJoinStyle()
public void setJoinStyle(int value)
value
- Value to set property topublic int getLanguageDirection()
public void setLanguageDirection(int value)
value
- Value to set property topublic int getLayoutStyle()
public void setLayoutStyle(int value)
value
- Value to set property topublic int getLineSpacing()
public void setLineSpacing(int value)
value
- Value to set property topublic int getMaximumObjs()
public void setMaximumObjs(int value)
value
- Value to set property topublic int getParentModuleType()
public void setParentModuleType(int value)
value
- Value to set property topublic int getParentType()
public void setParentType(int value)
value
- Value to set property topublic int getPersistentClientInfoLength()
public void setPersistentClientInfoLength(int value)
value
- Value to set property topublic int getRecordsDisplayCount()
public void setRecordsDisplayCount(int value)
value
- Value to set property topublic int getScrollbarAlign()
public void setScrollbarAlign(int value)
value
- Value to set property topublic int getScrollbarWidth()
public void setScrollbarWidth(int value)
value
- Value to set property topublic int getSingleObjectAlign()
public void setSingleObjectAlign(int value)
value
- Value to set property topublic int getStartPromptAlign()
public void setStartPromptAlign(int value)
value
- Value to set property topublic int getStartPromptOffset()
public void setStartPromptOffset(int value)
value
- Value to set property topublic int getTopPromptAlign()
public void setTopPromptAlign(int value)
value
- Value to set property topublic int getTopPromptOffset()
public void setTopPromptOffset(int value)
value
- Value to set property topublic int getTitleReadingOrder()
public void setTitleReadingOrder(int value)
value
- Value to set property topublic int getUpdateLayout()
public void setUpdateLayout(int value)
value
- Value to set property topublic int getVerticalJustification()
public void setVerticalJustification(int value)
value
- Value to set property topublic int getVerticalMargin()
public void setVerticalMargin(int value)
value
- Value to set property topublic int getVerticalObjectOffset()
public void setVerticalObjectOffset(int value)
value
- Value to set property topublic int getVerticalOrigin()
public void setVerticalOrigin(int value)
value
- Value to set property topublic int getWidth()
public void setWidth(int value)
value
- Value to set property topublic int getXPosition()
public void setXPosition(int value)
value
- Value to set property topublic int getYPosition()
public void setYPosition(int value)
value
- Value to set property topublic boolean isAllowExpansion()
public void setAllowExpansion(boolean value)
value
- Value to set property topublic boolean isAllowMultiLinePrompts()
public void setAllowMultiLinePrompts(boolean value)
value
- Value to set property topublic boolean isAllowStartAttachmentPrompts()
public void setAllowStartAttachmentPrompts(boolean value)
value
- Value to set property topublic boolean isAllowTopAttachmentPrompts()
public void setAllowTopAttachmentPrompts(boolean value)
value
- Value to set property topublic boolean isBoundingBoxScalable()
public void setBoundingBoxScalable(boolean value)
value
- Value to set property topublic boolean isClosed()
public void setClosed(boolean value)
value
- Value to set property topublic boolean isDirtyInfo()
public void setDirtyInfo(boolean value)
value
- Value to set property topublic boolean isDither()
public void setDither(boolean value)
value
- Value to set property topublic boolean isFixedBoundingBox()
public void setFixedBoundingBox(boolean value)
value
- Value to set property topublic boolean isFontScaleable()
public void setFontScaleable(boolean value)
value
- Value to set property topublic boolean isShowScrollbar()
public void setShowScrollbar(boolean value)
value
- Value to set property topublic boolean isShrinkwrap()
public void setShrinkwrap(boolean value)
value
- Value to set property topublic boolean isSubclassSubObject()
public void setSubclassSubObject(boolean value)
value
- Value to set property topublic boolean isVerticalFill()
public void setVerticalFill(boolean value)
value
- Value to set property topublic boolean isWrapText()
public void setWrapText(boolean value)
value
- Value to set property topublic JdapiIterator getCompoundTexts()
public VisualAttribute getFrameTitleVisualAttributeObject()
public void setFrameTitleVisualAttributeObject(VisualAttribute value)
value
- VisualAttribute object to set property topublic JdapiIterator getGraphicses()
public JdapiObject getModule()
getModule
in class oracle.forms.jdapi.BaseFormsObject
public JdapiObject getOwner()
getOwner
in class oracle.forms.jdapi.BaseFormsObject
public JdapiIterator getPoints()
public JdapiObject getSource()
public TabPage getTabPageObject()
public void setTabPageObject(TabPage value)
value
- TabPage object to set property topublic VisualAttribute getVisualAttributeObject()
public void setVisualAttributeObject(VisualAttribute value)
value
- VisualAttribute object to set property toprotected long getObjectPointer()
public int queryType()
JdapiTypes
). This should always be the
same value as returned for getTypeId
. The difference between the two methods is that
queryType calls down to the API itself; this ensures that the correct type
is returned. Because this method calls down to the API, you might find it
a little faster to use getTypeID instead.queryType
in interface JdapiObject
JdapiTypes
.public void setClientInfo(java.lang.Object clientInfo)
This client info object is not persistent and will be lost when the session ends.
setClientInfo
in interface JdapiObject
clientInfo
- client info to be associated with the object.public java.lang.Object getClientInfo()
setClientObject
.getClientInfo
in interface JdapiObject
public Blob getPersistentClientInfoBlob()
getPersistentClientInfoBlob
in interface JdapiObject
Blob
containing client info.public java.lang.Object getPersistentClientInfoObject()
getPersistentClientInfoObject
in interface JdapiObject
public void setPersistentClientInfo(Blob val)
Like the non-persistent client info methods, the client info can be any information that you want to save with the form. Unlike the non-persistent client info methods, the persistent info is saved as part of the form and will not be lost when the session is ended.
setPersistentClientInfo
in interface JdapiObject
val
- a Blob
object containing client info.public void setPersistentClientInfo(java.io.Serializable obj)
Like the non-persistent client info methods, the client info can be any information that you want to save with the form. Unlike the non-persistent client info methods, the persistent info is saved as part of the form and will not be lost when the session is ended.
setPersistentClientInfo
in interface JdapiObject
val
- any Serializable object containing client info.public boolean equals(JdapiObject obj)
equals
in interface JdapiObject
object
- object to be compared.public JdapiObject clone(JdapiObject parent, java.lang.String newName)
The new object is the same as the original object in that it has the same property values. However, subclassing information is discarded, and the inherited property values "flattened" into local values in the new object.
It is your reponsibility to pass in an appropriate parent object. If you do not do this, you will probably get a JdapiException runtime exception. If possible, use the type safe clone method that is provided on each Forms object class.
clone
in interface JdapiObject
parent
- owner of the new object.newName
- name of the new object.public void changeOwner(JdapiObject newOwner)
Set newOwner to null if you want the object to have no owner.
The only restriction on this method is that the new owner must be in the same module
as the referred object. If you attempt to assign a new owner that is in a different
module, then a JdapiException
will be thrown.
Note: If you want to assign the object to a new owner in a different module, then you will have to clone or subclass the object.
changeOwner
in interface JdapiObject
newOwner
- the new owner of referred object; specify null if you want the object to have no owner.JdapiException
- if newOwner is in a different
module.public java.lang.String toString()
toString
in interface JdapiObject
toString
in class java.lang.Object
protected void clearObjectPointer()
public boolean isValidFormsObject()
JdapiObject
For example, assume that you have a reference to a block.
If you call destroy()
on its owning module, then the module and all of its blocks
should be deleted from memory. The reference that you have no longer
refers to a valid Forms object. A call to isValidFormsObject() on the
block should return false.
isValidFormsObject
in interface JdapiObject
oracle.forms.jdapi.JdapiObject
public void destroy()
destroy
in interface JdapiObject
public void move(JdapiObject next)
Pass null to this method to move the object to the end of the list. If the specified object and the next_object do not share the same owner, or do not have the same type, the method throws an exception.
You cannot use this method to move objects between parents. For example, it cannot be used to move an Item from one Block to another. If you want to move an object from one parent to another you will have to do something like:
// e.g. to move 'itmA' to be positioned before 'itmB' in block // 'blkB' (when 'itmA' is in another block) // copy itmA into a new parent (blkB) using same name Item newItmA = itmA.clone(blkB, itmA.getName()); newItmA.move(itmB); // move new item relative to itmB itmA.destroy(); // delete original object itmA = newItmA;
move
in interface JdapiObject
nextObject
- the object next to which the specified object
is to be moved.JdapiException
- if you attempt to
move an object next to an object that does not share the same owner or
is not of the samme type.public boolean getBooleanProperty(int propertyTypeId)
getBooleanProperty
in interface JdapiObject
propertyTypeId
- property type ID for which a boolean value is returned.public java.lang.String getStringProperty(int propertyTypeId)
getStringProperty
in interface JdapiObject
propertyTypeId
- property type ID for which a string value is returned.public int getIntegerProperty(int propertyTypeId)
... if(propClass.hasProperty(propNumber) && propClass.allowGet(propNumber)) { int propValue = propClass.getIntegerProperty(propNum); } ...
getIntegerProperty
in interface JdapiObject
propertyTypeId
- property type ID for which an integer value is returned.public int getStringIDProperty(int propertyTypeId)
This method is intended for use with the TranslationTable
object only. For a given property ID it retrieves the integer that indexes the string
property in the table for the current language.
getStringIDProperty
in interface JdapiObject
propertyTypeId
- property type ID for which a String ID value is returned.public java.lang.String getPropertyValueName(int propertyTypeId, int val)
JdapiObject
getPropertyValueName
in interface JdapiObject
oracle.forms.jdapi.JdapiObject
propertyTypeId
- Property numberval
- Value of propertypublic java.lang.String getIntegerPropertyString(int propertyTypeId)
JdapiObject
long
) property value's text
representation.getIntegerPropertyString
in interface JdapiObject
oracle.forms.jdapi.JdapiObject
propertyTypeId
- Number identifying the propertyprotected long getObjProp(int propertyTypeId)
ContextCache
to lookup/instantiate
the Java representation of the object.propertyTypeId
- Number identifying the propertyoracle.forms.builder.jfapi.ContextCache
,
#getObjectProp
public JdapiObject getObjectProperty(int propertyTypeId)
JdapiObject
getObjectProperty
in interface JdapiObject
oracle.forms.jdapi.JdapiObject
propertyTypeId
- property type ID for which a JdapiObject value is returned.public JdapiIterator getChildObjectProperty(int propertyTypeId)
JdapiObject
For example:
... // get the actual values for the current child object type, // for example, get the Items on a Block iter = jo.getChildObjectProperty(prop.getPropertyId()); ...Note, it should be (slightly) faster to call the specific method on the object, for example getBlocks() on the FormModule, as it involves fewer API calls. However, getChildObjectProperty should be sufficient if you only have a propertyTypeId available.
This method also differs from the direct accessors in that null is returned if there are no objects, not an empty iterator.
getChildObjectProperty
in interface JdapiObject
oracle.forms.jdapi.JdapiObject
propertyTypeId
- number identifying the child object property.public void setBooleanProperty(int propertyTypeId, boolean propertyValue)
JdapiObject
setBooleanProperty
in interface JdapiObject
oracle.forms.jdapi.JdapiObject
propertyTypeId
- property type ID of the property for which you want to set the boolean value.propertyValue
- the boolean value for the property.public void setStringProperty(int propertyTypeId, java.lang.String propertyValue)
JdapiObject
setStringProperty
in interface JdapiObject
oracle.forms.jdapi.JdapiObject
propertyTypeId
- property type ID of the property for which you want to set the string value.propertyValue
- the string value for the property.public void setIntegerProperty(int propertyTypeId, int propertyValue)
setIntegerProperty
in interface JdapiObject
propertyTypeId
- property type id for which we set the integer value.propertyValue
- the integer property value in property.protected void setObjProp(int propertyTypeId, long val)
propertyTypeId
- Number identifying the propertyval
- Value to set the property to#setObjectProp
public void setObjectProperty(int propertyTypeId, JdapiObject propertyValue)
setObjectProperty
in interface JdapiObject
propertyTypeId
- property type id for which we set the object property value.propertyValue
- the object property value in property.public boolean hasProperty(int propertyTypeId)
hasProperty
in interface JdapiObject
propertyTypeId
- Number identifying the propertypublic void inheritProperty(int propertyTypeId)
inheritProperty
in interface JdapiObject
propertyTypeId
- Number that identified the propertypublic boolean hasInheritedProperty(int propertyTypeId)
hasInheritedProperty
in interface JdapiObject
propertyTypeId
- Number that identified the propertypublic boolean hasOverriddenProperty(int propertyTypeId)
hasOverriddenProperty
in interface JdapiObject
propertyTypeId
- The type id of the property to
be queried.public boolean hasDefaultedProperty(int propertyTypeId)
hasDefaultedProperty
in interface JdapiObject
propertyTypeId
- Number that identified the propertypublic int getPropertyState(int propertyTypeId)
A property can be in one of the 5 states:
PROPERTY_STATE_UNKNOWN = 0;
PROPERTY_DEFAULT_VALUE = 1;
PROPERTY_OVERRIDDEN_DEFAULT_VALUE = 2;
PROPERTY_INHERITED_VALUE = 3;
PROPERTY_OVERRIDDEN_INHERITED_VALUE = 3;
getPropertyState
in interface JdapiObject
propertyTypeId
- The type id of the property.public boolean isSubclassed()
isSubclassed
in interface JdapiObject
public JdapiObject getSubclassParent()
getSubclassParent
in interface JdapiObject
public void setSubclassParent(JdapiObject parent)
The metadata associated with each object describes the types of objects that can become its subclassing parent. If the subclassing metadata associated with the refrred object doesn't indicate the objects of the given parent's type are allowed, then this method will throw an exception.
setSubclassParent
in interface JdapiObject
parent
- The parent object. If this is null, the child
the referred object will become an orphan. This is the
way to unset the subclassing parent of an object.public JdapiObject createSubclassedChild(JdapiObject childOwner, java.lang.String childName)
createSubclassedChild
in interface JdapiObject
childOwner
- The object that will own
the newly created subclassed child object.childName
- The name to be given to the newly
created child.public void reattach()
reattach
in interface JdapiObject
public JdapiIterator getOwnedObjects()
getOwnedObjects
in interface JdapiObject
public java.lang.String getClassName()
getClassName
in interface JdapiObject
public java.lang.String getQualifiedName(boolean includeModule)
getQualifiedName
in interface JdapiObject
includeModule
- Include the module namepublic JdapiMetaObject getJdapiMetaObject()
getJdapiMetaObject
in interface JdapiObject
public JdapiIterator getMetaProperties()
The various property type ids and the object-property mapping are defined by the specific implementation in the respective Constants file.
getMetaProperties
in interface JdapiObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |