summaryrefslogtreecommitdiff
path: root/javax/swing/plaf/basic/BasicTreeUI.java
Commit message (Collapse)AuthorAgeFilesLines
* Normalise whitespace.Andrew John Hughes2010-06-031-218/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-06-03 Andrew John Hughes <ahughes@redhat.com> * examples/gnu/classpath/examples/CORBA/NamingService/Demo.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPass.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturn.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNode.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisException.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterImplBase.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterStub.java, * examples/gnu/classpath/examples/CORBA/swing/x5/CanvasWorld.java, * examples/gnu/classpath/examples/CORBA/swing/x5/ChatConstants.java, * examples/gnu/classpath/examples/CORBA/swing/x5/ClientFrame.java, * examples/gnu/classpath/examples/CORBA/swing/x5/Demo.java, * examples/gnu/classpath/examples/CORBA/swing/x5/GameManager.java, * examples/gnu/classpath/examples/CORBA/swing/x5/GameManagerImpl.java, * examples/gnu/classpath/examples/CORBA/swing/x5/IorReader.java, * examples/gnu/classpath/examples/CORBA/swing/x5/OrbStarter.java, * examples/gnu/classpath/examples/CORBA/swing/x5/Player.java, * examples/gnu/classpath/examples/CORBA/swing/x5/PlayerImpl.java, * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java, * examples/gnu/classpath/examples/CORBA/swing/x5/State.java, * examples/gnu/classpath/examples/CORBA/swing/x5/X5Server.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManager_Stub.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_Player_Stub.java, * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java, * examples/gnu/classpath/examples/awt/Demo.java, * examples/gnu/classpath/examples/awt/HintingDemo.java, * examples/gnu/classpath/examples/datatransfer/Demo.java, * examples/gnu/classpath/examples/html/Demo.java, * examples/gnu/classpath/examples/java2d/J2dBenchmark.java, * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java, * examples/gnu/classpath/examples/java2d/JNIOverhead.java, * examples/gnu/classpath/examples/jawt/DemoJAWT.java, * examples/gnu/classpath/examples/management/TestClassLoading.java, * examples/gnu/classpath/examples/management/TestCompilation.java, * examples/gnu/classpath/examples/management/TestGarbageCollector.java, * examples/gnu/classpath/examples/management/TestMemory.java, * examples/gnu/classpath/examples/management/TestMemoryManager.java, * examples/gnu/classpath/examples/management/TestMemoryPool.java, * examples/gnu/classpath/examples/management/TestThread.java, * examples/gnu/classpath/examples/midi/Demo.java, * examples/gnu/classpath/examples/print/Demo.java, * examples/gnu/classpath/examples/sound/AudioPlayerSample.java, * examples/gnu/classpath/examples/swing/BrowserEditorKit.java, * examples/gnu/classpath/examples/swing/ButtonDemo.java, * examples/gnu/classpath/examples/swing/ComboBoxDemo.java, * examples/gnu/classpath/examples/swing/Demo.java, * examples/gnu/classpath/examples/swing/DemoFactory.java, * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java, * examples/gnu/classpath/examples/swing/FileChooserDemo.java, * examples/gnu/classpath/examples/swing/HtmlDemo.java, * examples/gnu/classpath/examples/swing/ListDemo.java, * examples/gnu/classpath/examples/swing/MetalThemeEditor.java, * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java, * examples/gnu/classpath/examples/swing/ScrollBarDemo.java, * examples/gnu/classpath/examples/swing/SliderDemo.java, * examples/gnu/classpath/examples/swing/SpinnerDemo.java, * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java, * examples/gnu/classpath/examples/swing/TableDemo.java, * examples/gnu/classpath/examples/swing/TextAreaDemo.java, * examples/gnu/classpath/examples/swing/TextFieldDemo.java, * examples/gnu/classpath/examples/swing/TreeDemo.java, * gnu/CORBA/BigDecimalHelper.java, * gnu/CORBA/CDR/AbstractCdrInput.java, * gnu/CORBA/CDR/AbstractCdrOutput.java, * gnu/CORBA/CDR/AbstractDataInput.java, * gnu/CORBA/CDR/AbstractDataOutput.java, * gnu/CORBA/CDR/AligningInput.java, * gnu/CORBA/CDR/AligningOutput.java, * gnu/CORBA/CDR/ArrayValueHelper.java, * gnu/CORBA/CDR/BigEndianInputStream.java, * gnu/CORBA/CDR/BigEndianOutputStream.java, * gnu/CORBA/CDR/BufferedCdrOutput.java, * gnu/CORBA/CDR/BufferredCdrInput.java, * gnu/CORBA/CDR/HeadlessInput.java, * gnu/CORBA/CDR/IDLTypeHelper.java, * gnu/CORBA/CDR/LittleEndianOutputStream.java, * gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, * gnu/CORBA/CDR/VMVio.java, * gnu/CORBA/CDR/Vio.java, * gnu/CORBA/CDR/gnuRuntime.java, * gnu/CORBA/CDR/gnuValueStream.java, * gnu/CORBA/CdrEncapsCodecImpl.java, * gnu/CORBA/CollocatedOrbs.java, * gnu/CORBA/Connected_objects.java, * gnu/CORBA/DefaultSocketFactory.java, * gnu/CORBA/DuplicateNameHolder.java, * gnu/CORBA/DynAn/AbstractAny.java, * gnu/CORBA/DynAn/DivideableAny.java, * gnu/CORBA/DynAn/NameValuePairHolder.java, * gnu/CORBA/DynAn/RecordAny.java, * gnu/CORBA/DynAn/ValueChangeListener.java, * gnu/CORBA/DynAn/gnuDynAny.java, * gnu/CORBA/DynAn/gnuDynAnyFactory.java, * gnu/CORBA/DynAn/gnuDynArray.java, * gnu/CORBA/DynAn/gnuDynEnum.java, * gnu/CORBA/DynAn/gnuDynFixed.java, * gnu/CORBA/DynAn/gnuDynSequence.java, * gnu/CORBA/DynAn/gnuDynUnion.java, * gnu/CORBA/DynAn/gnuDynValue.java, * gnu/CORBA/DynAn/gnuDynValueBox.java, * gnu/CORBA/DynAnySeqHolder.java, * gnu/CORBA/EmptyExceptionHolder.java, * gnu/CORBA/ForwardRequestHelper.java, * gnu/CORBA/GIOP/CharSets_OSF.java, * gnu/CORBA/GIOP/CloseMessage.java, * gnu/CORBA/GIOP/ErrorMessage.java, * gnu/CORBA/GIOP/MessageHeader.java, * gnu/CORBA/GIOP/ServiceContext.java, * gnu/CORBA/GIOP/v1_2/RequestHeader.java, * gnu/CORBA/GeneralHolder.java, * gnu/CORBA/IOR.java, * gnu/CORBA/Interceptor/ClientRequestInterceptors.java, * gnu/CORBA/Interceptor/ForwardRequestHolder.java, * gnu/CORBA/Interceptor/IORInterceptors.java, * gnu/CORBA/Interceptor/Registrator.java, * gnu/CORBA/Interceptor/ServerRequestInterceptors.java, * gnu/CORBA/Interceptor/gnuClientRequestInfo.java, * gnu/CORBA/Interceptor/gnuIcCurrent.java, * gnu/CORBA/Interceptor/gnuIorInfo.java, * gnu/CORBA/Interceptor/gnuServerRequestInfo.java, * gnu/CORBA/IorDelegate.java, * gnu/CORBA/IorObject.java, * gnu/CORBA/Minor.java, * gnu/CORBA/NameDynAnyPairHolder.java, * gnu/CORBA/NameDynAnyPairSeqHolder.java, * gnu/CORBA/NameValuePairHolder.java, * gnu/CORBA/NameValuePairSeqHolder.java, * gnu/CORBA/NamingService/NameParser.java, * gnu/CORBA/NamingService/NamingMap.java, * gnu/CORBA/NamingService/NamingServiceTransient.java, * gnu/CORBA/NamingService/TransientContext.java, * gnu/CORBA/ObjectCreator.java, * gnu/CORBA/OrbFocused.java, * gnu/CORBA/OrbFunctional.java, * gnu/CORBA/OrbRestricted.java, * gnu/CORBA/Poa/AOM.java, * gnu/CORBA/Poa/AccessiblePolicy.java, * gnu/CORBA/Poa/DynamicImpHandler.java, * gnu/CORBA/Poa/ForwardRequestHolder.java, * gnu/CORBA/Poa/ForwardedServant.java, * gnu/CORBA/Poa/InvalidPolicyHolder.java, * gnu/CORBA/Poa/LocalDelegate.java, * gnu/CORBA/Poa/LocalRequest.java, * gnu/CORBA/Poa/LocalServerRequest.java, * gnu/CORBA/Poa/ORB_1_4.java, * gnu/CORBA/Poa/ServantDelegateImpl.java, * gnu/CORBA/Poa/StandardPolicies.java, * gnu/CORBA/Poa/gnuAdapterActivator.java, * gnu/CORBA/Poa/gnuForwardRequest.java, * gnu/CORBA/Poa/gnuIdAssignmentPolicy.java, * gnu/CORBA/Poa/gnuIdUniquenessPolicy.java, * gnu/CORBA/Poa/gnuImplicitActivationPolicy.java, * gnu/CORBA/Poa/gnuLifespanPolicy.java, * gnu/CORBA/Poa/gnuPOA.java, * gnu/CORBA/Poa/gnuPOAManager.java, * gnu/CORBA/Poa/gnuPoaCurrent.java, * gnu/CORBA/Poa/gnuRequestProcessingPolicy.java, * gnu/CORBA/Poa/gnuServantObject.java, * gnu/CORBA/Poa/gnuServantRetentionPolicy.java, * gnu/CORBA/Poa/gnuThreadPolicy.java, * gnu/CORBA/ServiceRequestAdapter.java, * gnu/CORBA/SetOverrideTypeHolder.java, * gnu/CORBA/SimpleDelegate.java, * gnu/CORBA/SocketRepository.java, * gnu/CORBA/StreamHolder.java, * gnu/CORBA/TypeCodeHelper.java, * gnu/CORBA/TypeKindNamer.java, * gnu/CORBA/Version.java, * gnu/CORBA/_PolicyImplBase.java, * gnu/CORBA/gnuAny.java, * gnu/CORBA/gnuCodecFactory.java, * gnu/CORBA/gnuEnvironment.java, * gnu/CORBA/gnuRequest.java, * gnu/CORBA/gnuValueHolder.java, * gnu/CORBA/interfaces/SocketFactory.java, * gnu/CORBA/typecodes/AliasTypeCode.java, * gnu/CORBA/typecodes/ArrayTypeCode.java, * gnu/CORBA/typecodes/FixedTypeCode.java, * gnu/CORBA/typecodes/GeneralTypeCode.java, * gnu/CORBA/typecodes/PrimitiveTypeCode.java, * gnu/CORBA/typecodes/RecordTypeCode.java, * gnu/CORBA/typecodes/RecursiveTypeCode.java, * gnu/CORBA/typecodes/StringTypeCode.java, * gnu/classpath/Pair.java, * gnu/classpath/Pointer.java, * gnu/classpath/Pointer32.java, * gnu/classpath/Pointer64.java, * gnu/classpath/ServiceFactory.java, * gnu/classpath/ServiceProviderLoadingAction.java, * gnu/classpath/SystemProperties.java, * gnu/classpath/debug/Component.java, * gnu/classpath/debug/PreciseFilter.java, * gnu/classpath/debug/SystemLogger.java, * gnu/classpath/debug/TeeInputStream.java, * gnu/classpath/debug/TeeReader.java, * gnu/classpath/jdwp/Jdwp.java, * gnu/classpath/jdwp/JdwpConstants.java, * gnu/classpath/jdwp/event/BreakpointEvent.java, * gnu/classpath/jdwp/event/ClassPrepareEvent.java, * gnu/classpath/jdwp/event/ClassUnloadEvent.java, * gnu/classpath/jdwp/event/Event.java, * gnu/classpath/jdwp/event/EventManager.java, * gnu/classpath/jdwp/event/EventRequest.java, * gnu/classpath/jdwp/event/ExceptionEvent.java, * gnu/classpath/jdwp/event/MethodEntryEvent.java, * gnu/classpath/jdwp/event/MethodExitEvent.java, * gnu/classpath/jdwp/event/SingleStepEvent.java, * gnu/classpath/jdwp/event/ThreadEndEvent.java, * gnu/classpath/jdwp/event/VmDeathEvent.java, * gnu/classpath/jdwp/event/VmInitEvent.java, * gnu/classpath/jdwp/event/filters/ClassExcludeFilter.java, * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java, * gnu/classpath/jdwp/event/filters/ClassOnlyFilter.java, * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java, * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java, * gnu/classpath/jdwp/event/filters/InstanceOnlyFilter.java, * gnu/classpath/jdwp/event/filters/StepFilter.java, * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java, * gnu/classpath/jdwp/exception/InvalidClassException.java, * gnu/classpath/jdwp/exception/InvalidClassLoaderException.java, * gnu/classpath/jdwp/exception/InvalidEventTypeException.java, * gnu/classpath/jdwp/exception/InvalidFieldException.java, * gnu/classpath/jdwp/exception/InvalidFrameException.java, * gnu/classpath/jdwp/exception/InvalidLocationException.java, * gnu/classpath/jdwp/exception/InvalidMethodException.java, * gnu/classpath/jdwp/exception/InvalidObjectException.java, * gnu/classpath/jdwp/exception/InvalidSlotException.java, * gnu/classpath/jdwp/exception/InvalidStringException.java, * gnu/classpath/jdwp/exception/InvalidThreadException.java, * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java, * gnu/classpath/jdwp/exception/NativeMethodException.java, * gnu/classpath/jdwp/exception/NotImplementedException.java, * gnu/classpath/jdwp/id/JdwpId.java, * gnu/classpath/jdwp/id/NullObjectId.java, * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java, * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ClassObjectReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java, * gnu/classpath/jdwp/processor/CommandSet.java, * gnu/classpath/jdwp/processor/EventRequestCommandSet.java, * gnu/classpath/jdwp/processor/FieldCommandSet.java, * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java, * gnu/classpath/jdwp/processor/MethodCommandSet.java, * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java, * gnu/classpath/jdwp/processor/PacketProcessor.java, * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java, * gnu/classpath/jdwp/processor/StackFrameCommandSet.java, * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java, * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java, * gnu/classpath/jdwp/transport/JdwpCommandPacket.java, * gnu/classpath/jdwp/transport/JdwpConnection.java, * gnu/classpath/jdwp/transport/JdwpPacket.java, * gnu/classpath/jdwp/transport/JdwpReplyPacket.java, * gnu/classpath/jdwp/transport/SocketTransport.java, * gnu/classpath/jdwp/transport/TransportFactory.java, * gnu/classpath/jdwp/util/JdwpString.java, * gnu/classpath/jdwp/util/LineTable.java, * gnu/classpath/jdwp/util/Location.java, * gnu/classpath/jdwp/util/MethodResult.java, * gnu/classpath/jdwp/util/MonitorInfo.java, * gnu/classpath/jdwp/util/Signature.java, * gnu/classpath/jdwp/util/VariableTable.java, * gnu/classpath/jdwp/value/ArrayValue.java, * gnu/classpath/jdwp/value/BooleanValue.java, * gnu/classpath/jdwp/value/ByteValue.java, * gnu/classpath/jdwp/value/CharValue.java, * gnu/classpath/jdwp/value/DoubleValue.java, * gnu/classpath/jdwp/value/FloatValue.java, * gnu/classpath/jdwp/value/IntValue.java, * gnu/classpath/jdwp/value/LongValue.java, * gnu/classpath/jdwp/value/ObjectValue.java, * gnu/classpath/jdwp/value/ShortValue.java, * gnu/classpath/jdwp/value/StringValue.java, * gnu/classpath/jdwp/value/Value.java, * gnu/classpath/jdwp/value/ValueFactory.java, * gnu/classpath/jdwp/value/VoidValue.java, * gnu/classpath/toolkit/DefaultDaemonThreadFactory.java, * gnu/java/awt/AWTUtilities.java, * gnu/java/awt/BitMaskExtent.java, * gnu/java/awt/BitwiseXORComposite.java, * gnu/java/awt/Buffers.java, * gnu/java/awt/ClasspathGraphicsEnvironment.java, * gnu/java/awt/ClasspathToolkit.java, * gnu/java/awt/ComponentDataBlitOp.java, * gnu/java/awt/EmbeddedWindow.java, * gnu/java/awt/GradientPaintContext.java, * gnu/java/awt/color/CieXyzConverter.java, * gnu/java/awt/color/ClutProfileConverter.java, * gnu/java/awt/color/ColorLookUpTable.java, * gnu/java/awt/color/GrayProfileConverter.java, * gnu/java/awt/color/GrayScaleConverter.java, * gnu/java/awt/color/LinearRGBConverter.java, * gnu/java/awt/color/ProfileHeader.java, * gnu/java/awt/color/RgbProfileConverter.java, * gnu/java/awt/color/SrgbConverter.java, * gnu/java/awt/color/ToneReproductionCurve.java, * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java, * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java, * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java, * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java, * gnu/java/awt/font/FontDelegate.java, * gnu/java/awt/font/FontFactory.java, * gnu/java/awt/font/GNUGlyphVector.java, * gnu/java/awt/font/OpenTypeFontPeer.java, * gnu/java/awt/font/autofit/GlyphHints.java, * gnu/java/awt/font/autofit/Latin.java, * gnu/java/awt/font/autofit/Utils.java, * gnu/java/awt/font/opentype/CharGlyphMap.java, * gnu/java/awt/font/opentype/GlyphNamer.java, * gnu/java/awt/font/opentype/MacResourceFork.java, * gnu/java/awt/font/opentype/NameDecoder.java, * gnu/java/awt/font/opentype/OpenTypeFont.java, * gnu/java/awt/font/opentype/OpenTypeFontFactory.java, * gnu/java/awt/font/opentype/truetype/GlyphLoader.java, * gnu/java/awt/font/opentype/truetype/GlyphLocator.java, * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java, * gnu/java/awt/font/opentype/truetype/Point.java, * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java, * gnu/java/awt/font/opentype/truetype/VirtualMachine.java, * gnu/java/awt/font/opentype/truetype/Zone.java, * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java, * gnu/java/awt/image/AsyncImage.java, * gnu/java/awt/image/ImageConverter.java, * gnu/java/awt/image/ImageDecoder.java, * gnu/java/awt/image/XBMDecoder.java, * gnu/java/awt/java2d/AbstractGraphics2D.java, * gnu/java/awt/java2d/AlphaCompositeContext.java, * gnu/java/awt/java2d/CubicSegment.java, * gnu/java/awt/java2d/LineSegment.java, * gnu/java/awt/java2d/PixelCoverage.java, * gnu/java/awt/java2d/QuadSegment.java, * gnu/java/awt/java2d/RasterGraphics.java, * gnu/java/awt/java2d/ScanlineConverter.java, * gnu/java/awt/java2d/ScanlineCoverage.java, * gnu/java/awt/java2d/Segment.java, * gnu/java/awt/java2d/TexturePaintContext.java, * gnu/java/awt/peer/ClasspathDesktopPeer.java, * gnu/java/awt/peer/ClasspathFontPeer.java, * gnu/java/awt/peer/GLightweightPeer.java, * gnu/java/awt/peer/GnomeDesktopPeer.java, * gnu/java/awt/peer/KDEDesktopPeer.java, * gnu/java/awt/peer/gtk/AsyncImage.java, * gnu/java/awt/peer/gtk/BufferedImageGraphics.java, * gnu/java/awt/peer/gtk/CairoGraphics2D.java, * gnu/java/awt/peer/gtk/CairoSurface.java, * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java, * gnu/java/awt/peer/gtk/ComponentGraphics.java, * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java, * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java, * gnu/java/awt/peer/gtk/GdkFontPeer.java, * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java, * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, * gnu/java/awt/peer/gtk/GdkRobotPeer.java, * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java, * gnu/java/awt/peer/gtk/GtkButtonPeer.java, * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, * gnu/java/awt/peer/gtk/GtkChoicePeer.java, * gnu/java/awt/peer/gtk/GtkClipboard.java, * gnu/java/awt/peer/gtk/GtkComponentPeer.java, * gnu/java/awt/peer/gtk/GtkContainerPeer.java, * gnu/java/awt/peer/gtk/GtkCursor.java, * gnu/java/awt/peer/gtk/GtkDialogPeer.java, * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, * gnu/java/awt/peer/gtk/GtkFramePeer.java, * gnu/java/awt/peer/gtk/GtkGenericPeer.java, * gnu/java/awt/peer/gtk/GtkImage.java, * gnu/java/awt/peer/gtk/GtkImageConsumer.java, * gnu/java/awt/peer/gtk/GtkLabelPeer.java, * gnu/java/awt/peer/gtk/GtkListPeer.java, * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, * gnu/java/awt/peer/gtk/GtkMenuPeer.java, * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java, * gnu/java/awt/peer/gtk/GtkPanelPeer.java, * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, * gnu/java/awt/peer/gtk/GtkSelection.java, * gnu/java/awt/peer/gtk/GtkToolkit.java, * gnu/java/awt/peer/gtk/GtkVolatileImage.java, * gnu/java/awt/peer/gtk/GtkWindowPeer.java, * gnu/java/awt/peer/gtk/VolatileImageGraphics.java, * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java, * gnu/java/awt/peer/qt/MainQtThread.java, * gnu/java/awt/peer/qt/QMatrix.java, * gnu/java/awt/peer/qt/QPainterPath.java, * gnu/java/awt/peer/qt/QPen.java, * gnu/java/awt/peer/qt/QtAudioClip.java, * gnu/java/awt/peer/qt/QtButtonPeer.java, * gnu/java/awt/peer/qt/QtCheckboxPeer.java, * gnu/java/awt/peer/qt/QtChoicePeer.java, * gnu/java/awt/peer/qt/QtComponentGraphics.java, * gnu/java/awt/peer/qt/QtComponentPeer.java, * gnu/java/awt/peer/qt/QtContainerPeer.java, * gnu/java/awt/peer/qt/QtDialogPeer.java, * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java, * gnu/java/awt/peer/qt/QtFileDialogPeer.java, * gnu/java/awt/peer/qt/QtFontMetrics.java, * gnu/java/awt/peer/qt/QtFontPeer.java, * gnu/java/awt/peer/qt/QtFramePeer.java, * gnu/java/awt/peer/qt/QtGraphics.java, * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java, * gnu/java/awt/peer/qt/QtImage.java, * gnu/java/awt/peer/qt/QtImageConsumer.java, * gnu/java/awt/peer/qt/QtImageDirectGraphics.java, * gnu/java/awt/peer/qt/QtImageGraphics.java, * gnu/java/awt/peer/qt/QtLabelPeer.java, * gnu/java/awt/peer/qt/QtListPeer.java, * gnu/java/awt/peer/qt/QtMenuBarPeer.java, * gnu/java/awt/peer/qt/QtMenuComponentPeer.java, * gnu/java/awt/peer/qt/QtMenuItemPeer.java, * gnu/java/awt/peer/qt/QtMenuPeer.java, * gnu/java/awt/peer/qt/QtPanelPeer.java, * gnu/java/awt/peer/qt/QtPopupMenuPeer.java, * gnu/java/awt/peer/qt/QtRepaintThread.java, * gnu/java/awt/peer/qt/QtScreenDevice.java, * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java, * gnu/java/awt/peer/qt/QtScrollPanePeer.java, * gnu/java/awt/peer/qt/QtScrollbarPeer.java, * gnu/java/awt/peer/qt/QtTextAreaPeer.java, * gnu/java/awt/peer/qt/QtTextFieldPeer.java, * gnu/java/awt/peer/qt/QtToolkit.java, * gnu/java/awt/peer/qt/QtVolatileImage.java, * gnu/java/awt/peer/qt/QtWindowPeer.java, * gnu/java/awt/peer/swing/SwingButtonPeer.java, * gnu/java/awt/peer/swing/SwingCheckboxPeer.java, * gnu/java/awt/peer/swing/SwingComponent.java, * gnu/java/awt/peer/swing/SwingComponentPeer.java, * gnu/java/awt/peer/swing/SwingContainerPeer.java, * gnu/java/awt/peer/swing/SwingLabelPeer.java, * gnu/java/awt/peer/swing/SwingListPeer.java, * gnu/java/awt/peer/swing/SwingMenuItemPeer.java, * gnu/java/awt/peer/swing/SwingMenuPeer.java, * gnu/java/awt/peer/swing/SwingTextAreaPeer.java, * gnu/java/awt/peer/swing/SwingTextFieldPeer.java, * gnu/java/awt/peer/x/GLGraphics.java, * gnu/java/awt/peer/x/KeyboardMapping.java, * gnu/java/awt/peer/x/XEventPump.java, * gnu/java/awt/peer/x/XFontPeer.java, * gnu/java/awt/peer/x/XFramePeer.java, * gnu/java/awt/peer/x/XGraphics2D.java, * gnu/java/awt/peer/x/XGraphicsConfiguration.java, * gnu/java/awt/peer/x/XGraphicsDevice.java, * gnu/java/awt/peer/x/XGraphicsEnvironment.java, * gnu/java/awt/peer/x/XImage.java, * gnu/java/awt/peer/x/XToolkit.java, * gnu/java/awt/peer/x/XWindowPeer.java, * gnu/java/awt/print/JavaPrinterGraphics.java, * gnu/java/awt/print/JavaPrinterJob.java, * gnu/java/awt/print/PostScriptGraphics2D.java, * gnu/java/awt/print/SpooledDocument.java, * gnu/java/beans/BeanInfoEmbryo.java, * gnu/java/beans/DefaultExceptionListener.java, * gnu/java/beans/ExplicitBeanInfo.java, * gnu/java/beans/IntrospectionIncubator.java, * gnu/java/beans/decoder/AbstractContext.java, * gnu/java/beans/decoder/AbstractCreatableObjectContext.java, * gnu/java/beans/decoder/AbstractElementHandler.java, * gnu/java/beans/decoder/AbstractObjectContext.java, * gnu/java/beans/decoder/ArrayContext.java, * gnu/java/beans/decoder/ArrayHandler.java, * gnu/java/beans/decoder/AssemblyException.java, * gnu/java/beans/decoder/BooleanHandler.java, * gnu/java/beans/decoder/ByteHandler.java, * gnu/java/beans/decoder/CharHandler.java, * gnu/java/beans/decoder/ClassHandler.java, * gnu/java/beans/decoder/ConstructorContext.java, * gnu/java/beans/decoder/Context.java, * gnu/java/beans/decoder/DecoderContext.java, * gnu/java/beans/decoder/DoubleHandler.java, * gnu/java/beans/decoder/DummyContext.java, * gnu/java/beans/decoder/DummyHandler.java, * gnu/java/beans/decoder/ElementHandler.java, * gnu/java/beans/decoder/FloatHandler.java, * gnu/java/beans/decoder/GrowableArrayContext.java, * gnu/java/beans/decoder/IndexContext.java, * gnu/java/beans/decoder/IntHandler.java, * gnu/java/beans/decoder/JavaHandler.java, * gnu/java/beans/decoder/LongHandler.java, * gnu/java/beans/decoder/MethodContext.java, * gnu/java/beans/decoder/MethodFinder.java, * gnu/java/beans/decoder/NullHandler.java, * gnu/java/beans/decoder/ObjectContext.java, * gnu/java/beans/decoder/ObjectHandler.java, * gnu/java/beans/decoder/PersistenceParser.java, * gnu/java/beans/decoder/PropertyContext.java, * gnu/java/beans/decoder/ShortHandler.java, * gnu/java/beans/decoder/SimpleHandler.java, * gnu/java/beans/decoder/StaticMethodContext.java, * gnu/java/beans/decoder/StringHandler.java, * gnu/java/beans/decoder/VoidHandler.java, * gnu/java/beans/editors/ColorEditor.java, * gnu/java/beans/editors/FontEditor.java, * gnu/java/beans/editors/NativeBooleanEditor.java, * gnu/java/beans/editors/NativeByteEditor.java, * gnu/java/beans/editors/NativeDoubleEditor.java, * gnu/java/beans/editors/NativeFloatEditor.java, * gnu/java/beans/editors/NativeIntEditor.java, * gnu/java/beans/editors/NativeLongEditor.java, * gnu/java/beans/editors/NativeShortEditor.java, * gnu/java/beans/editors/StringEditor.java, * gnu/java/beans/encoder/ArrayPersistenceDelegate.java, * gnu/java/beans/encoder/ClassPersistenceDelegate.java, * gnu/java/beans/encoder/CollectionPersistenceDelegate.java, * gnu/java/beans/encoder/Context.java, * gnu/java/beans/encoder/GenericScannerState.java, * gnu/java/beans/encoder/IgnoringScannerState.java, * gnu/java/beans/encoder/MapPersistenceDelegate.java, * gnu/java/beans/encoder/ObjectId.java, * gnu/java/beans/encoder/PrimitivePersistenceDelegate.java, * gnu/java/beans/encoder/ReportingScannerState.java, * gnu/java/beans/encoder/Root.java, * gnu/java/beans/encoder/ScanEngine.java, * gnu/java/beans/encoder/ScannerState.java, * gnu/java/beans/encoder/StAXWriter.java, * gnu/java/beans/encoder/Writer.java, * gnu/java/beans/encoder/elements/ArrayInstantiation.java, * gnu/java/beans/encoder/elements/Array_Get.java, * gnu/java/beans/encoder/elements/ClassResolution.java, * gnu/java/beans/encoder/elements/Element.java, * gnu/java/beans/encoder/elements/List_Get.java, * gnu/java/beans/encoder/elements/List_Set.java, * gnu/java/beans/encoder/elements/MethodInvocation.java, * gnu/java/beans/encoder/elements/NullObject.java, * gnu/java/beans/encoder/elements/ObjectInstantiation.java, * gnu/java/beans/encoder/elements/ObjectReference.java, * gnu/java/beans/encoder/elements/PrimitiveInstantiation.java, * gnu/java/beans/encoder/elements/StaticFieldAccess.java, * gnu/java/beans/encoder/elements/StaticMethodInvocation.java, * gnu/java/beans/encoder/elements/StringReference.java, * gnu/java/io/ASN1ParsingException.java, * gnu/java/io/Base64InputStream.java, * gnu/java/io/ClassLoaderObjectInputStream.java, * gnu/java/io/NullOutputStream.java, * gnu/java/io/ObjectIdentityMap2Int.java, * gnu/java/io/ObjectIdentityWrapper.java, * gnu/java/io/PlatformHelper.java, * gnu/java/lang/CPStringBuilder.java, * gnu/java/lang/CharData.java, * gnu/java/lang/InstrumentationImpl.java, * gnu/java/lang/MainThread.java, * gnu/java/lang/management/BeanImpl.java, * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, * gnu/java/lang/management/CompilationMXBeanImpl.java, * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, * gnu/java/lang/management/MemoryMXBeanImpl.java, * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, * gnu/java/lang/management/OperatingSystemMXBeanImpl.java, * gnu/java/lang/management/RuntimeMXBeanImpl.java, * gnu/java/lang/management/ThreadMXBeanImpl.java, * gnu/java/lang/reflect/TypeSignature.java, * gnu/java/locale/LocaleHelper.java, * gnu/java/math/Fixed.java, * gnu/java/math/GMP.java, * gnu/java/math/MPN.java, * gnu/java/net/CRLFInputStream.java, * gnu/java/net/CRLFOutputStream.java, * gnu/java/net/DefaultContentHandlerFactory.java, * gnu/java/net/DefaultProxySelector.java, * gnu/java/net/EmptyX509TrustManager.java, * gnu/java/net/GetLocalHostAction.java, * gnu/java/net/HeaderFieldHelper.java, * gnu/java/net/IndexListParser.java, * gnu/java/net/LineInputStream.java, * gnu/java/net/PlainDatagramSocketImpl.java, * gnu/java/net/PlainSocketImpl.java, * gnu/java/net/loader/FileResource.java, * gnu/java/net/loader/FileURLLoader.java, * gnu/java/net/loader/JarURLLoader.java, * gnu/java/net/loader/JarURLResource.java, * gnu/java/net/loader/RemoteResource.java, * gnu/java/net/loader/RemoteURLLoader.java, * gnu/java/net/loader/Resource.java, * gnu/java/net/loader/URLLoader.java, * gnu/java/net/protocol/file/Connection.java, * gnu/java/net/protocol/file/Handler.java, * gnu/java/net/protocol/ftp/ActiveModeDTP.java, * gnu/java/net/protocol/ftp/BlockInputStream.java, * gnu/java/net/protocol/ftp/BlockOutputStream.java, * gnu/java/net/protocol/ftp/CompressedInputStream.java, * gnu/java/net/protocol/ftp/CompressedOutputStream.java, * gnu/java/net/protocol/ftp/DTP.java, * gnu/java/net/protocol/ftp/DTPInputStream.java, * gnu/java/net/protocol/ftp/DTPOutputStream.java, * gnu/java/net/protocol/ftp/FTPConnection.java, * gnu/java/net/protocol/ftp/FTPException.java, * gnu/java/net/protocol/ftp/FTPResponse.java, * gnu/java/net/protocol/ftp/FTPURLConnection.java, * gnu/java/net/protocol/ftp/Handler.java, * gnu/java/net/protocol/ftp/PassiveModeDTP.java, * gnu/java/net/protocol/ftp/StreamInputStream.java, * gnu/java/net/protocol/ftp/StreamOutputStream.java, * gnu/java/net/protocol/http/Authenticator.java, * gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java, * gnu/java/net/protocol/http/ChunkedInputStream.java, * gnu/java/net/protocol/http/Cookie.java, * gnu/java/net/protocol/http/CookieManager.java, * gnu/java/net/protocol/http/Credentials.java, * gnu/java/net/protocol/http/HTTPConnection.java, * gnu/java/net/protocol/http/HTTPDateFormat.java, * gnu/java/net/protocol/http/HTTPURLConnection.java, * gnu/java/net/protocol/http/Handler.java, * gnu/java/net/protocol/http/Headers.java, * gnu/java/net/protocol/http/Request.java, * gnu/java/net/protocol/http/RequestBodyWriter.java, * gnu/java/net/protocol/http/Response.java, * gnu/java/net/protocol/http/ResponseHeaderHandler.java, * gnu/java/net/protocol/http/SimpleCookieManager.java, * gnu/java/net/protocol/https/Handler.java, * gnu/java/net/protocol/jar/Connection.java, * gnu/java/net/protocol/jar/Handler.java, * gnu/java/nio/ChannelInputStream.java, * gnu/java/nio/ChannelOutputStream.java, * gnu/java/nio/ChannelReader.java, * gnu/java/nio/ChannelWriter.java, * gnu/java/nio/DatagramChannelImpl.java, * gnu/java/nio/DatagramChannelSelectionKey.java, * gnu/java/nio/EpollSelectionKeyImpl.java, * gnu/java/nio/EpollSelectorImpl.java, * gnu/java/nio/FileChannelImpl.java, * gnu/java/nio/FileLockImpl.java, * gnu/java/nio/InputStreamChannel.java, * gnu/java/nio/KqueueSelectionKeyImpl.java, * gnu/java/nio/KqueueSelectorImpl.java, * gnu/java/nio/NIODatagramSocket.java, * gnu/java/nio/NIOServerSocket.java, * gnu/java/nio/NIOSocket.java, * gnu/java/nio/NIOSocketImpl.java, * gnu/java/nio/OutputStreamChannel.java, * gnu/java/nio/PipeImpl.java, * gnu/java/nio/SelectionKeyImpl.java, * gnu/java/nio/SelectorImpl.java, * gnu/java/nio/SelectorProviderImpl.java, * gnu/java/nio/ServerSocketChannelImpl.java, * gnu/java/nio/ServerSocketChannelSelectionKey.java, * gnu/java/nio/SocketChannelImpl.java, * gnu/java/nio/SocketChannelSelectionKey.java, * gnu/java/nio/SocketChannelSelectionKeyImpl.java, * gnu/java/nio/VMChannelOwner.java, * gnu/java/nio/charset/ByteCharset.java, * gnu/java/nio/charset/ByteDecodeLoopHelper.java, * gnu/java/nio/charset/ByteEncodeLoopHelper.java, * gnu/java/nio/charset/Cp424.java, * gnu/java/nio/charset/Cp437.java, * gnu/java/nio/charset/Cp737.java, * gnu/java/nio/charset/Cp775.java, * gnu/java/nio/charset/Cp850.java, * gnu/java/nio/charset/Cp852.java, * gnu/java/nio/charset/Cp855.java, * gnu/java/nio/charset/Cp857.java, * gnu/java/nio/charset/Cp860.java, * gnu/java/nio/charset/Cp861.java, * gnu/java/nio/charset/Cp862.java, * gnu/java/nio/charset/Cp863.java, * gnu/java/nio/charset/Cp864.java, * gnu/java/nio/charset/Cp865.java, * gnu/java/nio/charset/Cp866.java, * gnu/java/nio/charset/Cp869.java, * gnu/java/nio/charset/Cp874.java, * gnu/java/nio/charset/EncodingHelper.java, * gnu/java/nio/charset/ISO_8859_1.java, * gnu/java/nio/charset/ISO_8859_13.java, * gnu/java/nio/charset/ISO_8859_15.java, * gnu/java/nio/charset/ISO_8859_2.java, * gnu/java/nio/charset/ISO_8859_3.java, * gnu/java/nio/charset/ISO_8859_4.java, * gnu/java/nio/charset/ISO_8859_5.java, * gnu/java/nio/charset/ISO_8859_6.java, * gnu/java/nio/charset/ISO_8859_7.java, * gnu/java/nio/charset/ISO_8859_8.java, * gnu/java/nio/charset/ISO_8859_9.java, * gnu/java/nio/charset/KOI_8.java, * gnu/java/nio/charset/MS874.java, * gnu/java/nio/charset/MacCentralEurope.java, * gnu/java/nio/charset/MacCroatian.java, * gnu/java/nio/charset/MacCyrillic.java, * gnu/java/nio/charset/MacDingbat.java, * gnu/java/nio/charset/MacGreek.java, * gnu/java/nio/charset/MacIceland.java, * gnu/java/nio/charset/MacRoman.java, * gnu/java/nio/charset/MacRomania.java, * gnu/java/nio/charset/MacSymbol.java, * gnu/java/nio/charset/MacThai.java, * gnu/java/nio/charset/MacTurkish.java, * gnu/java/
* 2007-10-11 Roman Kennke <roman.kennke@aicas.com>Roman Kennke2007-10-111-8/+0
| | | | | * javax/swing/plaf/basic/BasicTreeUI.java (EDIT): Removed obsolete constant.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-031-3/+13
| | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (getPathBounds): Consider the tree's insets. Added a bunch of null checks.
* 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-101-1/+1
| | | | * Merge of generics-branch to HEAD (woohoo!)
* * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whetherMark Wielaard2006-12-031-8/+14
| | | | | path[k] is null. (isLastChild): Return false when path is null.
* 2006-08-16 Roman Kennke <kennke@aicas.com>Roman Kennke2006-08-161-102/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 28750 * javax/swing/plaf/basic/BasicTreeUI.java (CellEditorHandler.editingCancelled): Call completeEditing directly. (CellEditorHandler.editingStopped): Call completeEditing directly. (NodeDimensionHandler.getNodeDimensions): Rewritten to use the preferred sizes of the renderer and editor. (TreeExpansionHandler.treeCollapsed): Complete editing here. (TreeSelectionHandler.valueChanged): Complete editing here. (cancelEditing): Call completeEditing with false, false and false. Don't call finish (removed method). (completeEditing(boolean,boolean,boolean): Only do something when stopEditingInCompleteEditing is true. Nullify editingComponent and editingPath. Remove editingComponent from tree. Update the layout when necessary and repaint. (completeEditing): Stop editing when necessary. (editorRequestFocus): New helper method. Request focus on the actual editor. (finish) Removed. This is now done in completeEditing(). (prepareForUIInstall): Set stopEditingInCompleteEditing to true. (setLargeModel): Complete editing here. (setRootVisible): Complete editing here. (setRowHeight): Complete editing here. (setSelectionModel): Complete editing here. (startEditing): Correctly initialize and start editing. (updateExpandedDescendants): Complete editing here. * javax/swing/tree/DefaultTreeCellEditor.java (DefaultTextField): Fetch size from super and use renderer's height if appropriate. (EditorContainer.EditorContainer): Set layout to null, just to make sure. (EditorContainer.doLayout): Layout so that the editor is offset to the right of the icon. (EditorContainer.getPreferredSize): Implemented to provide a reasonable preferred size. (EditorContainer.paint): Position icon in the middle. Also paint border if appropriate. (EditorContainer.setBounds): Removed. (RealEditorListener): Removed. (DefaultTreeCellEditor): Set correct border. (cancelCellEditing): Message real editor. Call finish(). (createCellEditor): Don't add listener. (determineOffset): Correctly determine offset, and update the icon. (finish): New helper method. (getTreeCellEditorComponent): Set correct font. Call prepareForEditing() and determineOffset() to correctly initialize the state. (stopCellEditing): Messsage realEditor to stop editing. Call finish to clean up. (stopEditingTimer): Removed. (valueChanged): Correctly reset lastPath. * javax/swing/tree/DefaultTreeCellRenderer.java (getPreferredSize): Return super plus some extra space for better readability.
* 2006-08-15 Roman Kennke <kennke@aicas.com>Roman Kennke2006-08-151-118/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.selectedOnPress): New field. (MouseHandler.handleEvent): New helper method for handling selection and start/stop editing for mouse events. (MouseHandler.mouseDragged): Commented as no-op method. (MouseHandler.mouseMoved): Commented as no-op method. (MouseHandler.mousePressed): Use handleEvent() to handle selection and editing handling. (MouseHandler.mouseReleased): Use handleEvent() to handle selection and editing handling. (MouseInputHandler.MouseInputHandler): Register itself as mouse listener on source. Redispatch event to destination. (MouseInputHandler.dispatch): New helper method. (MouseInputHandler.mouseClicked): Dispatch event. (MouseInputHandler.mouseDragged): Dispatch event. (MouseInputHandler.mouseEntered): Stop dispatching if dragging stopped. (MouseInputHandler.mouseExited): Stop dispatching if dragging stopped. (MouseInputHandler.mouseMoved): Stop dispatching. (MouseInputHandler.mousePressed): Marked as no-op. (MouseInputHandler.mouseReleased): Dispatch and stop dispatching afterwards. (MouseInputHandler.removeFromSource): Implemented. (PropertyChangeHandler.propertyChange): Also handle editable property changes by calling setEditable(). (SelectionModelPropertyChangeHandler.propertyChange): Reset row selection. (startEditTimer): Removed. (setCellEditor): Call updateEditor(). (setEditable): Call updateEditor(). (startEditingAtPath): Make path fully visible before starting editing. (startEditing): Maybe cancel previous edit session. Add editing component itself, not its parent container. Register MouseInputHandler for correctly redispatching initial events. (stopEditing): Message cellEditor and only completeEditing() when approved by cell editor. (updateCellEditor): Complete editing before updating the cell editor. Get cell editor from JTree if possible, otherwise create default editor. Update the listeners on the editor. * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): Removed. (DefaultTreeCellEditor): Install correct border. Let setTree() update the listeners. Don't initialize lastPath and font yet. (actionPerformed): Implemented to start editing. (createTreeCellEditor): Set click count to start to 1, rather than 3. (isCellEditable): Prepare editor here. Determine if we can start immediately, or if we trigger a timer to do so. (prepareForEditing): Don't removeAll() (not necessary), check editingComponent to be non-null. (setTree): Update listeners. (shouldStartEditingTimer): Check for left mouse button. (startEditingTimer): Lazily create timer.
* 2006-08-05 Roman Kennke <kennke@aicas.com>Roman Kennke2006-08-081-97/+3
| | | | | | | | | | | | | | | | PR 28650 * javax/swing/plaf/basic/BasicMenuBarUI.java (getActionMap): Store ActionMap in MenuBar.actionMap, rather than Tree.actionMap. * javax/swing/plaf/basic/BasicTreeUI.java (action): Removed obsolete field. (uninstallKeyboardActions): Removed action field handling. (installKeyboardActions): Removed action field handling. (createDefaultActions): Don't install removed TreeAction. (TreeAction): Removed obsolete inner class. (ActionListenerProxy): Removed obsolete inner class. (MouseHandler.mousePressed): Request focus on JTree component on mouse press.
* 2006-07-31 Roman Kennke <kennke@aicas.com>Roman Kennke2006-08-011-5/+31
| | | | | | | | | | | | | PR 28534 * javax/swing/JTree.java (JTree(TreeModel)): Set cell renderer to null. * javax/swing/plaf/basic/BasicTreeUI.java (setCellRenderer): Finish editing before setting the cell renderer. Refresh the layout. Don't set the currentCellRenderer field here (that's done in updateRenderer). (updateRenderer): Handle createdRenderer field here too. Set renderer to a default handler when the current renderer in the JTree is null.
* 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-041-6/+44
| | | | * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
* 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-041-4/+21
| | | | | | | | PR 28061 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl): Mind the effect of the root visibility on the position of the control. Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the vertical line over first level nodes.
* 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-041-0/+5
| | | | | | | | | | | | PR 28061 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java (getDefaults): Set hash color to black. * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Set hash color to grey blue. * javax/swing/plaf/basic/BasicTreeUI.java (instellDefaults): Set hash color. * javax/swing/plaf/metal/MetalIconFactory.java (TreeControlIcon.paint): Rewritten.
* 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-041-5/+19
| | | | | | | | | | PR 28061 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): Always cancel the current editing session before doing anything else, return immediately if this fails. (TreeHomeAction): Ensure that the lead selection path is visible after the action is performed. TreeIncrementAction: Likewise. TreeToggleAction: Likewise. TreeTraverseAction: Likewise.
* 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-041-5/+85
| | | | | | | | | | | | | PR 28061 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): Returned back the code to handle the start of the click-pause-click editing initiation, explained about this code. (TreeStartEditingAction): New inner class. (stopEditingInCompleteEditing): Explained about this field. (completeEditing(boolean, boolean, boolean): Only return early if there is no current editing session. (createDefaultActions): Install TreeStartEditingAction and TreeCancelEditingAction.
* 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-031-3/+4
| | | | | | | | | | PR 28061 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE. (EXPANDED): Initialise to Boolean.TRUE. * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall): First configure layout cache and then set the assigned value as row mapper. Set the root visibility property. (toggleExpandState): Obtains expansion state from the layout cache.
* 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-06-131-26/+26
| | | | | | | | | | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting changes only, * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise, * javax/swing/plaf/basic/BasicComboPopup.java: Likewise, * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise, * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise, * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise, * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise, * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise, * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise, * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise, * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise, * javax/swing/plaf/basic/BasicSliderUI.java: Likewise, * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise, * javax/swing/plaf/basic/BasicTableUI.java: Likewise, * javax/swing/plaf/basic/BasicTextUI.java: Likewise, * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise, * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. ----------------------------------------------------------------------
* 2006-06-08 Roman Kennke <kennke@aicas.com>Roman Kennke2006-06-081-17/+134
| | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (createDefaultActions): Added new actions. (TreePageAction.TreePageAction): Set action name. (TreePageAction.actionPerformed): Implemented. (TreePageAction.isEnabled): Implemented. (TreeToggleAction.TreePageAction): Set action name. (TreeToggleAction.actionPerformed): Implemented. (TreeToggleAction.isEnabled): Implemented. (TreeTraverseAction.TreeTraverseAction): Set action name. (TreeTraverseAction.actionPerformed): Use action name as command. (TreeTraverseAction.isEnabled): Implemented.
* 2006-06-08 Roman Kennke <kennke@aicas.com>Roman Kennke2006-06-081-53/+141
| | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (installKeyboardActions): Rewritten to correctly install the UI input and action maps. (getActionMap): New helper method. (createDefaultActionMap): New helper method. (TreeHomeAction.TreeHomeAction()): Implemented. (TreeHomeAction.actionPerformed): Implemented. (TreeHomeAction.isEnabled): Implemented. (TreeIncrementAction.TreeIncrementAction()): Implemented. (TreeIncrementAction.actionPerformed): Use action name as command. (TreeIncrementAction.isEnabled): Implemented.
* 2006-06-07 Roman Kennke <kennke@aicas.com>Roman Kennke2006-06-071-18/+61
| | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (completeUIUninstall): Implemented. (uninstallUI): Moved some bits to completeUIUninstall(). Complete editing before uninstalling anything. (isToggleEvent): Implemented. (selectPathForEvent): Make use of isToggleEvent(). (ComponentHandler.componentMoved): Implemented. (ComponentHandler.startTimer): Implemented. (ComponentHandler.getScrollPane): Implemented. (ComponentHandler.actionPerformed): Implemented.
* 2006-06-06 Roman Kennke <kennke@aicas.com>Roman Kennke2006-06-071-135/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 27920 * javax/swing/JTree.java (JTree()): Initialize with default model. (JTree(TreeModel)): Clear expanded state hashtable. Added comment on the updateUI() / setModel() order. (setModel): Correctly (un-)setup the listeners. Clear the expanded paths. * javax/swing/plaf/basic/BasicTreeUI.java (BasicTreeUI()): Initialize listeners in installListeners(). (setModel): Complete editing on model change. Correctly resetup the listeners. Update the layout cache accordingly. (setShowRootHandles): Complete editing and update layout. Do not call back into the JTree, this could cause cycles. (prepareForUIInstall): Implemented. Moved some init code from installUI() to this method. (completeUIInstall): Implemented. Moved some init code from installUI() to this method. (createDefaultCellEditor): Check for type of renderer, and install with null renderer when not DefaultTreeCellRenderer. (updateLayoutCacheExpandedNodes): Added null check for tree root to avoid NPE. (updateRenderer): Call updateEditor(). (installListeners): Initialize the listeners here. Added some null checks to avoid NPEs. (installUI): Moved some init code to prepareForUIInstall() and completeUIInstall(). (completeEditing): Return immediately if editing component is null or if the setting is to not stop editing on complete editing. (checkForClickInExpandControl): Call handleExpandControlClick() instead of toggleExpandState() directly. (isLocationInExpandControl): Rewritten to correctly determine the expand click location. (MouseHandler.mousePressed): Rewritten to make better use of the instance methods of BasicTreeUI to handle the click. (PropertyHandler.propertyChange): Handle model and cell renderer updates. * javax/swing/tree/DefaultTreeCellEditor.java (DefaultTreeCellEditor): Removed initialization of the icon. This is done so that the constructor can deal with null renderer as the RI does. Maybe this needs more fixing. * javax/swing/tree/TreePath.java (isDescendant): Fixed this method. The previous version did too much and compared the wrong things, which lead to a ClassCastException in equals(). * javax/swing/tree/VariableHeightLayoutCache.java (update): Do nothing when model is null. (setModel): Clear the tables and update the layout. Added null check to prevent NPE.
* 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-251-20/+9
| | | | | * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction): Implemented.
* 2006-05-16 Lillian Angel <langel@redhat.com>Lillian Angel2006-05-161-5/+58
| | | | | | | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicComboBoxUI.java (installKeyboardActions): Implemented. (uninstallKeyboardActions): Implemented. * javax/swing/plaf/basic/BasicComboPopup.java (uninstallKeyboardActions): Removed FIXME. Nothing to be done here. (installKeyboardActions): Likewise. * javax/swing/plaf/basic/BasicTextUI.java (uninstallKeyboardActions): Implemented. * javax/swing/plaf/basic/BasicTreeUI.java: Added field for hashColor. Marked stub methods. (getHashColor): Implemented to use field. (setHashColor): Likewise. (getRowX): Implemented. (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
* 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-061-27/+71
| | | | | | | | | | | | | PR 27298 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler. getNodeDimensions): Mind the size of the node icon. (getRowX): use totalChildIndent. (TreeExpansionHandler): Set maximal height to zero on events. (nullIcon): New field. (getCurrentControlIcon): Return nullIcon if there is no other icon. (getNodeIcon): New method. (installDefaults): assign totalChildIndent. (installUI): Call updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten. (paintRow): Rewritten. (updateRenderer): Do not set the renderer for the tree.
* 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-051-3/+7
| | | | | * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early if there are no visible nodes to paint.
* 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-271-3/+5
| | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/swing/TreeDemo.java (createContent): Added root visibility and selection listener demos. * javax/swing/JTree.java (setRootVisible): If false, unselect the root node, if it is selected. * javax/swing/plaf/basic/BasicTreeUI.java (TreeTraverseAction.actionPerformed): Do not select the root if it is not visible. * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath, removeSelectionPaths): Reset lead to null if the current lead path is removed from selection. * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path. * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath): Return the same path regardless is root visible or not. (update): Reduce the identation if the root is not visible. * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath): Return the same path regardless is root visible or not. (update): Reduce the identation if the root is not visible.
* 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.orgAudrius Meskauskas2006-04-261-9/+26
| | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (TreeAction.actionPerformed):Newly obtain the current lead path that must stay visible. (TreeTraverseAction.actionPerformed):Rewritten. * javax/swing/tree/FixedHeightLayoutCache.java (countRows): Do not treat root specially. (setModel): Assume the root node initially expanded. * javax/swing/tree/VariableHeightLayoutCache.java:(countRows): Do not treat root specially. (setModel): Assume the root node initially expanded.
* 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-261-16/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/JTree.java (setLeadSelectionPath): Repaint the new and old lead pathes. * javax/swing/plaf/basic/BasicTreeUI.java (FocusHandler): Repaint the lead row when focus changes. (PropertyChangeHandler): Use existing constants, not the string literals for the property names. (TreeIncrementAction): Shrink the selection when moving from the selection edge to the selection anchor. (TreeSelectionHandler.valueChanged): Repaint the new and old lead pathes. (paintRow): Treat row as focused only if it is the lead row. * javax/swing/tree/DefaultTreeCellRenderer.java (getTreeCellRendererComponent): Set the vertical alignment to CENTER. (paint): Rewritten. * javax/swing/tree/DefaultTreeSelectionModel.java (addSelectionPath): Event construction fix (old and new lead were always the same). (addSelectionPaths): Likewise. * javax/swing/JComponent.java (setOpaque): Explained. * javax/swing/tree/FixedHeightLayoutCache.java (getBounds): Accept null. * javax/swing/tree/VariableHeightLayoutCache.java (getBounds): Accept null.
* 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-261-11/+17
| | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/swing/TreeDemo.java (createContent): Call DefaultTreeModel.reload(), not the tree.repaint(). Expand the parent of the added node. * javax/swing/JTree.java (constructor): Do not call UpdateUI (and documented why). (treeDidChange): Added comment, excluding the misinterpretation of this method. * javax/swing/plaf/basic/BasicTreeUI.java (componentListener, focusListener, keyListener, mouseListener, propertyListener, selectionModelPropertyChangeListener, treeModelListener, treeSelectionListener): Made package private. (PropertyChangeHandler): If the model changes, install the listener on it. (installUI): Assign treeModel. * javax/swing/tree/DefaultMutableTreeNode.java (add): Added comment, excluding misinterpretation. * javax/swing/tree/DefaultTreeModel.java (reload): Implemented. (reload(TreeNode)): Implemented.
* 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-251-0/+5
| | | | | * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): If clicked on the other row, cancel the current editing session.
* 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-251-7/+10
| | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.getRowX): Add half of the icon width. (paintExpandControl): Always paint in one gap distance from the left border of the path bounds. (paintHorizontalPartOfLeg): Rewritted, taking the icon width into consideration. (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds left edge.
* 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-251-17/+34
| | | | * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
* 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-231-31/+45
| | | | | | | | | | | | | | * examples/gnu/classpath/examples/swing/TreeDemo.java: (createContent): Added check box to swith between single and multiple selection. * javax/swing/JTree.java (leadSelectionPath): Removed. (addSelectionInterval): Explained. (getLeadSelectionPath): Request the path from model. (getPathsBetweenRows): Explained. (setLeadSelectionPath): Set the path in model. * javax/swing/plaf/basic/BasicTreeUI.java (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten. (MouseHandler.mousePressed): Call selectPathForEvent.
* 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-221-11/+16
| | | | | | | | | | | | | | | | | | | * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged): Only repaint the patches, speficied in the passed event. (expandPath): Do nothing if the path is already expanded. (scrollPathToVisible): Only scroll to visible, do nothing else. * javax/swing/plaf/basic/BasicTreeUI.java (TreeExpansionHandler.treeColapsed): Revalidate and repaint. (TreeExpansionHandler.treeExpanded): Revalidate and repaint. (TreeTraverseAction.actionPerformed): Collapse the node on the action "selectParent". (selectPath): Rewritten. * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection): Fire change event. (notifyPathChange): Implemented. (setSelectionPath): Do not reuse selection array. * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath): Accept null. * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath): Accept null.
* 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-211-0/+5
| | | | | | | | | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (PropertyChangeHandler.propertyChange): Set the row mapper for the selection model. * javax/swing/tree/AbstractLayoutCache.java (NodeDimensions.getNodeDimensions): Explained. (getPreferredHeight, getPreferredWidth, isFixedRowHeight): Implemented. (setRowHeight): Invalidate sizes. * javax/swing/tree/DefaultTreeSelectionModel.java (addSelectionPath, addSelectionPaths): Update lead row. (removeSelectionPath, removeSelectionPaths): Do nothing if selection is empty. (clone): Only clone list selection model if it is not null. (getRow): New method. (isRowSelected, getLeadSelectionRow, setSelectionPath, setSelectionPaths): Implemented. * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds): Pass the empty rectangle. (isFixedRowHeight): New method. * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getBounds): Pass the empty rectangle.
* 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-04-201-2/+1
| | | | | | | | | * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports, * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise, * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise, * javax/swing/plaf/basic/BasicTextUI.java: Likewise, * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. ----------------------------------------------------------------------
* 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-201-10/+9
| | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (finish): Invalidate path bounds. (getMaxHeight): Set the row height to the layout cache. (startEditing): Do not request to recalculated row height and preferred size. * javax/swing/tree/DefaultTreeCellEditor.java (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing with 0. * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
* 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-131-7/+0
| | | | * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): Removed debugging code.
* 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-131-937/+459
| | | | | | | | | | | | | * javax/swing/JTree.java (getPreferredSize): Return the cloned instance. * javax/swing/ViewportLayout.java (layoutContainer): Do not manage the view size and location if the view is in the scroll pane. Also manage size and location for Scrollable, if it is not in the scroll pane. * javax/swing/plaf/basic/BasicTreeUI.java, * javax/swing/tree/FixedHeightLayoutCache.java, * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten. * gnu/javax/swing/tree/GnuPath.java: New file.
* 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-01-271-0/+1
| | | | | * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize): Call updateCurrentVisiblePath.
* 2006-01-27 Roman Kennke <kennke@aicas.com>Roman Kennke2006-01-271-1/+0
| | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (installDefaults): Removed requestFocusInWindow() call. * javax/swing/JComponent.java (requestFocusInWindow(boolean)): Made method protected. (printComponent): Made method protected. (printChildren): Made method protected. (printComponent): Made method protected. (printBorder): Made method protected.
* 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-01-261-14/+74
| | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): Call startEditing when appropriate. (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields. (startEditing): Always edit if directly ordered from MouseHandler.mousePressed. * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): New field. (createTreeCellEditor): Set click count to start. (getTreeCellEditorComponent): Assing realEditor directly.
* 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-01-251-146/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 25205 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): Rewritten. * javax/swing/JTree.java (stopEditing, cancelEditing): Return without action if not editing. * javax/swing/plaf/basic/BasicTreeUI.java (CellEditorHandler.editingCancelled): Delegate to cancelEditing. (CellEditorHandler.editingStopped): Delegate to stopEditing. (EditorUpdateTimer): Removed. (TreeAction.actionPerformed): Stop and not cancel the current editing when starting editing another node. (editorTimer, newVal): Removed. (cancelEditing): Do not send the cancel message. (completeEditing): Obtain the edited value from the editor. (finish): New method. (paintRow): Do not paint the editing component here. (startEditing, stopEditing): Rewritten. * javax/swing/tree/DefaultTreeCellEditor.java (DefaultTextField): Added SVUID. (EditorContainer): Rewritten. (RealEditorListener): New inner class. (ICON_TEXT_GAP, TREE_ICON_GAP: New constants). (constructor): Add cell editor listener. Do not instantiate timer. (actionPerformed): Return without action. (cancelCellEditing): Rewritten. (createTreeCellEditor): Add cell editor listener to the editor. (getCellEditorValue): Request the value from the realEditor. (isCellEditable): Removed timer management. (prepareForEditing): Remove all components befor adding the editingComponent. (startEditingTimer): Start only if it is not null. (stopCellEditing): Rewritten. (stopEditingTimer): New method. (valueChanged): Do not configure editing component here.
* 2006-01-09 Lillian Angel <langel@redhat.com>Lillian Angel2006-01-091-224/+290
| | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java: Added new field. (setRowHeight): Row height is set to the max height of all the nodes, or 20 as a default value. (getPathBounds): Cleaned up code. (getMaxHeight): New helper function that gets the max height of all the rows. (getClosestPathForLocation): Fixed to use getMaxHeight. (updateCachedPreferredSize): Likewise. (installUI): Shouldn't expand tree on startup. (getNodeDimensions): Fixed to use getMaxHeight.
* 2005-12-20 Lillian Angel <langel@redhat.com>Lillian Angel2005-12-201-25/+12
| | | | | | | | | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (pathWasExpanded): Removed unneeded revalidate call. (pathWasCollapsed): Likewise. (installUI): Fixed to check for null root. (paint): Fixed to always update path. (toggleExpandState): Removed call to update path. (editingStopped): Likewise. (editingCanceled): Likewise. (treeStructureChanged): Likewise. (treeExpanded): Likewise. (treeCollapsed): Likewise. (treeNodesChanged): Likewise. (treeNodesInserted): Likewise. (treeNodesRemoved): Likewise. (updateCurrentVisiblePath): Added check for null root. If root is null, nothing should be painted or in the path. * javax/swing/tree/DefaultTreeModel.java (setRoot): Root can be null.
* 2005-11-16 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-161-3/+3
| | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (paintVerticalPartOfLeg): Added a check to prevent ArrayOutOfBoundsException.
* 2005-11-15 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-151-1/+1
| | | | | * javax/swing/plaf/basic/BasicTreeUI.java (paint): Added check to prevent NPE.
* 2005-11-15 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-151-2/+7
| | | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Default rowHeight for tree's should be 0. This is Sun and IBM's default. * javax/swing/plaf/metal/MetalLookAndFeel.java (initComponentDefaults): Default rowHeight for tree's should e 0. This is Sun and IBM's default. * javax/swing/plaf/basic/BasicTreeUI.java: Added a default rowHeight field. (setRowHeight): Set the rowHeight to the class default if parameter is 0. Tree row height should never be set to 0. 20 is the minimum. (installDefaults): fixed call to tree.setRowHeight (shouldPaintExpandControl): Added to check to prevent NPE.
* 2005-11-15 Roman Kennke <kennke@aicas.com>Roman Kennke2005-11-151-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicBorders.java (getButtonBorder): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (getRadioButtonBorder): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (getToggleButtonBorder): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (getMenuBarBorder): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (getSplitPaneBorder): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (getSplitPaneDividerBorder): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (getTextFieldBorder): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (getInternalFrameBorder): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicButtonUI.java (paintText): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicCheckBoxUI.java (getDefaultIcon): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicComboBoxUI.java (paintCurrentValue): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicFileChooserUI.java (installStrings): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicListUI.java (installKeyboardActions): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicProgressBarUI.java (boxRect): Added @since tag to the API comment. * javax/swing/plaf/basic/BasicRadioButtonUI.java (getDefaultIcon): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicScrollBarUI.java (configureScrollBarColors): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (calculatePreferredSize): Fetch preferred width or height from UI defaults. * javax/swing/plaf/basic/BasicTableUI.java (installKeyboardActions): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicTextUI.java (createKeymap): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (getInputMap): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (getActionMap): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). * javax/swing/plaf/basic/BasicToolBarUI.java (dragTo): Don't use cached* fields. (installComponents): Don't use cached* fields. * javax/swing/plaf/basic/BasicTreeUI.java (getHashColor): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). (setHashColor): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get(). Added FIXME comment. (installKeyboardActions): Replaced UIManager.getLookAndFeelDefaults().get() with UIManager.get().
* 2005-11-15 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-151-302/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/plaf/basic/BasicTreeUI.java: Removed unneeded field. (getPathBounds): Reimplemented to use getNodeDimensions. (getRowCount): Removed call to updateCurrentVisiblePath. (uninstallKeyboardActions): Implemented. (paint): Reimplemented to only paint rows contained in clip. No longer uses recursion. (mousePressed): If control icon is clicked, should scroll to that path. (getNodeDimensions): Implemented. (getRowX): Implemented. (getCellBounds): Removed. (getCellLocation): Removed. (paintRecursive): Removed. (paintControlIcons): Removed. (getPreviousVisibleNode): Removed call to updateCurrentVisiblePath. (getLevel): Added check for invisible root. (paintVerticalLine): Set graphics color. (paintHorizontalLine): Likewise. (drawCentered): Added negative check. (drawDashedHorizontalLine): Set graphics color. (drawDashedVerticalLine): Likewise. (paintExpandControl): Implemented. (paintHorizontalPartOfLeg): Likewise. (paintVerticalPartOfLeg): Likewise. (paintRow): Added call to paint the control icons. (updateCurrentVisiblePath): Cleaned up function.
* 2005-11-14 Lillian Angel <langel@redhat.com>Lillian Angel2005-11-141-26/+44
| | | | | | | | | | | | | | | | * javax/swing/JTree.java (expandPath): No need to get the parent path. * javax/swing/event/TreeModelEvent.java: Variables should be initialized to null. (toString): Implemented. * javax/swing/plaf/basic/BasicTreeUI.java (treeStructureChanged): Implemented. (getParent): Added check to avoid infinite loop. (findNode): Fixed check to use getChild, instead of getIndexOfChild. (updateCurrentVisiblePath): Added a loop to check the parent's sibling, if the current node has no other siblings.