public class VirtualCBarBmpButton extends VirtualCBarControl
bar, controlFlags, controlType, hasChanged, label, phantomControl, state, STATE_DISABLE, STATE_ENABLE, STATE_HIDE, STATE_SHOW, subControlType, UPDATE_STATE_ADDCTL, UPDATE_STATE_DELETECTL, UPDATE_STATE_NONE, UPDATE_STATE_REFRESHBAR, UPDATE_STATE_REFRESHCTL, UPDATE_STATE_REFRESHTEXTPROMPT, UPDATE_STATE_REPLACECTL, UPDATE_STATE_SETSTATE, UPDATE_STATE_SETTEXT, UPDATE_STATE_SETTEXTEX, width
Constructor and Description |
---|
VirtualCBarBmpButton(VirtualCBar bar,
PhantomCBarControl phantomControl)
Creates the bar button.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areTextPromptsAlwaysRefreshed()
If the class has a need to refresh the text prompt at all host
changed, it must reply
true to this method call. |
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.
|
void |
issueAction()
The bitmap button has been pushed in the client.
|
void |
refreshTextPrompts()
This method is used to refresh the text prompt.
|
boolean |
setState(int state)
Method that is called when the REXX function SetState
is called
|
boolean |
setText(String t)
Method that is called when the REXX function SetText
is called
|
boolean |
setTextEx(String text)
Method that is called when the REXX function SetTextEx
is called
|
addUpdate, addUpdate, fireUpdate, getLabel, hasChanged, hostScreenChanged, refresh, setChanged
public VirtualCBarBmpButton(VirtualCBar bar, PhantomCBarControl phantomControl)
public void fireCreate(Transaction trans)
fireCreate
in class VirtualCBarControl
public void fireUpdate(Transaction trans)
fireUpdate
in class VirtualCBarControl
public void refreshTextPrompts()
refreshTextPrompts
in class VirtualCBarControl
public boolean areTextPromptsAlwaysRefreshed()
true
to this method call.
Otherwise return false
.areTextPromptsAlwaysRefreshed
in class VirtualCBarControl
public boolean setText(String t)
setText
in class VirtualCBarControl
public boolean setTextEx(String text)
setTextEx
in class VirtualCBarControl
public boolean setState(int state)
setState
in class VirtualCBarControl
public void issueAction()
issueAction
in class VirtualCBarControl
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.