Uses of Class
amber.server.exception.ComponentHandlerException

Packages that use ComponentHandlerException
amber.server.component The handlers at the server for the remote components. 
amber.server.exception Amber Server Exception Classes. 
amber.server.panel Amber Server Panel Classes. 
amber.type.server Amber Server Types. 
 

Uses of ComponentHandlerException in amber.server.component
 

Methods in amber.server.component that throw ComponentHandlerException
 void ComponentHandler.processCurrentPacket(Packet packet)
          This function receives the packet given to it by the ApplicationInterface.
protected  void ComponentHandler.handlePacket(PacketData packet)
          This function handles base component commands.
protected  void ComponentHandler.processNormalResponse(PacketData packet)
           
protected  java.awt.event.ActionEvent ComponentHandler.generateActionEvent(int eventType, PacketData packet)
          This function generates an action event from the input packet.
protected  java.awt.event.ItemEvent ComponentHandler.generateItemEvent(int eventType, PacketData packet)
          This function generates an item event from the input packet.
protected  java.awt.event.KeyEvent ComponentHandler.generateKeyEvent(int eventType, PacketData packet)
          This function generates a key event from the input packet.
protected  java.awt.event.MouseEvent ComponentHandler.generateMouseEvent(int eventType, PacketData packet)
          This function generates a mouse event from the input packet.
protected  java.awt.event.FocusEvent ComponentHandler.generateFocusEvent(int eventType, PacketData packet)
          This function generates a focus event from the input packet.
protected  PacketData ComponentHandler.sendPacketAndBlock(Packet packet, byte responseId)
          This function is similar to sendPacket in that it sends the created packet to the PageHandle for transmission.
 void ComponentHandler.forceComponentGetUrl(java.lang.String urlString)
          This function tells the component to get the specified URL.
 void ComponentHandler.forceComponentGetUrl(java.lang.String urlString, java.lang.String location)
          This function tells the component to get the specified URL.
 void ComponentHandler.setForegroundBackground(java.awt.Color foreground, java.awt.Color background)
          This function tells the component to set the specified drawing colours.
 void ComponentHandler.setFontStyle(int style)
          This function tells the component to set the font style only.
 void ComponentHandler.setFont(java.lang.String name, int style, int size)
          This function tells the component to set the font.
 void ComponentHandler.setActive(boolean state)
          This function tells the ComponentHandler that there is a corresponding remote component to communicate with and that the link is active.
protected  void ComponentHandler.sendPendingPackets()
          This function is rarely called by outside classes.
 void ComponentHandler.setEventMask(int eventMask)
          This function alters the events which the component listens to.
protected  void ComponentHandler.fireWindowEvent(PacketData packet)
          This function creates a ComponentWindowEvent for the corresponding packet and sends it to all listeners.
 void CheckboxHandler.setLabel(java.lang.String label)
          Sets the label in the checkbox.
 void CheckboxHandler.setState(boolean state)
          Sets the state of the checkbox.
 java.lang.String CheckboxHandler.getLabel()
          Gets the label text of the checkbox.
 boolean CheckboxHandler.getState()
          Gets the state of the checkbox.
 void ButtonHandler.setLabel(java.lang.String item)
          Sets the label displayed on the button.
 java.lang.String ButtonHandler.getLabel()
          Returns the label displayed on the button.
protected  PacketData MenuComponentHandler.sendPacketAndBlock(Packet packet, byte responseId)
          This function is similar to sendPacket in that it sends the created packet to the PageHandle for transmission.
 void MenuHandler.setActive(boolean state)
          This function tells the ComponentHandler that there is a corresponding remote component to communicate with and that the link is active.
 void MenuHandler.processCurrentPacket(Packet packet)
          This function receives the packet given to it by the ApplicationInterface.
protected  void MenuHandler.forwardPacket(Packet packet)
          Called by the ReceiveThread when a packet has been received.
 void ImageHandler.setImage(java.lang.String imageName)
          Sets the String name of the image to display in the image control.
 void ImageHandler.loadImage(java.lang.String imageName)
          Sets the String name of the image to display in the image control.
 java.lang.String ImageHandler.getImageName()
          Returns the String name of the image to display in the image control.
 void MenuBarHandler.setActive(boolean state)
          This function tells the ComponentHandler that there is a corresponding remote component to communicate with and that the link is active.
 void MenuBarHandler.processCurrentPacket(Packet packet)
          This function receives the packet given to it by the ApplicationInterface.
protected  void MenuBarHandler.forwardPacket(Packet packet)
          Called by the ReceiveThread when a packet has been received.
 void TextComponentHandler.setText(java.lang.String item)
          Sets the text in the control to the specified value.
 void TextComponentHandler.setEditable(boolean state)
          Defines whether the text field can be edited.
 java.lang.String TextComponentHandler.getText()
          Returns the text in the component.
 int TextComponentHandler.getCaretPosition()
          Gets the location of the text cursor in the text.
 java.lang.String TextComponentHandler.getSelectedText()
          Gets the selected text from the text component.
 int TextComponentHandler.getSelectionEnd()
          Gets the location of the last character selected in the text.
 int TextComponentHandler.getSelectionStart()
          Gets the location of the first character selected in the text.
 void TextComponentHandler.select(int start, int end)
          This function selects the text between the specified start and end positions.
 void TextComponentHandler.selectAll()
          Selects all the text in this text component.
 void TextComponentHandler.setCaretPosition(int position)
          Sets the position of the cursor in the text.
 void TextComponentHandler.setSelectionEnd(int end)
          Sets the location of the last character selected in the text.
 void TextComponentHandler.setSelectionStart(int start)
          Sets the location of the first character selected in the text.
protected  Pair TextComponentHandler.getSelectionPoints()
          This function gets the selection start and end points.
protected  void TextComponentHandler.setSelectionPoints(int type, int start, int end)
          This function gets the selection start and end points.
 void PanelHandler.setAutoRepaint(boolean state)
          This sets the state of the automatic repaint functionality.
 void PanelHandler.repaintPanel()
          This forces a repaint on the panel.
 void PanelHandler.addComponent(int componentId, int eventMask, int x, int y, int width, int height, java.lang.String className, java.lang.String parameters)
          This function adds a specified component to the corresponding remote Panel.
 void PanelHandler.addComponent(int componentId, int eventMask, int x, int y, int width, int height, java.lang.String className, java.lang.String parameters, boolean redrawPanel)
          This function adds a specified component to the corresponding remote Panel.
 void PanelHandler.removeComponent(ComponentHandler component)
          This function removes a specified component from the corresponding remote Panel.
 void PanelHandler.removeAllComponents()
          This function removes all components from the corresponding remote Panel.
 void PanelHandler.setSize(ComponentHandler component, java.awt.Dimension dimension)
          This function alters the size of the specified component in the panel.
 void PanelHandler.setSize(ComponentHandler component, int width, int height)
          This function alters the size of the specified component in the panel.
 void PanelHandler.setLocation(ComponentHandler component, java.awt.Point point)
          This function moves the specified component in the panel.
 void PanelHandler.setLocation(ComponentHandler component, int x, int y)
          This function moves the specified component in the panel.
 void PanelHandler.setBounds(ComponentHandler component, java.awt.Rectangle rect)
          This function moves the specified component in the panel.
 void PanelHandler.setBounds(ComponentHandler component, int x, int y, int width, int height)
          This function moves the specified component in the panel.
 void PanelHandler.setBorder(int type)
          This function tells the remote panel to set the border to the new type.
 void PanelHandler.removeDrawOperation(long handle)
          This function removes the specified queued draw operation from the queue of operations.
 void PanelHandler.removeAllDrawOperations()
          This function removes all the specified queued draw operation from the queue of operations.
 long PanelHandler.addSetColour(java.awt.Color colour)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertSetColour(java.awt.Color colour, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceSetColour(java.awt.Color colour, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addSetFont(java.lang.String fontName, int style, int size)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertSetFont(java.lang.String fontName, int style, int size, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceSetFont(java.lang.String fontName, int style, int size, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawLine(int x1, int y1, int x2, int y2)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawLine(int x1, int y1, int x2, int y2, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawLine(int x1, int y1, int x2, int y2, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addFillRect(int x, int y, int width, int height)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertFillRect(int x, int y, int width, int height, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceFillRect(int x, int y, int width, int height, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawRect(int x, int y, int width, int height)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawRect(int x, int y, int width, int height, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawRect(int x, int y, int width, int height, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addFillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertFillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceFillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDraw3DRect(int x, int y, int width, int height, boolean raised)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDraw3DRect(int x, int y, int width, int height, boolean raised, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDraw3DRect(int x, int y, int width, int height, boolean raised, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addFill3DRect(int x, int y, int width, int height, boolean raised)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertFill3DRect(int x, int y, int width, int height, boolean raised, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceFill3DRect(int x, int y, int width, int height, boolean raised, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawOval(int x, int y, int width, int height)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertFill3DRect(int x, int y, int width, int height, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceFill3DRect(int x, int y, int width, int height, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addFillOval(int x, int y, int width, int height)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertFillOval(int x, int y, int width, int height, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceFillOval(int x, int y, int width, int height, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawArc(int x, int y, int width, int height, int startAngle, int arcAngle)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawArc(int x, int y, int width, int height, int startAngle, int arcAngle, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawArc(int x, int y, int width, int height, int startAngle, int arcAngle, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addFillArc(int x, int y, int width, int height, int startAngle, int arcAngle)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertFillArc(int x, int y, int width, int height, int startAngle, int arcAngle, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceFillArc(int x, int y, int width, int height, int startAngle, int arcAngle, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawString(java.lang.String str, int x, int y)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawString(java.lang.String str, int x, int y, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawString(java.lang.String str, int x, int y, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawString(java.lang.String str, int x, int y, int alignment)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawString(java.lang.String str, int x, int y, int alignment, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawString(java.lang.String str, int x, int y, int alignment, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawImage(java.lang.String imageName, int x, int y, boolean tile)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawImage(java.lang.String imageName, int x, int y, boolean tile, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawImage(java.lang.String imageName, int x, int y, boolean tile, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawImage(java.lang.String imageName, int x, int y, int width, int height)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawImage(java.lang.String imageName, int x, int y, int width, int height, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawImage(java.lang.String imageName, int x, int y, int width, int height, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawPolygon(int[] x, int[] y, int numberPoints)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawPolygon(int[] x, int[] y, int numberPoints, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawPolygon(int[] x, int[] y, int numberPoints, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addFillPolygon(int[] x, int[] y, int numberPoints)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertFillPolygon(int[] x, int[] y, int numberPoints, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceFillPolygon(int[] x, int[] y, int numberPoints, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addDrawPolyline(int[] x, int[] y, int numberPoints)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertDrawPolyline(int[] x, int[] y, int numberPoints, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceDrawPolyline(int[] x, int[] y, int numberPoints, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addSetClip(int x, int y, int width, int height)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertSetClip(int x, int y, int width, int height, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceSetClip(int x, int y, int width, int height, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addSetPaintMode()
          This function adds a new drawing command to the panel.
 long PanelHandler.insertSetPaintMode(long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceSetPaintMode(long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
 long PanelHandler.addSetXORMode(java.awt.Color colour)
          This function adds a new drawing command to the panel.
 long PanelHandler.insertSetXORMode(java.awt.Color colour, long handle)
          This function inserts a new drawing command to the panel.
 void PanelHandler.replaceSetXORMode(java.awt.Color colour, long handle)
          This function replaces the current drawing command with a new drawing command in the panel.
protected  long PanelHandler.addOperation(int[] drawInfo, java.lang.String data)
          This function actually performs the messaging requirements to send the drawing command to the remote panel.
protected  long PanelHandler.insertOperation(int[] drawInfo, java.lang.String data, long handle)
          This function actually performs the messaging requirements to send the drawing command to the remote panel.
protected  void PanelHandler.replaceOperation(int[] drawInfo, java.lang.String data, long handle)
          This function actually performs the messaging requirements to send the drawing command to the remote panel.
 void FrameHandler.setInternalLocation(java.awt.Point p)
          Moves the internal panel in the frame window.
 void FrameHandler.setInternalLocation(int x, int y)
          Moves the internal panel in the frame window.
 void FrameHandler.setInternalSize(java.awt.Dimension d)
          Resizes the internal panel in the frame window.
 void FrameHandler.setInternalSize(int width, int height)
          Resizes the internal panel in the frame window.
 void FrameHandler.setInternalBounds(java.awt.Rectangle r)
          Resizes the internal panel in the frame window.
 void FrameHandler.setInternalBounds(int x, int y, int width, int height)
          Resizes the internal panel in the frame window.
 void TextFieldHandler.setEchoChar(char c)
          Sets the character which will display in place of text characters in the control.
 void ListHandler.add(java.lang.String item)
          Adds a line at the end of the list.
 void ListHandler.add(java.lang.String item, int index)
          Adds a line at the specified location in the list.
 void ListHandler.addItem(java.lang.String item)
          Adds a line at the end of the list.
 void ListHandler.addItem(java.lang.String item, int index)
          Adds a line at the specified location in the list.
 void ListHandler.replaceItem(java.lang.String newValue, int index)
           
 void ListHandler.removeAll()
          Removes all the items in the list.
 void ListHandler.delItem(int position)
          Removes the specified item from the list.
 void ListHandler.remove(int position)
          Removes the specified item from the list.
 int ListHandler.getSelectedIndex()
          Returns the index of the selected item in the list.
 java.lang.String ListHandler.getSelectedItem()
          Returns the item selected in in the list.
 void ListHandler.setSelectedItem(java.lang.String item)
          Selects the specified string in the list.
 void ListHandler.setDeselectedItem(java.lang.String item)
          Deselects the specified string in the list.
 void ListHandler.select(int index)
          Selects the specified item in the list.
 void ListHandler.deselect(int index)
          Deselects the specified item in the list.
protected  void ListHandler.setSelection(int index, boolean state)
          Selects/deselects the specified item in the list.
 void ListHandler.setMultipleMode(boolean mode)
          Sets the list to or from multiple select mode.
 int[] ListHandler.getSelectedIndexes()
          Gets the multiple selected indexes of the list.
 void TreeListHandler.add(amber.server.component.TreeNode item)
          This adds a tree node to the end of the parent in the list.
 void TreeListHandler.insert(amber.server.component.TreeNode item, int index)
          This inserts a tree node to the end of the parent in the list.
 void TreeListHandler.updateNode(amber.server.component.TreeNode node)
          Updates the contents of the node in the tree.
 void TreeListHandler.replaceItem(amber.server.component.TreeNode newValue, amber.server.component.TreeNode oldValue)
          Replaces the line specified by the input node in the tree.
 void TreeListHandler.replaceItem(amber.server.component.TreeNode newValue, int index)
          Replaces the line specified by the index in the tree.
 void TreeListHandler.removeAll()
          Removes all items in the tree.
 void TreeListHandler.removeAll(amber.server.component.TreeNode parent)
          Removes all child items in the tree based off the current parent node.
 void TreeListHandler.remove(amber.server.component.TreeNode node)
          Removes an item in the tree.
 void TreeListHandler.remove(amber.server.component.TreeNode parent, int index)
          Removes an item in the tree.
 amber.server.component.TreeNode TreeListHandler.getSelectedItem()
          Return the text value of the selected item in the tree.
 amber.server.component.TreeNode TreeListHandler.locationToItem(java.awt.Point pointInList)
          This function converts a physical point location in the tree into a TreeNode item.
 void TreeListHandler.select(amber.server.component.TreeNode node)
          Selects a specific TreeNode in the tree.
 void TreeListHandler.toggleNodeOpenState(amber.server.component.TreeNode node)
          Toggles the open state of a node in the tree.
 void TreeListHandler.setNodeOpenState(amber.server.component.TreeNode node, boolean state)
          Sets the open state of a node in the tree.
 void TreeListHandler.select(amber.server.component.TreeNode node, int index)
          Selects a specific line in the tree.
 void TreeListHandler.deselect()
          Deselects all items in the tree.
 void TreeListHandler.setDefaultNodeOpen(boolean state)
          This function can be used to set the behaviour of the list when child nodes are added.
protected  int TreeListHandler.locationToIndex(java.awt.Point pointInList)
          This function converts a physical point location in the tree into a line index.
protected  void TreeListHandler.remove(int position)
          Removes an item in the tree.
protected  void TreeListHandler.addTopNode(amber.server.component.TreeNode item)
          Adds a node in the list at the end of the list.
protected  void TreeListHandler.insertNode(amber.server.component.TreeNode item, int index)
          Inserts a node in the list at the specified location.
protected  void TreeListHandler.add(java.lang.String item, java.lang.String image, int type)
          This adds a string to the end of the tree.
protected  void TreeListHandler.insert(java.lang.String item, java.lang.String image, int index, int type)
          Inserts the line at the location specified by the index in the tree.
protected  void TreeListHandler.replaceItem(java.lang.String newValue, int index)
          Replaces the line specified by the index in the tree.
protected  void TreeListHandler.replaceItem(java.lang.String newValue, java.lang.String image, int index, int type)
          Replaces the line specified by the index in the tree.
protected  int TreeListHandler.getSelectedIndex()
          Return the index of the item selected in the tree.
protected  void TreeListHandler.toggleItemState(int index)
          Toggles the open state of the specified line.
protected  void TreeListHandler.setItemOpenState(int index, boolean state)
          Toggles the open state of the specified line.
protected  void TreeListHandler.setSelection(int index, boolean state)
          Sets the selection state of a line in the list.
protected  void ComplexListHandler.handlePacket(PacketData packet)
          This function handles the incoming packets from the component residing on the browser.
 void ComplexListHandler.add(java.util.Vector item)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.add(ComplexLine item)
          This adds a line at the end of the list.
 void ComplexListHandler.addColumn(ComplexColumn column)
          This function adds a column to the end of the columns in the list.
 void ComplexListHandler.setColumns(ComplexColumn[] headers)
          This sets the headers for a complex list.
protected  void ComplexListHandler.setColumnAlignments(java.util.Vector alignments)
          This sets the alignments for the columns in a complex list.
 void ComplexListHandler.setColumnHeaders(java.util.Vector headers)
          Deprecated. The correct interface is now the setColumns function.
 void ComplexListHandler.setColumnSizes(java.util.Vector sizes)
          Deprecated. The correct interface is now the setColumns function.
 void ComplexListHandler.add(java.util.Vector item, int type)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.addItem(ComplexLine item)
          This adds a line at the end of the list.
 void ComplexListHandler.addItem(java.util.Vector item)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.addItem(java.util.Vector item, int type)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.insert(java.util.Vector item, int index)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.insert(java.util.Vector item, int index, int type)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.insert(ComplexLine item, int index)
          Inserts the line at the location specified by the index in the list.
 void ComplexListHandler.insertItem(ComplexLine item, int index)
          Inserts the line at the location specified by the index in the list.
 void ComplexListHandler.insertItem(java.util.Vector item, int index)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.insertItem(java.util.Vector item, int index, int type)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.replaceItem(java.util.Vector newValue, int index)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.replaceItem(java.util.Vector newValue, int index, int type)
          Deprecated. The correct interface now uses the ComplexLine class.
 void ComplexListHandler.replaceItem(ComplexLine newValue, int index)
          Replaces the line specified by the index in the list.
 void ComplexListHandler.replaceSubItem(ComplexItem newValue, int row, int column)
          Replaces the a column item in the line specified by the row in the list.
 void ComplexListHandler.removeAll()
          Removes all items in the list.
 void ComplexListHandler.remove(int position)
          Removes an item in the list.
 ColumnState ComplexListHandler.getSelectedColumn()
          Return the index of the column selected in the list.
 int ComplexListHandler.getSelectedIndex()
          Return the index of the item selected in the list.
 ComplexLine ComplexListHandler.getSelectedItem()
          Return the item selected in the list.
 int ComplexListHandler.locationToIndex(java.awt.Point pointInList)
          This function converts a physical point location in the list into a line index.
 void ComplexListHandler.setSelectedColumn(int index, int state)
          Specifies which column is selected in the list.
 void ComplexListHandler.setHeaderHeight(int height)
          Normally the header height is specified by the size of the font.
 void ComplexListHandler.setLineHeight(int height)
          Normally the line item height is specified by the size of the font.
 void ComplexListHandler.setDrawHeader(boolean state)
          This turns the list title header on and off.
 void ComplexListHandler.setColumnAlignment(int index, int alignment)
          This sets the text alignment for an individual column in a complex list.
 void ComplexListHandler.select(int index)
          Selects a specific line in the list.
 void ComplexListHandler.deselect(int index)
          Deselects a specific line in the list.
 void ComplexListHandler.showLine(int index)
          Displays the specified line number.
 void ComplexListHandler.showColumn(int index)
          Displays the specified column number.
 void ComplexListHandler.updateNode(ComplexLine line)
          Updates the contents of the node in the list.
protected  void ComplexListHandler.setSelection(int index, boolean state)
          Sets the selection state of a line in the list.
protected  void ComplexListHandler.show(int index, boolean type)
          Shows the specified line or column.
 void ComplexListHandler.setMultipleMode(boolean mode)
          Sets the list to or from multiple select mode.
 int[] ComplexListHandler.getSelectedIndexes()
          Gets the multiple selected indexes of the list.
 ComplexLine[] ComplexListHandler.getSelectedItems()
          Gets the multiple selected items of the list.
protected  ComplexColumnEvent ComplexListHandler.generateColumnEvent(PacketData packet)
          Generates a complex column event from the specified packet.
 void TextAreaHandler.append(java.lang.String item)
          Appends text to the end of the text area.
 void TextAreaHandler.insert(java.lang.String item, int position)
          Inserts text to the text area at the specified location.
 void TextAreaHandler.replaceRange(java.lang.String item, int start, int end)
          Replaces the specified range of text with the new text specified.
 void ChoiceHandler.add(java.lang.String item)
          Adds a string to the items in the choice.
 void ChoiceHandler.insert(java.lang.String item, int index)
          Adds a string to the items in the choice.
 void ChoiceHandler.addItem(java.lang.String item)
          Adds a string to the items in the choice.
 void ChoiceHandler.removeAll()
          Remove all items from the list in the choice.
 void ChoiceHandler.remove(int position)
          Remove the specified item from the list in the choice.
 int ChoiceHandler.getSelectedIndex()
          Returns the index of the selected item in the choice.
 java.lang.String ChoiceHandler.getSelectedItem()
          Returns the selected item in the choice.
 void ChoiceHandler.select(int index)
          Selects the specified index in the choice.
 void ChoiceHandler.select(java.lang.String value)
          Selects the specified item in the choice.
 void ChoiceHandler.setSelectedItem(java.lang.String item)
          Selects the specified string in the list.
 void LabelHandler.setText(java.lang.String item)
          This function sets the text in the label control.
 java.lang.String LabelHandler.getText()
          This function gets the text in the label control.
 void LabelHandler.setAlignment(int alignment)
          This function sets the alignment of the text in the label control.
 void AudioHandler.loadAudioClip(java.lang.String audioClipName)
          This function instructs the remote audio component to load an audio clip.
 void AudioHandler.playAudioClip(java.lang.String audioClipName)
          This function instructs the remote audio component to commence playing an audio clip.
 void AudioHandler.loopAudioClip(java.lang.String audioClipName)
          Similar to playAudioClip this function instructs the remote audio component to commence playing an audio clip.
 void AudioHandler.stopAudioClip()
          This function instructs the remote component to stop playing the audio clip.
 java.lang.String AudioHandler.getAudioClipName()
          Get the name of the current Audio Clip.
protected  void LinkHandler.handlePacket(PacketData packet)
          This function handles the incoming packets from the component residing on the browser.
 void LinkHandler.setServerString(java.lang.String value)
          This function sets the server string.
 void LinkHandler.setServerInt(int value)
          This function sets the server int.
 java.lang.String LinkHandler.getClientString()
          This function gets the client string.
 int LinkHandler.getClientInt()
          This function gets the client int.
 void CheckboxPanelHandler.addLabel(java.lang.String label)
          Adds a label to the checkbox panel.
 void CheckboxPanelHandler.setVerticalOrientation(boolean state)
          Sets the state of orientation for the checkboxes in the panel.
 void CheckboxPanelHandler.removeAll()
          Removes all the items in the checkbox panel.
 int CheckboxPanelHandler.getLabelCount()
          Returns the number of labels in the checkbox panel.
 java.lang.String CheckboxPanelHandler.getLabel(int index)
          Returns the label of the checkbox specified by the index value.
 void CheckboxPanelHandler.setLabel(int index, java.lang.String label)
          Sets the label of a checkbox in the checkbox panel.
 void CheckboxPanelHandler.setSelectedLabel(java.lang.String label)
          Sets the checkbox selected by the label specified to be the active checkbox (ie.
 java.lang.String CheckboxPanelHandler.getSelectedLabel()
          Returns the label of the checkbox which is currently selected (ie.
 void CheckboxPanelHandler.setSelectedIndex(int index)
          Sets the checkbox selected by the index value to be the active checkbox (ie.
 int CheckboxPanelHandler.getSelectedIndex()
          Returns the index of the checkbox which is currently selected (ie.
 void FloatButtonHandler.setEnabledImage(java.lang.String image)
          Sets the image used when the button is enabled.
 void FloatButtonHandler.setDisabledImage(java.lang.String image)
          Sets the image used when the button is disabled.
 void FloatButtonHandler.setToggleButton(boolean isToggleButton)
          Sets whether or not this button is a toggle button.
 void FloatButtonHandler.setButtonState(boolean buttonUp)
          Sets the button state (up/not selected or down/selected) This really only makes sense for toggle buttons
 void FloatButtonHandler.setLookAndFeel(java.awt.Color buttonColour, java.awt.Color fontColour)
          Sets the colour of the button and the font.
 void FloatButtonHandler.setButtonDown()
          Sets the button state to be down by calling setButtonState
 void FloatButtonHandler.setButtonUp()
          Sets the button state to be down by calling setButtonState
 

Uses of ComponentHandlerException in amber.server.exception
 

Subclasses of ComponentHandlerException in amber.server.exception
 class MethodInvalidException
          This exception occurs for methods which should not be called in this class.
 class MissingResponseException
          This exception occurs when an expected response packet is not received.
 class UnknownCommandException
          This exception occurs when the component handler code cannot determine what the command code should do.
 

Uses of ComponentHandlerException in amber.server.panel
 

Methods in amber.server.panel that throw ComponentHandlerException
 void BasePanel.processCurrentPacket(Packet packet)
          This function receives the packet given to it by the ApplicationInterface.
protected  void BasePanel.forwardPacket(Packet packet)
          Called by the ReceiveThread when a packet has been received.
 void BasePanel.setActive(boolean state)
          This function tells the ComponentHandler that there is a corresponding remote component to communicate with and that the link is active.
protected  PanelComponentInfo BasePanel.setUpComponent(ComponentHandler newComponent, int x, int y, int width, int height, java.lang.String className, java.lang.String parameters)
          This function takes the parameters and creates a PanelComponentInfo containing the information on the component.
protected  PanelComponentInfo BasePanel.addComponent(ComponentHandler newComponent, int x, int y, int width, int height, java.lang.String className, java.lang.String parameters, boolean redrawPanel)
          Deprecated. This function is now replaced by add() to make panels more like Java panels.
 void BasePanel.buildComponent(PanelComponentInfo component)
          This function adds a specified component to the corresponding Remote Panel.
 void BasePanel.buildComponent(PanelComponentInfo component, boolean redrawPanel)
          This function adds a specified component to the corresponding Remote Panel.
 void BasePanel.remove(ComponentHandler component)
          This function removes the specified component from the corresponding remote Panel.
 void BasePanel.removeComponent(ComponentHandler component)
          Deprecated. Now replaced with the function remove () for consistency with Java panels.
 java.awt.Insets BasePanel.getInsets()
          This function gets the inset values for the container.
 void BasePanel.recreatePanel()
          This function dynamically recreates all the Its specific purpose is to set the controls to a known state once they are created.
 void BasePanel.setSize(ComponentHandler component, java.awt.Dimension dimension)
          This function alters the size of the specified component in the panel.
 void BasePanel.setSize(ComponentHandler component, int width, int height)
          This function alters the size of the specified component in the panel.
 void BasePanel.setLocation(ComponentHandler component, java.awt.Point point)
          This function moves the specified component in the panel.
 void BasePanel.setLocation(ComponentHandler component, int x, int y)
          This function moves the specified component in the panel.
 void BasePanel.setBounds(ComponentHandler component, java.awt.Rectangle rect)
          This function moves the specified component in the panel.
 void BasePanel.setBounds(ComponentHandler component, int x, int y, int width, int height)
          This function moves the specified component in the panel.
 void BasePanel.setAutoDoLayout(boolean state)
          This function turns on/off the automatic doLayout which occurs when a component is added.
 void BasePanel.doPanelLayout()
          This function forces the target remote panel to re-lay itself out.
 void BaseFrame.setActive(boolean state)
          This function tells the ComponentHandler that there is a corresponding remote component to communicate with and that the link is active.
 void BaseFrame.setInternalLocation(java.awt.Point p)
          Moves the internal panel in the frame window.
 void BaseFrame.setInternalLocation(int x, int y)
          Moves the internal panel in the frame window.
 void BaseFrame.setInternalSize(java.awt.Dimension d)
          Resizes the internal panel in the frame window.
 void BaseFrame.setInternalSize(int width, int height)
          Resizes the internal panel in the frame window.
 void BaseFrame.setInternalBounds(java.awt.Rectangle r)
          Resizes the internal panel in the frame window.
 void BaseFrame.setInternalBounds(int x, int y, int width, int height)
          Resizes the internal panel in the frame window.
 void FileDialog.setFileFilter(FileFilter filter)
          Sets the extended filename filter which contains the concept of multiple filters which can be selected by the user.
protected  void FileDialog.fillLists(amber.server.panel.TreeNode parent)
          Fills the tree and list with information from the current directory.
protected  amber.server.panel.TreeNode FileDialog.setBaseDirectoryTree()
          Recurses from the current directory to the base directory if exists or the top of the file system if not.
 java.lang.String TextInputDialog.getText()
          Returns the text in the edit control.
 void TextInputDialog.setText(java.lang.String text)
          Sets the text of the text field in the entry dialog.
 void TextInputDialog.setCaption(java.lang.String caption)
          Sets the caption of this dialog.
 void PanelTemplateGroup.setSelectedPanelHandlerAndCreate(BasePanel template)
          Sets the currently selected panel handler.
 void ContainerHandler.recreatePanel()
          This function dynamically recreates the panel.
 void ContainerHandler.remove(ComponentHandler component)
          This function removes the specified component from the corresponding remote Panel.
 void ContainerHandler.setAutoDoLayout(boolean state)
          This function turns off the automatic doLayout which occurs when a component is added.
 void ContainerHandler.doPanelLayout()
          This function forces the target remote panel to re-lay itself out.
 java.awt.Insets ContainerHandler.getInsets()
          This function gets the inset values for the container.
 

Uses of ComponentHandlerException in amber.type.server
 

Methods in amber.type.server that throw ComponentHandlerException
protected  void ComplexLine.updateHandler()
          If this node is attached to a ComplexList it forces an update of the visual contents at the remote client.
 void ComplexLine.addColumn(ComplexItem item)
          Sets the data in the following variable: This is a column in the line.
 void ComplexLine.insertColumn(ComplexItem item, int index)
          Inserts a column into the line.
 void ComplexLine.replaceColumn(ComplexItem item, int index)
          Replaces a column in the line.
 void ComplexLine.removeColumn(int index)
          Removes a column from the line.
 void ComplexLine.setData(java.util.Vector data)
          Sets the data in the following variable: This is the column information for the line.
 void ComplexLine.setType(int data)
          Sets the data in the following variable: This integer defines the nesting of each line.
 

Constructors in amber.type.server that throw ComponentHandlerException
DrawOperation(int[] drawInfo, java.lang.Object data)
          Initialising Constructor.
DrawOperation(int[] drawInfo, java.lang.Object data, long handle)
          Initialising Constructor.
 



Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.