CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 07/04/30 14:14:26
Modified files: . : ChangeLog gnu/java/awt/peer/swing: SwingButtonPeer.java SwingComponent.java SwingComponentPeer.java SwingContainerPeer.java SwingLabelPeer.java SwingListPeer.java SwingPanelPeer.java SwingTextAreaPeer.java SwingTextFieldPeer.java Added files: gnu/java/awt/peer/swing: SwingCheckboxPeer.java Log message: 2007-04-30 Roman Kennke <[EMAIL PROTECTED]> * gnu/java/awt/peer/swing/SwingButtonPeer.java (SwingButton.handleFocusEvent): New method. Handles focus events. (SwingButton.requestFocus): Overridden to avoid loop into peer and back. (SwingButton.requestFocus(boolean)): Overridden to avoid loop into peer and back. * gnu/java/awt/peer/swing/SwingCheckboxPeer.java: New class. Implements CheckboxPeer for Swing toolkit. * gnu/java/awt/peer/swing/SwingComponent.java (handleFocusEvent): New method. Handles focus events. * gnu/java/awt/peer/swing/SwingComponentPeer.java (getMinimumSize): Delegate to minimumSize(). (getPreferredSize): Delegate to preferredSize(). (handleEvent): Only paint when component is showing. Coalesce paint event in any case. Reformat. Handle focus events. (requestFocus): Post FOCUS_GAINED event. (handleFocusEvent): New method. Delegate to SwingComponent object. * gnu/java/awt/peer/swing/SwingContainerPeer.java (addHeavyweightDescendent): Make this protected. (removeHeavyweightDescendent): Make this protected. (getHeavyweightDescendents): New method. Returns all registered heavyweights. (handleKeyEvent): Delegate to peer's handleEvent() method. * gnu/java/awt/peer/swing/SwingLabelPeer.java (SwingLabel.handleFocusEvent): New method. * gnu/java/awt/peer/swing/SwingListPeer.java (SwingList.handleFocusEvent): New method. * gnu/java/awt/peer/swing/SwingPanelPeer.java Fix typo and import. * gnu/java/awt/peer/swing/SwingTextAreaPeer.java Wrap up text area in viewport. * gnu/java/awt/peer/swing/SwingTextFieldPeer.java (SwingTextField.handleFocusEvent): New method. (SwingTextField.requestFocus): New method. (SwingTextField.requestFocus(boolean)): New method. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9289&r2=1.9290 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingButtonPeer.java?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingComponent.java?cvsroot=classpath&r1=1.3&r2=1.4 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java?cvsroot=classpath&r1=1.7&r2=1.8 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java?cvsroot=classpath&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingLabelPeer.java?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingListPeer.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingPanelPeer.java?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingTextAreaPeer.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java?cvsroot=classpath&r1=1.3&r2=1.4 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingCheckboxPeer.java?cvsroot=classpath&rev=1.1