public class VirtualCBusGraph extends VirtualControl
Modifier and Type | Field and Description |
---|---|
static int |
DISPOSE_CHART |
static int |
TICK_LABEL_AXIS |
static int |
TICK_LABEL_HIGH |
static int |
TICK_LABEL_LOW |
static int |
TICK_LABEL_NONE
Tick label types.
|
static int |
TICK_VALUE_CROSS |
static int |
TICK_VALUE_INSIDE |
static int |
TICK_VALUE_NONE
Tick value types.
|
static int |
TICK_VALUE_OUTSIDE |
static int |
UPDATE_CHART
Different update states used at fireUpdate to indicate
the kind of updates for the client.
|
CTRLTYPE_BUTTON, CTRLTYPE_CHECK, CTRLTYPE_COMBO, CTRLTYPE_FRAME, CTRLTYPE_GRAPH, CTRLTYPE_GROUP, CTRLTYPE_INOUT, CTRLTYPE_LIST, CTRLTYPE_MLE, CTRLTYPE_NOTE, CTRLTYPE_OUT, CTRLTYPE_RADIO, CTRLTYPE_RECT, CTRLTYPE_SPIN, CTRLTYPE_SUB, CTRLTYPE_TEXT, CTRLTYPE_TREE, CTRLTYPE_UNKNOWN, CTRLTYPE_USER, CTRLTYPES_COUNT, names
TOOLTIP_TEXT
ACTION_CLOSEWINDOW, ACTION_CONTROL, ACTION_HOSTKEY, ACTION_MENU, ACTION_NONE, ACTION_NOTEBOOKPAGE, ACTION_POPUPMENU, CC_BACKGROUND, CC_BOTH, CC_FOREGROUND, CC_NONE, CLIPBOARD_GET, CLIPBOARD_SET, DATEF_DMY, DATEF_MDY, DATEF_SYSTEM, DATEF_YMD, DDE_ADVISE, DDE_EXECUTE, DDE_INITIATE, DDE_POKE, DDE_REQUEST, DDE_TERMINATE, DDE_UNADVISE, DDE_UPDATE, DDEVAR_DISABLE, DDEVAR_ENABLE, DDEVAR_REQUEST, DDEVAR_SET, DDEVAR_VALIDATE, EFT_AMOUNT, EFT_DATE, EFT_DATEAMOUNT, EFT_NORMAL, EFT_PASSWORD, EVENT_CHAR, EVENT_CHECK, EVENT_CLICK, EVENT_COMMAND, EVENT_DBLCLICK, EVENT_DDECONNECTION, EVENT_DDEDATA, EVENT_DDEERROR, EVENT_DDEEXECUTE, EVENT_DDEINVALIDATE, EVENT_DDEPOKE, EVENT_DDEREQUEST, EVENT_DEFOCUS, EVENT_FOCUS, EVENT_PAGEDOWN, EVENT_PAGEUP, EVENT_SELECT, EVENT_UNKNOWN, EVENT_USERCHANGE, EXTENDEDINFO_IDS_TO_CLIENT, FOCUSTYPE_CLIENTTARGET, FOCUSTYPE_CONTROL, FOCUSTYPE_NONE, ICON_CRITICAL, ICON_INFORMATION, ICON_NOICON, ICON_QUERY, ICON_WARNING, J_AUTO, J_BOTTOM, J_BOTTOMLEFT, J_BOTTOMRIGHT, J_CENTER, J_LEFT, J_RIGHT, J_TOP, J_TOPLEFT, J_TOPRIGHT, MAX_PANELS_PER_SESSION, MAX_SESSIONS, MB_ABORTRETRYIGNORE, MB_CANCEL, MB_ENTER, MB_ENTERCANCEL, MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL, MBID_CANCEL, MBID_DEFAULT, MBID_ENTER, MBID_IGNORE, MBID_NO, MBID_OK, MBID_RETRY, MBID_YES, MS_MOVE, MS_NONE, MS_SIZE, NETPHANTOM_COPYRIGHT, NETPHANTOM_COPYRIGHT2, NETPHANTOM_VERSION, OBJEVENT_CHECK, OBJEVENT_CLICK, OBJEVENT_DBLCLICK, OBJEVENT_DEFOCUS, OBJEVENT_FOCUS, OBJEVENT_SELECT, OBJEVENT_USERCHANGE, PANELCREATE_APPPANEL, PANELCREATE_DANGLINGPANEL, PANELCREATE_DLGFRAME, PANELCREATE_EXTENDEDINFO, PANELCREATE_ICON, PANELCREATE_INDIVIDUALSIZE, PANELCREATE_POPUP, REPLYTYPE_CLIENTEXECUTE, REPLYTYPE_CLIPBOARD, REPLYTYPE_DDE, REPLYTYPE_FFONTLIST, REPLYTYPE_MESSAGEBOX, REPLYTYPE_REPORT, REPLYTYPE_SAVEPROPS, REPLYTYPE_TERMMARK, RPRT_CANCELPRINTJOB, RPRT_CLOSEPRINTJOB, RPRT_CONTPRINTJOB, RPRT_OPENPRINTJOB, RPRT_PRINTJOBCANCLD, RPRT_PRINTJOBCLOSED, RPRT_PRINTJOBCONT, RPRT_PRINTJOBOPENED, RPRT_PRINTJOBSTARTED, RPRT_STARTPRINTJOB, SELMODE_NORMAL, SELMODE_NOTALLOWED, SELMODE_REQUIRED, SELTYPE_MULTIPLE, SELTYPE_SINGLE, SEPARATOR, SEPARATORCHAR, TRANS_APPLICATIONCHANGE, TRANS_CALLOBJECT, TRANS_CANCELEXIT, TRANS_CLEARLOCK, TRANS_CLIENTEXECUTE, TRANS_CLIENTJARS, TRANS_CLIENTTEXTTABLE, TRANS_CLIENTUPDATED, TRANS_CLIENTUPDATEDNOLOCK, TRANS_CLIPBOARD, TRANS_CLIPBOARDCOMPONENT, TRANS_CLOSETERMINALWINDOW, TRANS_CONNECTIONREFUSED, TRANS_COUNTRYINFO, TRANS_CREATEPANEL, TRANS_CREATESESSION, TRANS_DDE, TRANS_DDEEVENT, TRANS_DDEEVENTREPLY, TRANS_DDEVAREVENT, TRANS_DISPLAYHELP, TRANS_DISPLAYTERMINAL, TRANS_DISPLAYTOOLTIPS, TRANS_ENDCONVERSATION, TRANS_EXIT, TRANS_FONTSUBSTITUTION, TRANS_HOSTCOLORTABLE, TRANS_HOSTPRINT, TRANS_HWND, TRANS_INACTIVESESSION, TRANS_INITIATE, TRANS_KEEPALIVE, TRANS_LOCALE, TRANS_LOGEVENT, TRANS_MESSAGEBOX, TRANS_MESSAGEBOXWITHREPLY, TRANS_MODALREPLY, TRANS_MULTTERM, TRANS_PING, TRANS_PRINTCOMPONENT, TRANS_PRINTPANEL, TRANS_PRINTREPORT, TRANS_PRTWINKEY, TRANS_RECONNECT, TRANS_REDIRECTION, TRANS_REMOVEPANELATLEVEL, TRANS_REMOVETERMINAL, TRANS_RENEGOTIATESSL, TRANS_REQUESTHELP, TRANS_RESOURCEURL, TRANS_SELECTSESSION, TRANS_SESSIONACTIVE, TRANS_SESSIONSELECTED, TRANS_SETCOLORS, TRANS_SETFOCUS, TRANS_SETLOCK, TRANS_SETPANELNESTLEVEL, TRANS_SETUPPARAMS, TRANS_SHOWDOCUMENT, TRANS_SOCKET, TRANS_SOUNDALARM, TRANS_STARTUPINFO, TRANS_STOPSESSION, TRANS_TERMINALDATA, TRANS_TERMINALUPDATE, TRANS_TERMINALWINDOW, TRANS_TERMWINTEXT, TRANS_UPDATEAPPLICATION, TRANS_UPDATEPANEL, TRANS_USEREXITPRTKEY, TRANSACTION_VERSION, TS_CLOSE, TS_DATA, TS_ERROR, TS_OPEN, VSIGN_MINUS, VSIGN_NONE, VSIGN_PLUSMINUS, YEARF_6DIG, YEARF_8DIG, YEARF_EXP8
Constructor and Description |
---|
VirtualCBusGraph(VirtualPanel panel,
PhantomCBusGraph data)
The constructor of the control always calls the superclass.
|
Modifier and Type | Method and Description |
---|---|
void |
clientUpdated(Transaction trans)
Business graphics does not have client updates.
|
String |
disposeChart(boolean sendToClient)
Rexx function for removing a diagram already created using the newChart function.
|
void |
fireCreate(Transaction trans)
This method is used to fire a create message to the client by
a virtual class.
|
void |
fireUpdate(Transaction trans)
This method is used to fire an update message to the client by
a virtual class.
|
VirtualCBusGraphCategories |
getCategoriesObject()
Returns the categories object.
|
VirtualCBusGraphLegend |
getLegendObject()
Returns the legend object.
|
VirtualCBusGraphType |
getTypeObject()
Returns the BG type object.
|
VirtualCBusGraphValues |
getValuesObject()
Returns the values object.
|
void |
issueAction(Transaction trans)
This method is invoked by the server kernel when an event has occured
on the client side (such as a push button has been pressed).
|
String |
modifyChart(int chartType)
Rexx function for modifying an already existing chart.
|
String |
newChart(int chartType)
Rexx function for creating a new chart.
|
String |
panChart(String function,
String data)
The different kinds of REXX update functions:
|
void |
refresh()
This method is used to refresh all virtual controls when e.g.
|
void |
setBackColor(int color)
Sets the background color to a new value.
|
void |
setChanged()
Overrides the setChanged method not to cause
changes is drawing is off.
|
void |
setForeColor(int color)
Sets the foreground color to a new value.
|
void |
setPattern(int pattern)
Sets the pattern to a new value.
|
appendCreateTransaction, appendFieldCheckTransaction, appendFontTransaction, appendUpdateTransaction, areTextPromptsAlwaysRefreshed, callControl, callObject, callObject, deleteAll, deleteLine, dispose, getBackgroundColor, getBasicData, getCell, getClientSession, getColor, getComponentLockObject, getControlConnectedToHost, getControlID, getControlIDHostFieldID, getControlType, getCurrentHostSession, getExtraUpdateFlags, getFont, getForegroundColor, getHostField, getID, getIndex, getLength, getLine, getLineCount, getNextSelection, getObject, getPanel, getPreviousConnectedControl, getProperty, getSelectableControl, getText, getTextData, getTooltipText, getVirtualSessionManager, hasChanged, hostScreenChanged, insertLine, isChecked, isConnectToNextControlPropertySet, isDirectChecked, isEnabled, isNewGroup, issueControlAction, isTabSkipped, isVisible, parseRuntimeFont, refreshTextPrompts, refreshTextPrompts, requestFocus, selectField, setBackgroundColor, setCell, setChecked, setColor, setEnabled, setFileFromList, setFocus, setFocus, setFont, setForegroundColor, setLength, setLine, setListFromFile, setProperty, setSelection, setText, setTooltipText, setupControlIDObject, setVirtualText, setVisible, textFileChanged
public static final int TICK_LABEL_NONE
public static final int TICK_LABEL_HIGH
public static final int TICK_LABEL_LOW
public static final int TICK_LABEL_AXIS
public static final int TICK_VALUE_NONE
public static final int TICK_VALUE_INSIDE
public static final int TICK_VALUE_OUTSIDE
public static final int TICK_VALUE_CROSS
public static final int UPDATE_CHART
public static final int DISPOSE_CHART
public VirtualCBusGraph(VirtualPanel panel, PhantomCBusGraph data)
public void fireCreate(Transaction trans)
fireCreate
in interface VirtualClientMessages
fireCreate
in class VirtualControl
public void setChanged()
setChanged
in interface VirtualChangeEvent
setChanged
in class VirtualControl
public void fireUpdate(Transaction trans)
fireUpdate
in interface VirtualClientMessages
fireUpdate
in class VirtualControl
public void refresh()
refresh
in interface VirtualClientMessages
refresh
in class VirtualControl
public void issueAction(Transaction trans)
issueAction
in class VirtualControl
trans
- A transaction that is already being processed.public VirtualCBusGraphType getTypeObject()
public String panChart(String function, String data)
Function Argument list - DisposeChart "DisposeChart" - NewChart "NewChart,type options" - ModifyChart "ModifyChart,type options" - Print "Print "[jobname]" - PrintToMeta "PrintToMeta [filename]" (OS/2 only) - QueryCategories "QueryCategories [separator]" - QueryData "QueryData:series [separator]" - QueryDraw "QueryDraw" - QueryError "QueryError" - QueryPrintStat "QueryPrintStat:jobno" (OS/2 only) - QuerySeparators "QuerySeparators" - Resetdata "ResetData" - ResetFont "ResetFont:texttype" - SetArea "SetArea:series fore:color back:color pattern:pattern" - SetAxis "SetAxis:axis majtick:major mintick:minor labels:label color:color type:linetype" - SetCategories "SetCategories cat1 cat2...catn" - SetCatScale "SetCatScale marks:no_marks labels:no_labels cross:crosses [options]" - SetData "SetData:series dataseries" - SetDraw "SetDraw bool" - SetFont "SetFont:texttype typeface pointsize color attribute" - SetLegend "SetLegend bool position border" - SetLine "SetLine:series color:color type:linetype marker:symbol fore:color back:color" - SetMajorGrid "SetMajorGrid:axis bool color:color type:linetype" - SetSeparators "SetSeparators separators" - SetText "SetText:texttype text" - SetThreshold "SetThreshold bool type:linetype color:linecolor width:linewidth at_value" - SetValScale "SetValScale min:minval max:maxval minfact:minstep majfact:maxstep cross:crosses [options]" - xSetFont "xSetFont:texttype typeface pointsize color attribute"
public String disposeChart(boolean sendToClient)
sendToClient
- boolean false if this method is called from the newOrModifyChart
REXX method, true if called from the disposeChart REXX method.public String newChart(int chartType)
chartType
- the requested chart type.public String modifyChart(int chartType)
chartType
- the requested chart type.public VirtualCBusGraphLegend getLegendObject()
public VirtualCBusGraphValues getValuesObject()
public VirtualCBusGraphCategories getCategoriesObject()
public void setBackColor(int color)
public void setForeColor(int color)
public void setPattern(int pattern)
public void clientUpdated(Transaction trans)
clientUpdated
in class VirtualControl
trans
- A transaction that is already being processed.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.