home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
inprise
/
JRUNTIME.Z
/
_interactions.ini
< prev
next >
Wrap
Text File
|
1998-05-08
|
15KB
|
346 lines
;--------------------------------------------------------------------
;
; Main registry for the Interaction Wizard
;
; Note: for now we gather all registrations here (into a single file)
;
; Beware: the format for methods specification has been changed:
;
; Specify a method spec within a quoted string:
; method_spec: <return type> '"' <method_name> '(' <arg_list> ')' '"'
; arg_list : <arg> [ ',' <arg> ]
; arg : [modifier] <type> [<arg_name> [initializer]]
; modifier : "[hide]" | "[readOnly]"
; type : <java type>
; name : <java ident>
; initializer: '=' <expr>
; expr : <string> | <litteral>
; string : <java quoted string>
; litteral : '#' <just anything> '#'
;
; Modifier "[hide]": generate the argument without showing it at the UI; only makes sense if an initializer is given;
; Modifier "[readOnly]": also only makes sense if an initializer is specified. In the UI: show the initial value in read only mode.
; arg_name: this is the localized formal parameter which is shown to the user in the UI. If not specified, a default, localized name
; is proposed at the UI.
;
; Examples:
; "Enable the menu..." String "setEnabled(boolean)"
; "Enable the menu..." String "setEnabled(boolean Enabled)"
; "Disable the menu" String "setEnabled([hide] boolean Enabled=false)"
; "Set the data..." void "set(int Row, int Column, Object Data=null)"
; "Set the View Manager..." void "setViewManager(ViewManager Manager=#new BasicViewManager(new FocusableItemPainter(\n"+
; " new SelectableTextItemPainter(Alignment.LEFT | Alignment.MIDDLE)),\n"+
; " new TextItemEditor(Alignment.LEFT | Alignment.MIDDLE)#)"
;
;--------------------------------------------------------------------
adapter COMPONENT_EVENTS java.awt.event.ComponentListener {
"Resized" componentResized(ComponentEvent)
"Moved" componentMoved(ComponentEvent)
"Shown" componentShown(ComponentEvent)
"Hidden" componentHidden(ComponentEvent)
}
adapter ACTION_EVENTS java.awt.event.ActionListener {
"Activated" actionPerformed(ActionEvent)
}
adapter MENU_EVENTS java.awt.event.ActionListener {
"Item Selected" actionPerformed(ActionEvent)
}
adapter BUTTON_EVENTS java.awt.event.ActionListener {
"Pressed" actionPerformed(ActionEvent)
}
adapter MOUSE_EVENTS java.awt.event.MouseListener {
"Mouse Clicked" mouseClicked(MouseEvent)
"Mouse Pressed" mousePressed(MouseEvent)
"Mouse Released" mouseReleased(MouseEvent)
"Mouse Entered" mouseEntered(MouseEvent)
"Mouse Exited" mouseExited(MouseEvent)
}
adapter MOUSE_MOTION_EVENTS java.awt.event.MouseMotionListener {
"Mouse Moved" mouseMoved(MouseEvent)
"Mouse Dragged" mouseDrag(MouseEvent)
}
adapter FOCUS_EVENTS java.awt.event.FocusListener {
"Got focus" focusGained(FocusEvent)
"Lost Focus" focusLost(FocusEvent)
}
adapter WINDOW_EVENTS java.awt.event.WindowListener {
"Activated" windowActivated(WindowEvent)
"Deactivated" windowDeactivated(WindowEvent)
"Iconified" windowIconified(WindowEvent)
"Deiconified" windowDeiconified(WindowEvent)
}
adapter ACCESS_EVENTS borland.jbcl.dataset.AccessListener {
"Data set accessed" openAccess(OpenAccessEvent)
"Data set closed" closeAccess(CloseAccessEvent)
}
adapter SELECTABLE_EVENTS java.awt.event.ItemListener {
"Selected" itemStateChanged(ItemEvent)
}
adapter ADJUSTMENT_EVENTS java.awt.event.AdjustmentListener {
"Value changed" adjustmentValueChanged(AdjustmentEvent)
}
adapter TEXT_EVENTS java.awt.event.TextListener {
"Text changed" textValueChanged(TextEvent)
}
adapter VECTOR_SELECTION_EVENTS borland.jbcl.model.VectorSelectionListener {
"Selection changed" selectionChanged(VectorSelectionEvent)
"Selection item changed" selectionItemChanged(VectorSelectionEvent)
"Selection range changed" selectionRangeChanged(VectorSelectionEvent)
}
adapter SINGLETONMODEL_EVENTS borland.jbcl.model.SingletonModelListener {
"modelContentChanged" modelContentChanged(borland.jbcl.model.SingletonModelEvent)
}
adapter CONTAINER_EVENTS java.awt.event.ContainerListener {
"componentAdded" componentAdded(java.awt.event.ContainerEvent)
"componentRemoved" componentRemoved(java.awt.event.ContainerEvent)
}
adapter KEY_EVENTS java.awt.event.KeyListener {
"keyTyped" keyTyped(java.awt.event.KeyEvent)
"keyPressed" keyPressed(java.awt.event.KeyEvent)
"keyReleased" keyReleased(java.awt.event.KeyEvent)
}
adapter VECTORMODEL_EVENTS borland.jbcl.model.VectorModelListener {
"modelStructureChanged" modelStructureChanged(borland.jbcl.model.VectorModelEvent)
"modelContentChanged" modelContentChanged(borland.jbcl.model.VectorModelEvent)
}
adapter VECTORSUBFOCUS_EVENTS borland.jbcl.model.VectorSubfocusListener {
"subfocusChanging" subfocusChanging(borland.jbcl.model.VectorSubfocusEvent)
"subfocusChanged" subfocusChanged(borland.jbcl.model.VectorSubfocusEvent)
}
adapter GRAPHMODEL_EVENTS borland.jbcl.model.GraphModelListener {
"modelStructureChanged" modelStructureChanged(borland.jbcl.model.GraphModelEvent)
"modelContentChanged" modelContentChanged(borland.jbcl.model.GraphModelEvent)
}
adapter GRAPHSELECTION_EVENTS borland.jbcl.model.GraphSelectionListener {
"selectionItemChanged" selectionItemChanged(borland.jbcl.model.GraphSelectionEvent)
"selectionChanged" selectionChanged(borland.jbcl.model.GraphSelectionEvent)
}
adapter GRAPHSUBFOCUS_EVENTS borland.jbcl.model.GraphSubfocusListener {
"subfocusChanging" subfocusChanging(borland.jbcl.model.GraphSubfocusEvent)
"subfocusChanged" subfocusChanged(borland.jbcl.model.GraphSubfocusEvent)
}
adapter TREE_EVENTS borland.jbcl.view.TreeListener {
"nodeExpanded" nodeExpanded(borland.jbcl.view.TreeEvent)
"nodeCollapsed" nodeCollapsed(borland.jbcl.view.TreeEvent)
}
adapter HEADER_EVENTS borland.jbcl.view.HeaderListener {
"headerItemClicked" headerItemClicked(borland.jbcl.view.HeaderEvent)
"headerItemResizing" headerItemResizing(borland.jbcl.view.HeaderEvent)
"headerItemMoving" headerItemMoving(borland.jbcl.view.HeaderEvent)
}
adapter MATRIXMODEL_EVENTS borland.jbcl.model.MatrixModelListener {
"modelContentChanged" modelContentChanged(borland.jbcl.model.MatrixModelEvent)
"modelStructureChanged" modelStructureChanged(borland.jbcl.model.MatrixModelEvent)
}
adapter MATRIXSELECTION_EVENTS borland.jbcl.model.MatrixSelectionListener {
"selectionItemChanged" selectionItemChanged(borland.jbcl.model.MatrixSelectionEvent)
"selectionRangeChanged" selectionRangeChanged(borland.jbcl.model.MatrixSelectionEvent)
"selectionChanged" selectionChanged(borland.jbcl.model.MatrixSelectionEvent)
}
adapter MATRIXSUBFOCUS_EVENTS borland.jbcl.model.MatrixSubfocusListener {
"subfocusChanging" subfocusChanging(borland.jbcl.model.MatrixSubfocusEvent)
"subfocusChanged" subfocusChanged(borland.jbcl.model.MatrixSubfocusEvent)
}
component java.awt.Frame generates WINDOW_EVENTS, FOCUS_EVENTS, MOUSE_EVENTS, MOUSE_MOTION_EVENTS, COMPONENT_EVENTS {
"Set the frame title..." void "setTitle(String Title)"
}
component java.awt.Panel generates MOUSE_EVENTS, MOUSE_MOTION_EVENTS, FOCUS_EVENTS, COMPONENT_EVENTS {
}
component java.awt.Button generates BUTTON_EVENTS, MOUSE_EVENTS, FOCUS_EVENTS, MOUSE_MOTION_EVENTS, COMPONENT_EVENTS {
"Get the label..." String "getLabel()"
"Set the label..." String "setLabel(String Label)"
}
component java.awt.Checkbox generates SELECTABLE_EVENTS, COMPONENT_EVENTS {
"Get the label..." String "getLabel()"
"Set the label..." String "setLabel(String Label)"
"Get the state..." boolean "getState()"
"Set the state..." boolean "setState(boolean State)"
}
component java.awt.List generates SELECTABLE_EVENTS, FOCUS_EVENTS {
"Get the selected item" String "getSelectedItem()"
"Get the selected index" int "getSelectedIndex()"
"Set the selected item..." String "setSelectedItem(String Item)"
"Set the selected index..." int "setSelectedIndex(int Index)"
}
component java.awt.Choice generates SELECTABLE_EVENTS, FOCUS_EVENTS {
"Get the selected item" String "getSelectedItem()"
"Get the selected index" int "getSelectedIndex()"
"Set the selected item..." String "select(String Item)"
"Set the selected index..." int "select(int Index)"
}
component java.awt.FileDialog generates ACTION_EVENTS {
"Show the file dialog" boolean "setVisible([hide] boolean Visible=true)"
"Hide the file dialog" boolean "setVisible([hide] boolean Visible=false)"
"Get the filename..." String "getFilename()"
"Show or hide the dialog..." boolean "setVisible(boolean Visible)"
}
component java.awt.MenuItem generates MENU_EVENTS {
"Get the label..." String "getLabel()"
"Set the label..." String "setLabel(String Label)"
"Enable the menu" String "setEnabled([hide] boolean Enabled=true)"
"Disable the menu" String "setEnabled([hide] boolean Enabled=false)"
"Enable or disable the menu..." String "setEnabled(boolean Enable)"
}
component java.awt.CheckboxMenuItem {
"Check the menu" void "setChecked([hide] boolean Checked=true)"
"Uncheck the menu" void "setChecked([hide] boolean Checked=false)"
"Get the label..." String "getLabel()"
"Set the label..." String "setLabel(String Label)"
"Enable the menu" String "setEnabled([hide] boolean Enabled=true)"
"Disable the menu" String "setEnabled([hide] boolean Enabled=false)"
"Enable or disable the menu..." String "setEnabled(boolean Enable)"
}
component java.awt.Scrollbar generates ADJUSTMENT_EVENTS {
"Set the value..." int "setValue(int Value)"
"Get the value" int "getValue()"
}
component java.awt.TextComponent generates TEXT_EVENTS, FOCUS_EVENTS {
"Set the text..." String "setText(String Text)"
"Get the text" String "getText()"
}
component borland.jbcl.view.ButtonView generates BUTTON_EVENTS {
"Get the label..." String "getLabel()"
"Set the label..." String "setLabel(String Label)"
}
component borland.jbcl.view.TabsetView generates VECTOR_SELECTION_EVENTS {
"Get the selected tab" int "getSelectedIndex()"
"Set the selected tab..." int "setSelectedIndex(int Index)"
"Get the label..." String "getLabel()"
"Set the label..." String "setLabel(String Label)"
}
component borland.jbcl.control.ButtonControl generates BUTTON_EVENTS, SINGLETONMODEL_EVENTS, ACTION_EVENTS, FOCUS_EVENTS, KEY_EVENTS, MOUSE_EVENTS {
"set the orientation..." void "setOrientation(int Orientation=#borland.jbcl.util.Orientation.HORIZONTAL#)"
"Set the label..." void "setLabel(java.lang.String Label)"
}
component borland.jbcl.control.LabelControl generates SINGLETONMODEL_EVENTS {
"setText" void "setText(java.lang.String)"
}
component borland.jbcl.control.TextControl generates FOCUS_EVENTS, KEY_EVENTS {
"setText" void "setText(java.lang.String)"
"getText" java.lang.String "getText()"
}
component borland.jbcl.control.ListControl generates VECTORMODEL_EVENTS, VECTOR_SELECTION_EVENTS, VECTORSUBFOCUS_EVENTS, ACTION_EVENTS {
"setItems" void "setItems(java.lang.String[])"
"setItems" void "setItems(borland.jbcl.dataset.DataSet, java.lang.String)"
"addItem" void "addItem(java.lang.Object)"
"addItem" void "addItem(int, java.lang.Object)"
"remove" void "remove(int)"
"getSelection" borland.jbcl.model.WritableVectorSelection "getSelection()"
"getSubfocus" int "getSubfocus()"
}
component borland.jbcl.control.TransparentImage generates MOUSE_EVENTS {
"setImageName" void "setImageName(java.lang.String)"
"getImageName" java.lang.String "getImageName()"
"setImage" void "setImage(java.awt.Image)"
"getImage" java.awt.Image "getImage()"
"setImageURL" void "setImageURL(java.net.URL)"
"getImageURL" java.net.URL "getImageURL()"
}
component borland.jbcl.control.ShapeControl {
"setFill" void "setFill(boolean)"
"setEdgeColor" void "setEdgeColor(java.awt.Color)"
"setDrawEdge" void "setDrawEdge(boolean)"
}
component borland.jbcl.control.TreeControl generates GRAPHMODEL_EVENTS, GRAPHSELECTION_EVENTS, GRAPHSUBFOCUS_EVENTS, TREE_EVENTS {
"addChild" borland.jbcl.model.GraphLocation "addChild(borland.jbcl.model.GraphLocation, java.lang.Object)"
"addChild" borland.jbcl.model.GraphLocation "addChild(borland.jbcl.model.GraphLocation, borland.jbcl.model.GraphLocation, java.lang.Object)"
"removeChildren" void "removeChildren(borland.jbcl.model.GraphLocation)"
"remove" void "remove(borland.jbcl.model.GraphLocation)"
"getSelection" borland.jbcl.model.WritableGraphSelection "getSelection()"
"getSubfocus" borland.jbcl.model.GraphLocation "getSubfocus()"
"expand" void "expand(borland.jbcl.model.GraphLocation)"
"collapse" void "collapse(borland.jbcl.model.GraphLocation)"
"expandAll" void "expandAll(borland.jbcl.model.GraphLocation)"
"collapseAll" void "collapseAll(borland.jbcl.model.GraphLocation)"
}
component borland.jbcl.control.ButtonBar generates ACTION_EVENTS {
"setLabels" void "setLabels(java.lang.String[])"
"setButtonType" void "setButtonType(int)"
"setButtonEnabled" void "setButtonEnabled(int, boolean)"
"isButtonEnabled" boolean "isButtonEnabled(java.lang.String)"
"setButtonVisible" void "setButtonVisible(java.lang.String, boolean)"
"isButtonVisible" boolean "isButtonVisible(java.lang.String)"
}
component borland.jbcl.control.FieldControl generates SINGLETONMODEL_EVENTS, KEY_EVENTS, ACTION_EVENTS {
"getText" java.lang.String "getText()"
"setText" void "setText(java.lang.String)"
"getColumnName" java.lang.String "getColumnName()"
"canSet" boolean "canSet(boolean)"
}
component borland.jbcl.control.GridControl generates MATRIXSELECTION_EVENTS, MATRIXSUBFOCUS_EVENTS, ACTION_EVENTS {
"setItems" void "setItems(java.lang.String[][])"
"setSelectRow" void "setSelectRow(boolean)"
"get" java.lang.Object "get(int, int)"
"set" void "set(int, int, java.lang.Object)"
"setSelection" void "setSelection(borland.jbcl.model.WritableMatrixSelection)"
"getSelection" borland.jbcl.model.WritableMatrixSelection "getSelection()"
"setSubfocus" void "setSubfocus(borland.jbcl.model.MatrixLocation)"
"getSubfocus" borland.jbcl.model.MatrixLocation "getSubfocus()"
}
component borland.jbcl.control.ImageControl generates SINGLETONMODEL_EVENTS {
"setImageName" void "setImageName(java.lang.String)"
"getImageName" java.lang.String "getImageName()"
"setImage" void "setImage(java.awt.Image)"
"getImage" java.awt.Image "getImage()"
"setImageURL" void "setImageURL(java.net.URL)"
"getImageURL" java.net.URL "getImageURL()"
}
component borland.jbcl.control.NavigatorControl generates ACTION_EVENTS {
"setButtonEnabled" void "setButtonEnabled(int, boolean)"
"setButtonEnabled" void "setButtonEnabled(java.lang.String, boolean)"
"setButtonVisible" void "setButtonVisible(java.lang.String, boolean)"
}