summaryrefslogtreecommitdiff
path: root/java/awt/Container.java
Commit message (Collapse)AuthorAgeFilesLines
...
* 2003-02-15 Michael Koch <konqueror@gmx.de>Michael Koch2003-02-151-3/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/CheckboxMenuItem.java (CheckBoxMenuItem): Dont implement Serializable. (getListeners): New method, (getItemListeners): New method. * java/awt/Choice.java (getListeners): New method, (getItemListeners): New method. * java/awt/Container.java (getListeners): Added exception documentation. (setFocusTraversalKeys): Throw exceptions, added documentattion. (getFocusTraversalKeys): Added documentation. (areFocusTraversalKeysSet): Added documentation. (applyComponentOrientation): Added documentation. * java/awt/ContainerOrderFocusTraversalPolicy.java (implicitDownCycleTraversal): Renamed from downCycle for serialization. (ContainerOrderFocusTraversalPolicy): Added documentation. (accept): Reformated. * java/awt/Dialog.java (Dialog): Dont implement Serializable. (Dialog): Added documentation. * java/awt/Font.java (Font): Dont use absolute class name. * java/awt/Frame.java (Frame): Font implement Serializable. * java/awt/List.java (getListeners): New method, (getActionListeners): New method. (getItemListeners): New method. * java/awt/Menu.java (countItems): New deprecated method. * java/awt/Scrollbar.java (getListeners): New method, (getAdjustmentListeners): New method, * java/awt/TextComponent.java (getListeners): New method, (getTextListeners): New method, * java/awt/TextField.java (getListeners): New method, (getActionListeners): New method. * java/awt/Window.java (windowFocusListener): New member variable. (windowStateListener): New member variable. (getWindowFocusListeners): New method. (getWindowStateListeners): New method. (addWindowFocusListener): New method. (addWindowStateListener): New method. (removeWindowFocusListener): New method. (removeWindowStateListener): New method. * java/awt/datatransfer/DataFlavor.java (isRepresentationClassByteBuffer): New method. (isRepresentationClassCharBuffer): New method. (isRepresentationClassReader): New method.
* 2002-12-23 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-231-223/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/Adjustable.java (HORIZONTAL): Made static final. (VERTICAL): Made static final. (NO_ORITENTATION): Made static final. * java/awt/AlphaComposite.java (getInstance): Documentation added. * java/awt/BasicStroke.java (BasicStroke): Documentation added, reformated code. * java/awt/CheckboxMenuItem.java (CheckboxMenuItem): Throw HeadlessException, added exception documentation. * java/awt/Choice.java (Choice): Throw exception, added documentation. (add): Throw NullPointerException instead of IllegalArgumentException, added some documentation. (addItem): Added some documentation. (insert): Throw exception, added documentation. * java/awt/Container.java: Made some documentation looking better. (getListeners): Added documentation. (setFocusTraversalKeys): Throw exception. (getFocusTraversalKeys): Throw exception. (areFocusTraversalKeys): Throw exception. * java/awt/Cursor.java (Cursor): Added documentation. (getSystemCustomCursor): Throw exception, added documentation. * java/awt/EventQueue.java (postEvent): Added documentation. (invodeAndWait): Added documentation. (push): Added documentation. (pop): Added documentation. (dispatchEvent): Added documentation. * java/awt/FileDialog.java (FileDialog): Call setMode() instead of code duplication, added documentation. (setMode): Added documentation. * java/awt/Label.java (Label): Throw exception, added documentation. * java/awt/List.java (List): Throw exception, added documentation. * java/awt/Menu.java (Menu): Throw exception, added documentation. * java/awt/MenuBar.java (MenuBar): Throw exception, added documentation. * java/awt/MenuComponent.java (MenuComponent): Throw exception, added documentation. * java/awt/PopupMenu.java (PopupMenu): Throw exception, added documentation. * java/awt/ScrollPane.java (ScrollPane): Throw exception, added documentation. * java/awt/Scrollbar.java (Scrollbar): Throw exception, added documentation. * java/awt/TextArea.java (TextArea): Throw exception, added documentation. * java/awt/TextField.java (TextField): Throw exception, added documentation. * java/awt/Transparency.java (OPAQUE): Made static final. (BITMASK): Made static final. (TRANSLUCENT): Made static final. * java/awt/color/CMMException.java: (CMMException): Extends RuntimeException not Exception. * java/awt/color/ColorSpace.java (ColorSpace): Implements Serializable. * java/awt/color/ICC_Profile.java (write): Throws IOException. * java/awt/color/ProfileDataException.java (ProfileDataException): Extends RuntimeException not Exception. * java/awt/datatransfer/Clipboard.java (getContents): Added documentation. (setContents): Added documentation. * java/awt/datatransfer/DataFlavor.java (DataFlavor): Added documentation. (isMimeTypeEqual): Added documentation. (clone): Added documentation. (readExternal): Added documentation. (writeExternal): Added documentation. * java/awt/datatransfer/SystemDataFlavor.java: Reintented, Reformated. (SystemDataFlavor): Added implements FlavorTable. (getFalvorsForNative): New stubbed method. (getNativesForFlavor): New stubbed method. * java/awt/dnd/DragGestureEvent.java (startDrag): Added documentation. * java/awt/dnd/DragGestureRecognizer.java (addDragGestureListener): Added documentation. * java/awt/dnd/DragSource.java (DragSource): Throw exception, documentation added. (getDefaultDragSource): Added documentation. (startDrag): Added documentation. (createDragSourceContext): Added documentation. * java/awt/dnd/DropTarget.java (DropTarget): Implements DropTargetListener, EventListener, Serializable. (isActive): New member variable to save state. (setActive): Implemented. (isActive): Implemented. * java/awt/geom/PathIterator.java: Fixed two documentations to be HTML conform.
* * java/awt/Container.java (validate): Use tree lock.Tom Tromey2002-11-111-213/+262
| | | | | | | | | | | | | | | | | | | (getComponent): Likewise. (getComponents): Likewise. (addImpl): Likewise. (remove): Likewise. (removeAll): Likewise. (processEvent): Fixed indentation. (getComponentAt): Use tree lock. (findComponentAt): Likewise. (removeNotify): Likewise. (isAncestorOf): Likewise. (list): Likewise. (visitChildren): Likewise. (findNextFocusComponent): Likewise. (addNotifyContainerChildren): Likewise. (getAccessibleChildrenCount): Likewise. (getAccessibleChild): Likewise.
* 2002-09-26 Michael Koch <konqueror@gmx.de>Michael Koch2002-09-261-3/+3
| | | | | | | | | | | * java/awt/Choice.java (remove): Fix exception documentation. (select): Fix exception documentation. * java/awt/Container.java (add): Fix exception documentation. (addImpl): Fix exception documentation. * java/awt/DisplayMode.java (equals): Fix argument type.
* 2002-05-07 Eric Blake <ebb9@email.byu.edu>Eric Blake2002-05-081-200/+298
| | | | | | | | | | | | | * java/awt/Color.java: Tweak to work with SystemColor. * java/awt/ColorPaintContext.java: New file (split out from Color.java). * java/awt/Component.java: More javadoc. * java/awt/Container.java: Formatting, stub 1.4 methods. (LightweightDispatcher): Add class. * java/awt/Image.java: Update to 1.4. * java/awt/KeyboardFocusManager.java (downFocusCycle): Fix typo. * java/awt/Makefile.am (EXTRA_DIST): Add ColorPaintContext. * java/awt/SystemColor.java: Update to 1.4.
* 2002-05-05 Eric Blake <ebb9@email.byu.edu>Eric Blake2002-05-061-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/applet/Applet.java (getAccessibleState): Update. * java/awt/AWTEvent.java (INPUT_ENABLED_EVENT_MASK): New flag. * java/awt/AWTKeyStroke.java (keyCode): Make more visible. * java/awt/AlphaComposite.java: New file (needs documentation). * java/awt/AttributeValue.java: New file. * java/awt/BasicStroke.java: New file (needs docs). * java/awt/BufferCapabilities.java: New file (needs docs). * java/awt/Button.java (getActionListeners, getListeners): Use new features of AWTEventMulticater. * java/awt/Component.java: Partial update to 1.4. * java/awt/ComponentOrientation.java: Update to 1.4. * java/awt/Container.java (getContainerListeners, getListeners): Use new features of AWTEventMulticaster. * java/awt/ContainerOrderFocusTraversalPolicy.java: New file (stubbed, needs docs). * java/awt/DefaultFocusTraversalPolicy.java: New file (stubbed). * java/awt/DefaultKeyboardFocusManager.java: New file (stubbed). * java/awt/FocusTraversalPolicy.java: New file (needs docs). * java/awt/GradientPaint.java: New file (stubbed). * java/awt/GraphicsConfiguration.java: Update to 1.4. * java/awt/ImageCapabilities.java: New file (stubbed). * java/awt/Insets.java: Update to 1.4. * java/awt/JobAttributes.java: New file (needs docs). * java/awt/KeyboardFocusManager.java: New file (partially stubbed). * java/awt/Makefile.am (EXTRA_DIST): Account for new files. * java/awt/MenuItem.java (getActionListeners, getListeners): Use new features of AWTEventMulticaster. * java/awt/PageAttributes.java: New file (needs docs). * java/awt/PaintContext.java (paint): Remove redundant keyword. * java/awt/PrintJob.java: Update to 1.4. * java/awt/RenderingHints.java: Partial update to 1.4 (needs docs). * java/awt/Robot.java: New file (stubbed). * java/awt/TexturePaint.java: New file (stubbed). * java/awt/Window.java (getWindowListeners, getListeners): Use new features of AWTEventMulticaster. * java/awt/geom/Arc2D.java: Implement and document. * java/awt/geom/Rectangle2D.java: Fix doc typo.
* 2002-03-18 Eric Blake <ebb9@email.byu.edu>Eric Blake2002-03-181-158/+287
| | | | | | | | | | | | | | | | | | | | * java/applet/AppletContext.java (setStream, getStream), (getStreamKeys): Add new methods. * java/applet/AppletStub.java: Improve javadoc. * java/applet/AudioClip.java: Ditto. * java/applet/Applet.java: Updated to 1.4. * java/awt/Makefile.am (EXTRA_DIST): Add DisplayMode.java, GraphicsConfigTemplate.java, GraphicsDevice.java and GraphicsEnvironment.java. * java/awt/DisplayMode.java: New file. * java/awt/GraphicsConfigTemplate.java: New file. * java/awt/GraphicsDevice.java: New file. * java/awt/GraphicsEnvironment.java: New file. * java/awt/GraphicsConfiguration.java (getDevice): Add method. * java/awt/Panel.java: Updated to 1.4. * java/awt/AWTPermission.java: Updated to 1.4. * java/awt/Container.java: Partial update to 1.4. * java/awt/Component.java: Partial update to 1.4.
* * java/awt/Container.java (addNotify): Unconditionally callTom Tromey2002-01-251-5/+2
| | | | addNotifyContainerChildren and superclass addNotify.
* Add License clarificationMark Wielaard2002-01-221-5/+16
|
* * gnu/java/awt/peer/gtk/GtkComponentPeer.javaTom Tromey2002-01-161-954/+1020
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (getGraphicsConfiguration): New method. (setMask): Likewise. Start of AWT merge with libgcj: * java/awt/CardLayout.java: Merged with libgcj. * java/awt/Rectangle.java: Merged with libgcj. * java/awt/Frame.java (Frame): Use `super()'. (setIconImage): Only notify peer if it exists. (setResizable): Likewise. (setTitle): Likewise. (setMenuBar): Likewise. (getState): New method from libgcj. (Frame(GraphicsConfiguration)): Likewise. (Frame(String,GraphicsConfiguration)): Likewise. (addNotify): New implementation from libgcj. (getFrames): New stub from libgcj. * java/awt/Paint.java: New file from libgcj. * java/awt/RenderingHints.java: New file from libgcj. * java/awt/Graphics.java (drawRect(int,int,int,int)): New implementation from libgcj. (draw3DRect): New method from libgcj. (drawBytes): Likewise. (hitClip): Likewise. (getClipBounds(Rectangle)): Likewise. (fill3DRect): Implementation from libgcj. * java/awt/image/DirectColorModel.java: Merged with libgcj. * java/awt/Transparency.java: New file from libgcj. * java/awt/image/ColorModel.java: Merged with libgcj. * java/awt/geom/AffineTransform.java: New file from libgcj. * java/awt/geom/Dimension2D.java: New file from libgcj. * java/awt/geom/Ellipse2D.java: New file from libgcj. * java/awt/geom/IllegalPathStateException.java: New file from libgcj. * java/awt/geom/Line2D.java: New file from libgcj. * java/awt/geom/NoninvertibleTransformException.java: New file from libgcj. * java/awt/geom/PathIterator.java: New file from libgcj. * java/awt/geom/Point2D.java: New file from libgcj. * java/awt/geom/Rectangle2D.java: New file from libgcj. * java/awt/geom/Rectangle2D.java: New file from libgcj. * java/awt/geom/RectanglularShape.java: New file from libgcj. * java/awt/geom/RoundRectangle2D.java: New file from libgcj. * java/awt/Graphics2D.java: New file from libgcj. * java/awt/image/Raster.java: New file from libgcj. * java/awt/image/ComponentColorModel.java: New file from libgcj. * java/awt/image/BufferedImage.java: New file from libgcj. * java/awt/image/DataBuffer.java: New file from libgcj. * java/awt/image/DataBufferByte.java: New file from libgcj. * java/awt/image/DataBufferInt.java: New file from libgcj. * java/awt/image/DataBufferUShort.java: New file from libgcj. * java/awt/image/WritableRaster.java: New file from libgcj. * java/awt/image/ComponentSampleModel.java: New file from libgcj. * java/awt/image/PackedColorModel.java: New file from libgcj. * java/awt/image/RasterOp.java: New file from libgcj. * java/awt/image/SampleModel.java: New file from libgcj. * java/awt/image/SinglePixelPackedSampleModel.java: New file from libgcj. * java/awt/EventDispatcher.java: Removed. * java/awt/EventDispatchThread.java: New file from libgcj. * java/awt/Window.java: Merged with libgcj. * java/awt/color/ColorSpace.java: New file from libgcj. * java/awt/color/ICC_ColorSpace.java: Likewise. * java/awt/color/ICC_Profile.java: Likewise. * java/awt/AWTEventMulticaster.java: Merged with libgcj. * java/awt/event/HierarchyListener.java: New file from libgcj. * java/awt/event/HierarchyEvent.java: New file from libgcj. * java/awt/event/HierarchyBoundsListener.java: New file from libgcj. * java/awt/event/HierarchyBoundsAdapter.java: New file from libgcj. * java/awt/peer/ComponentPeer.java (getGraphicsConfiguration): New method. (setEventMask): Likewise. * java/awt/AWTEvent.java: Merged with libgcj. * java/awt/Event.java: New file from libgcj. * java/awt/GraphicsConfiguration.java: New file from libgcj. * java/awt/Component.java: Merged with libgcj. * java/awt/Container.java (addImpl): Handle case where constraint is not a String. Post event via system event queue. (remove): Post event via system event queue. (validateTree): Only validate child if it is invalid. (getAlignmentX): Call super method as default. (getAlignmentY): Likewise. (addContainerListener): Now synchronized. (removeContainerListener): Likewise. (addNotifyContainerChildren): Now private. * java/awt/FlowLayout.java (serialVersionUID): New field. (setAlignment): Better exception message. (layoutContainer): Don't compute component's preferred size unless we're going to use it. * java/awt/ComponentOrientation.java: New file from libgcj. * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS, BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants. (firstLine, lastLine, firstItem, lastItem): New fields. (addLayoutComponent): Handle case where constraints is null. Also, handle relative locations. (removeLayoutComponent): Handle relative locations. (MIN, MAX, PREF): New constants. (calcCompSize): New method. (calcSize): New method. (minimumLayoutSize): Use it. (preferredLayoutSize): Likewise. (maximumLayoutSize): Likewise. (toString): Include more information. (setBounds): New method. (layoutContainer): Use libgcj implementation; extended to handle relative locations.
* Update copyright notices.Mark Wielaard2002-01-131-12/+19
|
* debugging changes to AWTJohn Leuner2001-11-051-2/+5
|
* Removed AWT 1.0 methods so that all compilesJohn Leuner2001-08-111-2/+2
|
* Change license to clearly state that these are part of the non-peer AWT ↵Paul Fisher2000-03-171-19/+18
| | | | libraries.
* Initial CheckinAaron M. Renn1999-05-091-0/+997