RSComponentListener(final RSComponent child) { a = child; type = child.getType(); specialtype = child.getSpecialType(); bounds = child.getBoundsArrayIndex(); model = child.getModelID(); color = child.getBackgroundColor(); getID = child.getParentID(); getText = child.getText(); tooltip = child.getTooltip(); selectionname = child.getSelectedActionName(); compID = child.getComponentID(); compStackSize = child.getComponentStackSize(); relativeloc = new Point(child.getRelativeX(), child.getRelativeY()); absoluteloc = new Point(child.getAbsoluteX(), child.getAbsoluteY()); area = child.getArea(); xRot = child.getXRotation(); yRot = child.getYRotation(); zRot = child.getZRotation(); }