public interface VirtualInterface
Modifier and Type | Field and Description |
---|---|
static String |
TOOLTIP_TEXT |
Modifier and Type | Method and Description |
---|---|
boolean |
callControl()
"Calls" the control in question.
|
boolean |
deleteAll()
Deletes all lines in a list capable control.
|
boolean |
deleteLine(int line)
Deletes a line in a list capable control.
|
int |
getBackgroundColor()
Gets the old style index background color of an item.
|
String |
getCell(int col,
int line)
Gets a single cell in a list capable control.
|
se.entra.phantom.geditor.NPPColor |
getColor()
Gets the color of an item.
|
int |
getFont()
Gets the font index of an item.
|
int |
getForegroundColor()
Gets the old style index foreground color of an item.
|
int |
getLength()
Gets the control length.
|
String |
getLine(int line)
Sets a line in a list capable control.
|
int |
getLineCount()
Gets the line count for a list capable control.
|
int |
getNextSelection(int line)
Gets the next selected line in a list capable control.
|
Object |
getProperty(String propertyName)
Gets a property of a virtual component.
|
String |
getText()
Gets the text of an item.
|
boolean |
insertLine(String data,
int line)
Inserts a line in a list capable control.
|
int |
isChecked()
Gets the check state of a control (e.g.
|
boolean |
isEnabled()
Gets the enabled state of an item.
|
boolean |
isVisible()
Gets the visibility state of an item.
|
boolean |
selectField()
Performs a visual selection of the field.
|
boolean |
setBackgroundColor(int index)
Sets the background color of an item from old style index.
|
boolean |
setCell(int col,
int line,
String data)
Sets a single cell in a list capable control.
|
boolean |
setChecked(int state)
Sets the check state of a control (e.g.
|
boolean |
setColor(se.entra.phantom.geditor.NPPColor color)
Sets the color of an item.
|
boolean |
setEnabled(boolean state)
Sets the enabled state of an item.
|
boolean |
setFileFromList(PhantomOutputFile pFile)
Insert the contents of a list into a file.
|
boolean |
setFocus()
Sets focus in the panel to this item.
|
boolean |
setFocus(PhantomHostFieldLocation hostFieldLocation)
Sets focus in the panel to this item according
to a host field location.
|
boolean |
setFont(int font)
Sets the font index of an item.
|
boolean |
setForegroundColor(int colorIndex)
Sets the foreground color of an item from old style index.
|
boolean |
setLength(int length)
Sets the control length.
|
boolean |
setLine(String data,
int line)
Sets a line in a list capable control.
|
boolean |
setListFromFile(String fileName)
Sets the contents of a list capable control from a file.
|
boolean |
setProperty(String propertyName,
Object property)
Sets a property of a virtual component.
|
boolean |
setSelection(int line,
boolean select)
Sets a line as selected (or not) in a list capable control.
|
boolean |
setText(String text)
Sets the text of an item.
|
boolean |
setVisible(boolean state)
Sets the visibility state of an item.
|
static final String TOOLTIP_TEXT
boolean setProperty(String propertyName, Object property)
Object getProperty(String propertyName)
boolean setText(String text)
String getText()
boolean setEnabled(boolean state)
boolean isEnabled()
boolean setVisible(boolean state)
boolean isVisible()
boolean setColor(se.entra.phantom.geditor.NPPColor color)
se.entra.phantom.geditor.NPPColor getColor()
boolean setForegroundColor(int colorIndex)
int getForegroundColor()
boolean setBackgroundColor(int index)
int getBackgroundColor()
boolean setFont(int font)
int getFont()
boolean setFocus()
boolean setFocus(PhantomHostFieldLocation hostFieldLocation)
boolean selectField()
int getLength()
boolean setLength(int length)
boolean setChecked(int state)
int isChecked()
int getLineCount()
boolean insertLine(String data, int line)
boolean setLine(String data, int line)
String getLine(int line)
boolean deleteLine(int line)
boolean deleteAll()
boolean setCell(int col, int line, String data)
col
- The column for the cell.line
- The line for the column.data
- The data for the cell.String getCell(int col, int line)
col
- The column for the cell.line
- The line for the column.boolean setSelection(int line, boolean select)
int getNextSelection(int line)
boolean setFileFromList(PhantomOutputFile pFile)
boolean setListFromFile(String fileName) throws IOException
fileName
- the file name.IOException
- for file failures.boolean callControl()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.