API Documentation > Interfaces > Interface OptionMenu
Interface OptionMenu

package com.ptc.uifc.uifcOptionMenu;

public interface
OptionMenu
extends
com.ptc.uifc.uifcSelection.Selection


Description
Methods Inherited from Interface com.ptc.uifc.uifcComponent.Component :
Methods Inherited from Interface com.ptc.uifc.uifcSelection.Selection :
Method Summary
void
boolean
boolean
boolean
boolean
void
void
CreateTimer (OptionMenuTimer timer, String timerName, boolean writeInTrail)
void
void
void
void
void
boolean
boolean
boolean
boolean
boolean
int
int
String
int
String
double
int
String
String
int
int
int
int
GetLineLength (int line)
double
int
int
double
int
int
String
String
String
String
int
String
int
int
boolean
boolean
void
InputBackspaceKeys (int count)
void
InputDeleteKeys (int count)
void
InsertGroup (OptionMenuGroup optionmenugroup, ItemPositionData item_pos_data)
void
InsertItem (OptionMenuItem optionmenuitem, ItemPositionData item_pos_data)
void
InsertItems (OptionMenuItems optionmenuitems, ItemPositionData posData)
int
void
boolean
boolean
boolean
boolean
boolean
void
MoveItemsByIndex (int item, intseq items)
void
MoveItemsByName (String name, stringseq names)
void
void
void
void
void
ReplaceSelectionWithText (int start, int end, String text)
void
void
SetAlwaysShowValueSign (boolean flag)
void
void
void
SetAutoCompleteReplace (boolean flag)
void
SetAutoOpen (boolean flag)
void
void
SetCanRedraw (boolean flag)
void
SetCanResizeWhenNeeded (boolean flag)
void
SetCanTruncateText (boolean flag)
void
SetCaretPosition (int position)
void
SetCaretVisible (boolean flag)
void
SetComboBox (boolean flag)
void
SetDefaultHelpText (String value)
void
SetDigits (int value)
void
SetDoubleFormat (String value)
void
SetDoubleValue (double value)
void
void
SetDropDownHeight (int value)
void
void
void
void
void
void
void
void
void
void
void
SetHasBorder (boolean flag)
void
SetHasTextChanged (boolean flag)
void
SetImage (String value)
void
SetImageHeight (int value)
void
SetImageWidth (int value)
void
SetIntegerValue (int value)
void
void
void
void
void
void
void
void
SetMaximumDoubleValue (double value)
void
void
SetMaximumWidth (int value)
void
SetMinimumDoubleValue (double value)
void
void
SetMinimumWidth (int value)
void
SetOpenOnMnemonic (boolean flag)
void
SetPrompt (String value)
void
void
void
void
SetSelectionVisible (boolean flag)
void
SetSizeByContents (boolean flag)
void
SetStringValue (String value)
void
void
SetTextGravity (int value)
void
SetTextValue (String value)
void
void
void
SetWidth (int value)
void
SetWidthFixed (boolean flag)
void
StartTimer (String timerName, int duration)
void
StopTimer (String timerName)
void
Method Detail
InsertItem
void
InsertItem
(OptionMenuItem optionmenuitem, ItemPositionData item_pos_data)
Parameters:
optionmenuitem
item_pos_data
Returns:
GetFrameOrigin
GetFrameOrigin
()
Returns:
DeleteGroupsByName
void
DeleteGroupsByName
(stringseq names)
Parameters:
names
Returns:
GetCaretPosition
int
GetCaretPosition
()
Returns:
OpenPopup
void
OpenPopup
()
Returns:
InputBackspaceKeys
void
InputBackspaceKeys
(int count)
Parameters:
count
Returns:
ReplaceSelectionWithText
void
ReplaceSelectionWithText
(int start, int end, String text)
Parameters:
start
end
text
Returns:
InsertTextIntoSelection
void
InsertTextIntoSelection
(String text)
Parameters:
text
Returns:
GetLineLength
int
GetLineLength
(int line)
Parameters:
line
Returns:
MoveItemsByName
void
MoveItemsByName
(String name, stringseq names)
Parameters:
name
names
Returns:
SelectAll
void
SelectAll
()
Returns:
InsertPopupMenu
int
InsertPopupMenu
(Component component)
Parameters:
component
Returns:
UndoLastChange
void
UndoLastChange
()
Returns:
InsertGroup
void
InsertGroup
(OptionMenuGroup optionmenugroup, ItemPositionData item_pos_data)
Parameters:
optionmenugroup
item_pos_data
Returns:
MoveItemsByIndex
void
MoveItemsByIndex
(int item, intseq items)
Parameters:
item
items
Returns:
SetSelectedRange
void
SetSelectedRange
(Point value)
Parameters:
value
Returns:
PasteClipboardToSelection
void
PasteClipboardToSelection
()
Returns:
GetFrameSize
GetFrameSize
()
Returns:
DeletePopupMenu
void
DeletePopupMenu
()
Returns:
GetScreenOrigin
GetScreenOrigin
()
Returns:
SetFrameOrigin
void
SetFrameOrigin
(Point value)
Parameters:
value
Returns:
CopySelectionToClipboard
void
CopySelectionToClipboard
()
Returns:
CutSelectionToClipboard
void
CutSelectionToClipboard
()
Returns:
SetFrameSize
void
SetFrameSize
(Dimension value)
Parameters:
value
Returns:
InputDeleteKeys
void
InputDeleteKeys
(int count)
Parameters:
count
Returns:
SetCaretPosition
void
SetCaretPosition
(int position)
Parameters:
position
Returns:
InsertItems
void
InsertItems
(OptionMenuItems optionmenuitems, ItemPositionData posData)
Parameters:
optionmenuitems
posData
Returns:
GetFrameRectangle
GetFrameRectangle
()
Returns:
DeleteItemsByName
void
DeleteItemsByName
(stringseq names)
Parameters:
names
Returns:
DeleteItemsByIndex
void
DeleteItemsByIndex
(intseq items)
Parameters:
items
Returns:
GetSelectedRange
GetSelectedRange
()
Returns:
GetFrameMinimumSize
GetFrameMinimumSize
()
Returns:
GetScreenRectangle
GetScreenRectangle
()
Returns:
SetFrameRectangle
void
SetFrameRectangle
(Rectangle rect)
Parameters:
rect
Returns:
RedoLastUndo
void
RedoLastUndo
()
Returns:
GetSelectedText
String
GetSelectedText
()
Returns:
GetRectangleOfMonitor
GetRectangleOfMonitor
()
Returns:
GetMaximumDoubleValue
double
GetMaximumDoubleValue
()
Returns:
SetMaximumDoubleValue
void
SetMaximumDoubleValue
(double value)
Parameters:
value
Returns:
GetWidth
int
GetWidth
()
Returns:
SetWidth
void
SetWidth
(int value)
Parameters:
value
Returns:
GetSelectedItemNameArray
GetSelectedItemNameArray
()
Returns:
SetSelectedItemNameArray
void
SetSelectedItemNameArray
(stringseq values)
Parameters:
values
Returns:
GetMinimumWidth
int
GetMinimumWidth
()
Returns:
SetMinimumWidth
void
SetMinimumWidth
(int value)
Parameters:
value
Returns:
GetDoubleValue
double
GetDoubleValue
()
Returns:
SetDoubleValue
void
SetDoubleValue
(double value)
Parameters:
value
Returns:
GetGroupItemNameArray
GetGroupItemNameArray
()
Returns:
SetGroupItemNameArray
void
SetGroupItemNameArray
(stringseq values)
Parameters:
values
Returns:
GetGroupNameArray
GetGroupNameArray
()
Returns:
SetGroupNameArray
void
SetGroupNameArray
(stringseq values)
Parameters:
values
Returns:
CanDrawContentDisabled
boolean
CanDrawContentDisabled
()
Returns:
SetCanDrawContentDisabled
void
SetCanDrawContentDisabled
(boolean flag)
Parameters:
flag
Returns:
GetDefaultHelpText
String
GetDefaultHelpText
()
Returns:
SetDefaultHelpText
void
SetDefaultHelpText
(String value)
Parameters:
value
Returns:
IsComboBox
boolean
IsComboBox
()
Returns:
SetComboBox
void
SetComboBox
(boolean flag)
Parameters:
flag
Returns:
GetDropDownHeight
int
GetDropDownHeight
()
Returns:
SetDropDownHeight
void
SetDropDownHeight
(int value)
Parameters:
value
Returns:
HasTextChanged
boolean
HasTextChanged
()
Returns:
SetHasTextChanged
void
SetHasTextChanged
(boolean flag)
Parameters:
flag
Returns:
GetStringValue
String
GetStringValue
()
Returns:
SetStringValue
void
SetStringValue
(String value)
Parameters:
value
Returns:
GetGroupOpenArray
GetGroupOpenArray
()
Returns:
SetGroupOpenArray
void
SetGroupOpenArray
(intseq values)
Parameters:
values
Returns:
GetImage
String
GetImage
()
Returns:
SetImage
void
SetImage
(String value)
Parameters:
value
Returns:
GetMaximumIntegerValue
int
GetMaximumIntegerValue
()
Returns:
SetMaximumIntegerValue
void
SetMaximumIntegerValue
(int value)
Parameters:
value
Returns:
DoesSizeByContents
boolean
DoesSizeByContents
()
Returns:
SetSizeByContents
void
SetSizeByContents
(boolean flag)
Parameters:
flag
Returns:
IsWidthFixed
boolean
IsWidthFixed
()
Returns:
SetWidthFixed
void
SetWidthFixed
(boolean flag)
Parameters:
flag
Returns:
GetStringValueArray
GetStringValueArray
()
Returns:
SetStringValueArray
void
SetStringValueArray
(stringseq values)
Parameters:
values
Returns:
GetDoubleValueArray
GetDoubleValueArray
()
Returns:
SetDoubleValueArray
void
SetDoubleValueArray
(realseq values)
Parameters:
values
Returns:
GetIntegerValue
int
GetIntegerValue
()
Returns:
SetIntegerValue
void
SetIntegerValue
(int value)
Parameters:
value
Returns:
GetItemTextColorArray
GetItemTextColorArray
()
Returns:
SetItemTextColorArray
void
SetItemTextColorArray
(Colors colors)
Parameters:
colors
Returns:
GetMinimumIntegerValue
int
GetMinimumIntegerValue
()
Returns:
SetMinimumIntegerValue
void
SetMinimumIntegerValue
(int value)
Parameters:
value
Returns:
GetDropItemName
String
GetDropItemName
()
Returns:
GetItemImageArray
GetItemImageArray
()
Returns:
SetItemImageArray
void
SetItemImageArray
(stringseq values)
Parameters:
values
Returns:
GetValueType
GetValueType
()
Returns:
SetValueType
void
SetValueType
(InputType value)
Parameters:
value
Returns:
GetReadingOrder
GetReadingOrder
()
Returns:
SetReadingOrder
void
SetReadingOrder
(ReadingOrder value)
Parameters:
value
Returns:
DoesAlwaysShowValueSign
boolean
DoesAlwaysShowValueSign
()
Returns:
SetAlwaysShowValueSign
void
SetAlwaysShowValueSign
(boolean flag)
Parameters:
flag
Returns:
GetItemHelpTextArray
GetItemHelpTextArray
()
Returns:
SetItemHelpTextArray
void
SetItemHelpTextArray
(stringseq values)
Parameters:
values
Returns:
GetAutoCompleteLength
int
GetAutoCompleteLength
()
Returns:
SetAutoCompleteLength
void
SetAutoCompleteLength
(int value)
Parameters:
value
Returns:
GetDigits
int
GetDigits
()
Returns:
SetDigits
void
SetDigits
(int value)
Parameters:
value
Returns:
GetDoubleFormat
String
GetDoubleFormat
()
Returns:
SetDoubleFormat
void
SetDoubleFormat
(String value)
Parameters:
value
Returns:
GetImageWidth
int
GetImageWidth
()
Returns:
SetImageWidth
void
SetImageWidth
(int value)
Parameters:
value
Returns:
GetItemBackgroundColorArray
GetItemBackgroundColorArray
()
Returns:
SetItemBackgroundColorArray
void
SetItemBackgroundColorArray
(Colors colors)
Parameters:
colors
Returns:
IsCaretVisible
boolean
IsCaretVisible
()
Returns:
SetCaretVisible
void
SetCaretVisible
(boolean flag)
Parameters:
flag
Returns:
CanTruncateText
boolean
CanTruncateText
()
Returns:
SetCanTruncateText
void
SetCanTruncateText
(boolean flag)
Parameters:
flag
Returns:
DoesAutoOpen
boolean
DoesAutoOpen
()
Returns:
SetAutoOpen
void
SetAutoOpen
(boolean flag)
Parameters:
flag
Returns:
GetMaximumWidth
int
GetMaximumWidth
()
Returns:
SetMaximumWidth
void
SetMaximumWidth
(int value)
Parameters:
value
Returns:
GetItemNameArray
GetItemNameArray
()
Returns:
SetItemNameArray
void
SetItemNameArray
(stringseq values)
Parameters:
values
Returns:
GetTextValueMaximumLength
int
GetTextValueMaximumLength
()
Returns:
SetTextValueMaximumLength
void
SetTextValueMaximumLength
(int value)
Parameters:
value
Returns:
GetImageHeight
int
GetImageHeight
()
Returns:
SetImageHeight
void
SetImageHeight
(int value)
Parameters:
value
Returns:
IsSelectionVisible
boolean
IsSelectionVisible
()
Returns:
SetSelectionVisible
void
SetSelectionVisible
(boolean flag)
Parameters:
flag
Returns:
CanResizeWhenNeeded
boolean
CanResizeWhenNeeded
()
Returns:
SetCanResizeWhenNeeded
void
SetCanResizeWhenNeeded
(boolean flag)
Parameters:
flag
Returns:
GetEnabledItemNameArray
GetEnabledItemNameArray
()
Returns:
SetEnabledItemNameArray
void
SetEnabledItemNameArray
(stringseq values)
Parameters:
values
Returns:
CanRedraw
boolean
CanRedraw
()
Returns:
SetCanRedraw
void
SetCanRedraw
(boolean flag)
Parameters:
flag
Returns:
GetGroupHelpTextArray
GetGroupHelpTextArray
()
Returns:
SetGroupHelpTextArray
void
SetGroupHelpTextArray
(stringseq values)
Parameters:
values
Returns:
GetMostRecentItemName
String
GetMostRecentItemName
()
Returns:
DoesOpenOnMnemonic
boolean
DoesOpenOnMnemonic
()
Returns:
SetOpenOnMnemonic
void
SetOpenOnMnemonic
(boolean flag)
Parameters:
flag
Returns:
GetPrompt
String
GetPrompt
()
Returns:
SetPrompt
void
SetPrompt
(String value)
Parameters:
value
Returns:
GetMinimumDoubleValue
double
GetMinimumDoubleValue
()
Returns:
SetMinimumDoubleValue
void
SetMinimumDoubleValue
(double value)
Parameters:
value
Returns:
GetGroupTextArray
GetGroupTextArray
()
Returns:
SetGroupTextArray
void
SetGroupTextArray
(stringseq values)
Parameters:
values
Returns:
GetItemTextArray
GetItemTextArray
()
Returns:
SetItemTextArray
void
SetItemTextArray
(stringseq values)
Parameters:
values
Returns:
IsAutoCompleteCaseSensitive
boolean
IsAutoCompleteCaseSensitive
()
Returns:
SetAutoCompleteCaseSensitive
void
SetAutoCompleteCaseSensitive
(boolean flag)
Parameters:
flag
Returns:
GetTextGravity
int
GetTextGravity
()
Returns:
SetTextGravity
void
SetTextGravity
(int value)
Parameters:
value
Returns:
GetGroupImageArray
GetGroupImageArray
()
Returns:
SetGroupImageArray
void
SetGroupImageArray
(stringseq values)
Parameters:
values
Returns:
HasBorder
boolean
HasBorder
()
Returns:
SetHasBorder
void
SetHasBorder
(boolean flag)
Parameters:
flag
Returns:
GetIntegerValueArray
GetIntegerValueArray
()
Returns:
SetIntegerValueArray
void
SetIntegerValueArray
(intseq values)
Parameters:
values
Returns:
DoesAutoCompleteReplace
boolean
DoesAutoCompleteReplace
()
Returns:
SetAutoCompleteReplace
void
SetAutoCompleteReplace
(boolean flag)
Parameters:
flag
Returns:
GetTextValue
String
GetTextValue
()
Returns:
SetTextValue
void
SetTextValue
(String value)
Parameters:
value
Returns:
AddActionListener
void
AddActionListener
(OptionMenuListener listener)
Parameters:
listener
Returns:
PushAction
void
PushAction
(OptionMenuAction action)
Parameters:
action
Returns:
CreateTimer
void
CreateTimer
(OptionMenuTimer timer, String timerName, boolean writeInTrail)
Parameters:
timer
timerName
writeInTrail
Returns:
StartTimer
void
StartTimer
(String timerName, int duration)
Parameters:
timerName
duration
Returns:
StopTimer
void
StopTimer
(String timerName)
Parameters:
timerName
Returns:
Was this helpful?