|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--oracle.ewt.lwAWT.LWComponent | +--oracle.ewt.lwAWT.LWContainer | +--oracle.forms.ui.VBean | +--oracle.forms.demos.bigraph.FormsGraph
FormsGraph is a charting client for Oracle9i Forms, including the BI Bean Graph component to Forms. This sample does not expose all of the functionality provided by the BI Graph Bean, but as much as was possible with Oracle Graphics, the previous charting solution used within Forms.
FormsGraph can be used in multiple instances, each running in a Bean Container managed by Forms. Mouse Click events are passed back to Forms firing the when-custom-item-event trigger so that interactive charts as well as drill down and master/detail relationships are within the control of the Forms application developer.
version 1.0 Review
Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
Field Summary | |
int |
allData
|
int |
dataColumn
|
int |
dataLabel
|
int |
dataPrimKey
|
int |
dataValue
|
protected static oracle.forms.properties.ID |
eGetDelimiter
Property registered to get information about the delimiter |
static oracle.forms.properties.ID |
eGetSeriesCount
Event registered to inform about the number of series (columns) shown in a graph. |
static oracle.forms.properties.ID |
eGraphAction
Custom Item Event raised by mouse click on the graph. |
int |
noData
|
protected static oracle.forms.properties.ID |
pAddDataToGraph
Show the data in the Graph clearing out existing data |
protected static oracle.forms.properties.ID |
pAddRowData
Forms property used to to add a data row in the Graph. |
protected static oracle.forms.properties.ID |
pAlignTitleText
Property registered to determine the alignment for the title, subtitle and footnote text. |
protected static oracle.forms.properties.ID |
pClearGraph
Forms property registered to reset the Forms Graph. |
protected static oracle.forms.properties.ID |
pDebug
Forms registered property to enable Debug message (TRUE/FALSE). |
protected static oracle.forms.properties.ID |
pDelimiterInfo
property registered to obtain the delimiter sign |
protected static oracle.forms.properties.ID |
pEnableTooltips
Property registered to disable/enable tooltips. |
protected static oracle.forms.properties.ID |
pExplodePieSLice
Forms registered property to explode a specific slice, for example '3,30' to explode the fourth slice by 30 points. |
protected static oracle.forms.properties.ID |
pFramePos
Forms property registered to define the xy-position of the separate frame. |
protected static oracle.forms.properties.ID |
pGetDelimiter
property registered to retrieve the current delimiter String. The response is a Forms custom event firing, passing the new delimiter string as an argument |
protected static oracle.forms.properties.ID |
pGraph
Forms property registered to make the Graph display inside of the Forms Bean Container. |
static oracle.forms.properties.ID |
pGraphInfo
Property registered to obtain information about graph component that the user clicked on |
protected static oracle.forms.properties.ID |
pGraphInFrame
Forms property registered to make the Graph Display show in a separate frame. |
protected static oracle.forms.properties.ID |
pGraphType
Forms property registered to define the type of the Graph displayed. |
protected static oracle.forms.properties.ID |
pHideFrame
Forms property registered to hide the external frame Used with SET_CUSTOM_PROPERTY() from the Form |
protected static oracle.forms.properties.ID |
pHideGraph
Property registered to hide the graph. |
protected static oracle.forms.properties.ID |
pModifyData
property registered to update a column or slice in a graph. |
protected static oracle.forms.properties.ID |
pMouseAction
property registered to enable/disable mouse action [true/false]. |
protected static oracle.forms.properties.ID |
pPositionLegendArea
Property registered to position the legend area in a screen. |
protected static oracle.forms.properties.ID |
pRemoveData
property registered to remove a data row currently displayed in the graph. If the graph contains a primary key then this also gets deleted from the data store. |
protected static oracle.forms.properties.ID |
pRemoveFooter
properties registered to hide the footer if set |
protected static oracle.forms.properties.ID |
pRemoveSubTitle
properties registered to hide the sub_titles if set |
protected static oracle.forms.properties.ID |
pRemoveTitle
properties registered to hide the graph title if set |
protected static oracle.forms.properties.ID |
pRemoveX_Title
properties registered to hide the x axis label if set |
protected static oracle.forms.properties.ID |
pRemoveY_Title
properties registered to hide the y axis label title if set |
protected static oracle.forms.properties.ID |
pReturnValues
property registered to define return values of a mouseclick on a graph. Allowed arguments are "ALL", "ROWLABEL", "COLUMNLABEL","VALUE","PRIMARY_KEY". |
protected static oracle.forms.properties.ID |
pScrollBar
Property registered to display a scrollbar on the Graph if needed. |
protected static oracle.forms.properties.ID |
pSeriesCount
Used with SET_CUSTOM_PROPERTY() from the Form, retrieves the number of columns in a graph Column means the group of data displayed: Columns e.g. |
protected static oracle.forms.properties.ID |
pSetBackgroundColor
Forms property registered to set the graph background color. |
protected static oracle.forms.properties.ID |
pSetBaseline
Property registered to set the graph's baseline to a value other than 0. Use this property if you want to show the variance a graph column has from a specific reference point. |
protected static oracle.forms.properties.ID |
pSetDebugPrefix
property registered to set a prefix string to the debug message produced by the bean. This is useful if running multiple instances of this bean in one Forms application. In this case it is useful to know which bean wrotes the output when looking in the Java console |
protected static oracle.forms.properties.ID |
pSetDelimiter
Forms property registered to set the delimiting character for data passed as string. The default delimiter is a comma but there are situations where it must be changed, like when setting the title, which includes the color Used with SET_CUSTOM_PROPERTY() from the Form |
protected static oracle.forms.properties.ID |
pSetDepth
property registered to define the depth of a graph and the orientation of this depth. |
protected static oracle.forms.properties.ID |
pSetFooterBackgroundColor
property registered to set the background color of the subtitle footer text field. |
protected static oracle.forms.properties.ID |
pSetFootnote
property registered to set the graph Footer title, font, font style, font size and color. |
protected static oracle.forms.properties.ID |
pSetFrameWidthAndHeight
property registered to set the width and hight for the external Graph frame. |
protected static oracle.forms.properties.ID |
pSetLegendBorder
property registered to set the border and background color of the legend shown in a graph. |
protected static oracle.forms.properties.ID |
pSetLineGraphMarkers
property registered to show hide value markers in Line graphs. Use 'true' to switch this feature on and 'false' to switch it off. |
protected static oracle.forms.properties.ID |
pSetNoDataFoundMessage
Property registered to set the message shown when no data is provided for the graph to render. |
protected static oracle.forms.properties.ID |
pSetPlotAreaColor
Property registered to set the color of the Plot Area. |
protected static oracle.forms.properties.ID |
pSetScaledLogarithmic
property registered to logarithmic scale the Y and X Axis. Pass the axis identifier, true or false to symbolize whether logarithmic scale is enabled and the base. |
protected static oracle.forms.properties.ID |
pSetSubTitle
property registered to set the graph Sub title, font, font style, font size and color. |
protected static oracle.forms.properties.ID |
pSetSubTitleBackgroundColor
property registered to set the background color of the subtitle title text field. |
protected static oracle.forms.properties.ID |
pSetTitle
property registered to set the graph title, font, font style, font size and color, expecting the following string format title string,color,fontstyle,font size,fontname. |
protected static oracle.forms.properties.ID |
pSetTitleBackgroundColor
property registered to set the background color of the title text field. |
protected static oracle.forms.properties.ID |
pSetXLabel
property registered to set the x-Axis title |
protected static oracle.forms.properties.ID |
pSetYLabel
property registered to set the y-Axis title |
protected static oracle.forms.properties.ID |
pShowColumnsAsRows
Forms property registered to show columns as rows and rows a columns in the Graph. |
protected static oracle.forms.properties.ID |
pShowFrame
Forms property registered to show the external frame Graph. |
protected static oracle.forms.properties.ID |
pShowGrid
Property registered to show/hide the grid in a graph. The default value is set to true, use false to hide the graph from showing |
protected static oracle.forms.properties.ID |
pShowLabels
Forms property registered to show/hide the labels shown on the x and y axis. |
protected static oracle.forms.properties.ID |
pShowLegend
Forms property registered to show/hide the graph legend. |
protected int |
returnValueSelection
|
protected boolean |
showGraphAsSeries
|
Fields inherited from class oracle.forms.ui.VBean |
BEAN_NAME, DEBUG_MODE, DELIVER_EVENT, FOCUS_EVENT, KEY_EVENT |
Fields inherited from class oracle.ewt.lwAWT.LWComponent |
DEFAULT_BORDERPAINTER, DEFAULT_COLOR, DEFAULT_FONT, DEFAULT_PAINTER, MNEMONIC_CHAR_NONE, MNEMONIC_INDEX_NONE |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface oracle.forms.ui.IView |
DEFAULT_COLOR |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
FormsGraph()
|
Method Summary | |
protected void |
DebugMessage(java.lang.String dm)
|
protected void |
dispatchMouseAction(java.lang.String msg)
|
java.lang.String |
getDelimiter()
getDelimiter returns the actual string used to separate values passed in a string. |
java.lang.Object[] |
getTitleFromString(java.lang.String in)
public Object[] getTitleFromString(String in) takes a delimited string and creates a title string, a Font value and a Color value of it. |
void |
init(oracle.forms.handler.IHandler handler)
Implementation of IView interface. |
void |
setDelimiter(java.lang.String delm)
|
boolean |
setProperty(oracle.forms.properties.ID _ID,
java.lang.Object _object)
Implementation of IView interface which sets a requested property to a given value |
Methods inherited from class oracle.forms.ui.VBean |
add, addCustomListener, addListener, addNotify, destroy, dispatchCustomEvent, getBean, getHandler, getProperty, initializeBean, remove, removeAll, removeCustomListener, removeListener, repaint |
Methods inherited from class oracle.ewt.lwAWT.LWContainer |
getBorderPainter, setBorderPainter |
Methods inherited from class oracle.ewt.lwAWT.LWComponent |
accessAccessibleContext, addAnyEventListener, addImpl, addPostKeyListener, addPreKeyListener, clipToParents, contains, convertInnerToOuterSize, convertInteriorToOuter, convertOuterToInterior, createAccessibleContext, disable, doLayout, enable, eventMatchesMnemonic, eventMatchesMnemonic, freezeRepaints, getAccessibleContext, getActualAlignment, getActualReadingDirection, getAlignment, getBackground, getBaseClassName, getBorderContext, getBorderInsets, getClientProperty, getColorScheme, getDefaultHelpProvider, getDefaultName, getDocumentSize, getDoubleBuffer, getEWTDropTarget, getFill, getFocusedComponent, getFont, getForeground, getGraphics, getHelpBook, getHelpProvider, getHelpTopic, getInnerBounds, getInnerHeight, getInnerOrigin, getInnerSize, getInnerWidth, getInsets, getInteriorAlignmentX, getInteriorAlignmentY, getInvalidateFlags, getLookAndFeel, getMnemonicChar, getMnemonicIndex, getMnemonicString, getName, getPageBounds, getPaintContext, getPaintData, getPaintState, getPrintPaintContext, getReadingDirection, getRepaintFlags, getToolTipValue, getUI, getUIClassID, getUIDefaults, hasFocus, hasGlobalFocus, hasMnemonicModifier, hasWindowFocus, hide, imageUpdate, insets, interiorContains, invalidate, invalidateAndRepaintIfNecessary, isActive, isBorderTransparent, isChildClipped, isClippedBySibling, isFocusTraversable, isInteriorTransparent, isLocaleDefaulted, isPaintPropagationRequired, isReadingDirectionDefaulted, isTransparent, paint, paintAll, paintImmediate, paintImmediate, paintImmediateInterior, paintImmediateInterior, paintImmediateUnclipped, paintInterior, paintOverChildren, paramString, pointInInterior, pointIsInChild, postProcessKey, print, printAll, printPage, processEvent, processEventImpl, processFocusEvent, processMouseEvent, putClientProperty, redispatchEvent, remove, removeAnyEventListener, removeClientProperty, removeNotify, removePostKeyListener, removePreKeyListener, repaint, repaintInterior, repaintInterior, reshape, setAlignment, setBackground, setColorScheme, setDefaultHelpProvider, setEnabled, setEWTDropTarget, setFill, setFont, setForeground, setHelpBook, setHelpProvider, setHelpTopic, setLocale, setLookAndFeel, setMnemonicChar, setMnemonicIndex, setReadingDirection, setToolTipValue, setToolTipValue, setUI, setVisible, shiftFrozenDamage, showHelp, unfreezeRepaints, update, updateAlignment, updateLocale, updateReadingDirection, updateUI, updateUI, updateUI |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, remove, removeContainerListener, setLayout, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFontMetrics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, inside, isDisplayable, isDoubleBuffered, isEnabled, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.forms.ui.IView |
contains, paint |
Methods inherited from interface oracle.ewt.lwAWT.VirtualComponent |
getBounds, getSize |
Field Detail |
protected boolean showGraphAsSeries
public final int allData
public final int dataLabel
public final int dataColumn
public final int dataValue
public final int dataPrimKey
public final int noData
protected int returnValueSelection
protected static final oracle.forms.properties.ID pAddRowData
SET_DELIMITER
in a call to SET_CUSTOM_PROPERTY(). Used with SET_CUSTOM_PROPERTY()
from the Form.
Syntax: Forms Example:
set_custom_property('BeanArea',1,'ADD_ROWDATA','SAL,SMTITH,1200);
or, if a primarey key needs to be passed
set_custom_property('BeanArea',1,'ADD_ROWDATA','SAL,SMTITH,1200,7765);
protected static final oracle.forms.properties.ID pAddDataToGraph
Forms Example:
set_custom_property('BeanArea',1,'ADD_DATA_TO_GRAPH','');
protected static final oracle.forms.properties.ID pAlignTitleText
Forms Example:
set_custom_property('BeanArea',1,'ALIGN_TITLE_TEXT','title=CENTER,subtitle=LEFT');
protected static final oracle.forms.properties.ID pClearGraph
Forms Example:
set_custom_property('BeanArea',1,'CLEAR_GRAPH','');
protected static final oracle.forms.properties.ID pDebug
Forms Example:
set_custom_property('BeanArea',1,'DEBUG','TRUE');
protected static final oracle.forms.properties.ID pEnableTooltips
Forms Example:
set_custom_property('BeanArea',1,'ENABLE_TOOLTIPS','ALL');
protected static final oracle.forms.properties.ID pExplodePieSLice
Forms Example:
set_custom_property('BeanArea',1,'EXPLODE_PIESLICE','2,60');
protected static final oracle.forms.properties.ID pFramePos
Forms Example:
set_custom_property('BeanArea',1,'FRAME_POS','100,200');
protected static final oracle.forms.properties.ID pGraphType
Forms Example:
set_custom_property('BeanArea',1,'GRAPHTYPE','PIE_BAR_GRAPH');
protected static final oracle.forms.properties.ID pGraphInFrame
Forms Example:
set_custom_property('BeanArea',1,'SHOW_GRAPH_IN_FRAME','');
protected static final oracle.forms.properties.ID pGraph
Forms Example:
set_custom_property('BeanArea',1,'SHOW_GRAPH','');
protected static final oracle.forms.properties.ID pHideFrame
Forms Example:
set_custom_property('BeanArea',1,'HIDE_FRAME','');
protected static final oracle.forms.properties.ID pHideGraph
Forms Example:
set_custom_property('BeanArea',1,'HIDE_GRAPH','');
protected static final oracle.forms.properties.ID pMouseAction
Forms Example:
set_custom_property('BeanArea',1,'MOUSEACTION','false');
protected static final oracle.forms.properties.ID pModifyData
Forms Example:
set_custom_property('BeanArea',1,'MODIFY_ROW_DATA','ColumnName,RowName,OldValue,NewValue');
protected static final oracle.forms.properties.ID pPositionLegendArea
Forms Example:
set_custom_property('BeanArea',1,'POSITION_LEGEND','LEFT');
protected static final oracle.forms.properties.ID pSetBackgroundColor
Forms Example:
set_custom_property('BeanArea',1,'SET_BACKGROUND','120,234,123');
protected static final oracle.forms.properties.ID pSetDelimiter
Forms Example:
set_custom_property('BeanArea',1,'SET_DELIMITER','#');
protected static final oracle.forms.properties.ID pSetLineGraphMarkers
Forms Example:
set_custom_property('BeanArea',1,'SET_LINEGRAPH_MARKER','true');
protected static final oracle.forms.properties.ID pSetScaledLogarithmic
Forms Example:
set_custom_property('BeanArea',1,'SET_SCALED_LOGARITHMIC','Y,true,2');
or
set_custom_property('BeanArea',1,'SET_SCALED_LOGARITHMIC','X,true');
In above example the Y axis is defined as scaled logarithmic with a base of 2. The base is provided as a double value. Note that there is always only one axis that shows the value of the graph. The ability to set the X-Axis to a logarithmic scale is for all horizontal graphs, while setting logarithmic scale to the Y axis is for all vertical graphs
protected static final oracle.forms.properties.ID pSetBaseline
Forms Example:
set_custom_property('BeanArea',1,'SET_GRAPH_BASELINE','2000');
to reset
set_custom_property('BeanArea',1,'SET_GRAPH_BASELINE','0');
protected static final oracle.forms.properties.ID pGetDelimiter
Forms Example:
set_custom_property('BeanArea',1,'GET_DELIMITER','');
protected static final oracle.forms.properties.ID pShowGrid
Forms Example:
set_custom_property('BeanArea',1,'SHOW_GRID','false');
protected static final oracle.forms.properties.ID pRemoveData
Forms Example:
set_custom_property('BeanArea',1,'REMOVE_DATA','ColumnName,RowName,value');
protected static final oracle.forms.properties.ID pRemoveTitle
Forms Example:
set_custom_property('BeanArea',1,'HIDE_TITLE','');
protected static final oracle.forms.properties.ID pRemoveSubTitle
Forms Example:
set_custom_property('BeanArea',1,'HIDE_SUBTITLE','');
protected static final oracle.forms.properties.ID pRemoveFooter
Forms Example:
set_custom_property('BeanArea',1,'HIDE_FOOTER','');
protected static final oracle.forms.properties.ID pRemoveX_Title
Forms Example:
set_custom_property('BeanArea',1,'HIDE_X_TITLE','');
protected static final oracle.forms.properties.ID pRemoveY_Title
Forms Example:
set_custom_property('BeanArea',1,'HIDE_Y_TITLE','');
protected static final oracle.forms.properties.ID pReturnValues
Forms Example:
--Forms example for a master/detail Graph. Code added to the WHEN-CUSTOM-EVENT Trigger
-- on the PJC.MASTERGRAPH
set_custom_property('BeanArea',1,'RETURN_VALUES_ON_CLICK','ALL');
to retrieve the result in Forms:
eventName varchar2(30) := :system.custom_item_event; tempString varchar2(100); eventValues ParamList; eventValueType number; BEGIN IF (eventName='GRAPH_ACTION') THEN eventValues := get_parameter_list(:system.custom_item_event_parameters); get_parameter_attr(eventValues,'GRAPH_INFO',eventValueType, tempString); FORMSGRAPHSAMPLE.clearData('PJC.DETAILGRAPH'); FORMSGRAPHSAMPLE.populateDetailGraphData('PJC.DETAILGRAPH',tempString,','); ELSE null; END IF; END;
DECLARE
protected static final oracle.forms.properties.ID pScrollBar
Forms Example:
set_custom_property('BeanArea',1,'SCROLLBAR','true');
protected static final oracle.forms.properties.ID pSetDepth
Forms Example:
set_custom_property('BeanArea',1,'SET_DEPTH','30,75');
protected static final oracle.forms.properties.ID pSetDebugPrefix
Forms Example:
set_custom_property('BeanArea',1,'SET_DEBUG_PREFIX','Bean1');
protected static final oracle.forms.properties.ID pSetFrameWidthAndHeight
Forms Example:
set_custom_property('BeanArea',1,'SET_FRAME_HEIGHT_WIDTH','200,300');
protected static final oracle.forms.properties.ID pSetTitle
Forms Example:
BEGIN -- the color is defined with comma separated rgb values. Thus the default delimiter -- must be changed temporarily. Alos set the font type to bold and italic (bi) SET_CUSTOM_PROPERTY('PJC.SIMPLEGRAPH',1,'SET_DELIMITER','#'); SET_CUSTOM_PROPERTY('PJC.SIMPLEGRAPH',1,'SET_TITLE','Hello World#120,234,120#bi#12'); SET_CUSTOM_PROPERTY('PJC.SIMPLEGRAPH',1,'SET_DELIMITER',','); END;
protected static final oracle.forms.properties.ID pSetNoDataFoundMessage
Forms Example:
set_custom_property('BeanArea',1,'SET_NO_DATA_FOUND','Sorry - we are out of data today');
protected static final oracle.forms.properties.ID pSetLegendBorder
Forms Example:
set_custom_property('BeanArea',1,'SET_LEGEND_BORDER','blue,yellow');
protected static final oracle.forms.properties.ID pSeriesCount
Forms Example:
set_custom_property('BeanArea',1,'COLUMNCOUNT','');
In a when-custom-item-event trigger
BEGIN IF (eventName='RETURNED_COLUMN_NUMBER') THEN eventValues := get_parameter_list(:system.custom_item_event_parameters); get_parameter_attr(eventValues,'GRAPH_INFO',eventValueType, tempString); ... END;
DECLARE
eventName varchar2(30) := :system.custom_item_event;
tempString varchar2(100);
protected static final oracle.forms.properties.ID pSetSubTitle
"title string,color,font style,font size,font"
For example to set a Subtitle to "Hello World", the Font to TimesNewRoman, the font style to bold [b] and italic [i] and the color to red the string shows:
'Hello World,red,bi,10,TimesNewRoman'The color can be specified as color name or as a sRGB value in a range from (0..255). Values can be omitted from right to left. Passing color values as RGB values may require switching the default delimiter as the comma must be used to set RGB values
Forms Example:
set_custom_property('BeanArea',1,'SET_SUBTITLE','Hello World,red,bi,10,TimesNewRoman');
or
set_custom_property('BeanArea',1,'SET_DELIMITER','#');
set_custom_property('BeanArea',1,'SET_SUBTITLE','Hello World#120,234,120#bi#10#TimesNewRoman');
set_custom_property('BeanArea',1,'SET_DELIMITER',',');
protected static final oracle.forms.properties.ID pSetFootnote
"title string,color,font style,font size,font"
For example to set a Subtitle to "Hello World", the Font to TimesNewRoman, the font style to bold [b] and italic [i] and the color to red the string shows:
'Hello World,red,bi,10,TimesNewRoman'The color can be specified as color name or as a sRGB value in a range from (0..255). Values can be omitted from right to left. Passing color values as RGB values may require switching the default delimiter as the comma must be used to set RGB values
Forms Example:
set_custom_property('BeanArea',1,'SET_FOOTER','Hello World,red,bi,10,TimesNewRoman');
or
set_custom_property('BeanArea',1,'SET_DELIMITER','#');
set_custom_property('BeanArea',1,'SET_FOOTER','Hello World#120,234,120#bi#10#TimesNewRoman');
set_custom_property('BeanArea',1,'SET_DELIMITER',',');
protected static final oracle.forms.properties.ID pSetPlotAreaColor
Forms Example:
set_custom_property('BeanArea',1,'SET_PLOT_AREA_COLOR','255,255,255');
protected static final oracle.forms.properties.ID pSetTitleBackgroundColor
Forms Example:
set_custom_property('BeanArea',1,'SET_TITLE_BACKGROUND','255,255,255');
protected static final oracle.forms.properties.ID pSetSubTitleBackgroundColor
Forms Example:
set_custom_property('BeanArea',1,'SET_SUBTITLE_BACKGROUND','255,255,255');
protected static final oracle.forms.properties.ID pSetFooterBackgroundColor
Forms Example:
set_custom_property('BeanArea',1,'SET_FOOTER_BACKGROUND','255,255,255');
protected static final oracle.forms.properties.ID pSetXLabel
Forms Example:
set_custom_property('BeanArea',1,'SET_X_LABEL','Hello World X');
protected static final oracle.forms.properties.ID pSetYLabel
Forms Example:
set_custom_property('BeanArea',1,'SET_Y_LABEL','Hello World Y');
protected static final oracle.forms.properties.ID pShowColumnsAsRows
Forms Example:
set_custom_property('BeanArea',1,'SHOW_COLUMNS_AS_ROWS','true');
protected static final oracle.forms.properties.ID pShowFrame
Forms Example:
set_custom_property('BeanArea',1,'SHOW_FRAME','');
protected static final oracle.forms.properties.ID pShowLabels
Forms Example:
set_custom_property('BeanArea',1,'SHOW_LABELS','x=false,y=true');
protected static final oracle.forms.properties.ID pShowLegend
Forms Example:
set_custom_property('BeanArea',1,'SHOW_LEGEND','true');
public static final oracle.forms.properties.ID eGetSeriesCount
Forms Example:
IF (eventName='RETURNED_COLUMN_NUMBER') THEN eventValues := get_parameter_list(:system.custom_item_event_parameters); get_parameter_attr(eventValues,'GRAPH_INFO',eventValueType, tempString); ...
...
public static final oracle.forms.properties.ID eGraphAction
Forms Example:
...
IF (eventName='GRAPH_ACTION') THEN
eventValues := get_parameter_list(:system.custom_item_event_parameters);
get_parameter_attr(eventValues,'GRAPH_INFO',eventValueType, tempString);
...
public static final oracle.forms.properties.ID pGraphInfo
protected static final oracle.forms.properties.ID eGetDelimiter
protected static final oracle.forms.properties.ID pDelimiterInfo
Constructor Detail |
public FormsGraph()
Method Detail |
public void init(oracle.forms.handler.IHandler handler)
init
in class oracle.forms.ui.VBean
IView
public boolean setProperty(oracle.forms.properties.ID _ID, java.lang.Object _object)
setProperty
in class oracle.forms.ui.VBean
_ID
- property to be set._object
- value of the property id.IView
protected void DebugMessage(java.lang.String dm)
protected void dispatchMouseAction(java.lang.String msg)
public void setDelimiter(java.lang.String delm)
public java.lang.String getDelimiter()
public java.lang.Object[] getTitleFromString(java.lang.String in)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |