Normalise whitespace in GNU Classpath.
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, * external/jsr166/java/util/ArrayDeque.java, * external/jsr166/java/util/concurrent/ArrayBlockingQueue.java, * external/jsr166/java/util/concurrent/ConcurrentHashMap.java, * external/jsr166/java/util/concurrent/ConcurrentSkipListMap.java, * external/jsr166/java/util/concurrent/ConcurrentSkipListSet.java, * external/jsr166/java/util/concurrent/CopyOnWriteArraySet.java, * external/jsr166/java/util/concurrent/CyclicBarrier.java, * external/jsr166/java/util/concurrent/DelayQueue.java, * external/jsr166/java/util/concurrent/Executors.java, * external/jsr166/java/util/concurrent/FutureTask.java, * external/jsr166/java/util/concurrent/LinkedBlockingDeque.java, * external/jsr166/java/util/concurrent/LinkedBlockingQueue.java, * external/jsr166/java/util/concurrent/PriorityBlockingQueue.java, * external/jsr166/java/util/concurrent/ScheduledExecutorService.java, * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java, * external/jsr166/java/util/concurrent/Semaphore.java, * external/jsr166/java/util/concurrent/SynchronousQueue.java, * external/jsr166/java/util/concurrent/ThreadPoolExecutor.java, * external/jsr166/java/util/concurrent/atomic/AtomicInteger.java, * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java, * external/jsr166/java/util/concurrent/atomic/AtomicLong.java, * external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java, * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java, * external/jsr166/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.java, * external/jsr166/java/util/concurrent/locks/AbstractQueuedSynchronizer.java, * external/jsr166/java/util/concurrent/locks/ReentrantReadWriteLock.java, * external/relaxngDatatype/org/relaxng/datatype/Datatype.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java, * external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java, * external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java, * external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java, * external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java, * external/sax/org/xml/sax/AttributeList.java, * external/sax/org/xml/sax/Attributes.java, * external/sax/org/xml/sax/ContentHandler.java, * external/sax/org/xml/sax/DTDHandler.java, * external/sax/org/xml/sax/DocumentHandler.java, * external/sax/org/xml/sax/EntityResolver.java, * external/sax/org/xml/sax/ErrorHandler.java, * external/sax/org/xml/sax/HandlerBase.java, * external/sax/org/xml/sax/InputSource.java, * external/sax/org/xml/sax/Locator.java, * external/sax/org/xml/sax/Parser.java, * external/sax/org/xml/sax/SAXException.java, * external/sax/org/xml/sax/SAXNotRecognizedException.java, * external/sax/org/xml/sax/SAXNotSupportedException.java, * external/sax/org/xml/sax/SAXParseException.java, * external/sax/org/xml/sax/XMLReader.java, * external/sax/org/xml/sax/ext/Attributes2.java, * external/sax/org/xml/sax/ext/Attributes2Impl.java, * external/sax/org/xml/sax/ext/DeclHandler.java, * external/sax/org/xml/sax/ext/DefaultHandler2.java, * external/sax/org/xml/sax/ext/EntityResolver2.java, * external/sax/org/xml/sax/ext/LexicalHandler.java, * external/sax/org/xml/sax/ext/Locator2.java, * external/sax/org/xml/sax/ext/Locator2Impl.java, * external/sax/org/xml/sax/helpers/AttributeListImpl.java, * external/sax/org/xml/sax/helpers/AttributesImpl.java, * external/sax/org/xml/sax/helpers/DefaultHandler.java, * external/sax/org/xml/sax/helpers/LocatorImpl.java, * external/sax/org/xml/sax/helpers/NamespaceSupport.java, * external/sax/org/xml/sax/helpers/NewInstance.java, * external/sax/org/xml/sax/helpers/ParserAdapter.java, * external/sax/org/xml/sax/helpers/ParserFactory.java, * external/sax/org/xml/sax/helpers/XMLFilterImpl.java, * external/sax/org/xml/sax/helpers/XMLReaderAdapter.java, * external/sax/org/xml/sax/helpers/XMLReaderFactory.java, * external/w3c_dom/org/w3c/dom/Attr.java, * external/w3c_dom/org/w3c/dom/CDATASection.java, * external/w3c_dom/org/w3c/dom/CharacterData.java, * external/w3c_dom/org/w3c/dom/Comment.java, * external/w3c_dom/org/w3c/dom/DOMConfiguration.java, * external/w3c_dom/org/w3c/dom/DOMError.java, * external/w3c_dom/org/w3c/dom/DOMErrorHandler.java, * external/w3c_dom/org/w3c/dom/DOMException.java, * external/w3c_dom/org/w3c/dom/DOMImplementation.java, * external/w3c_dom/org/w3c/dom/DOMImplementationList.java, * external/w3c_dom/org/w3c/dom/DOMImplementationSource.java, * external/w3c_dom/org/w3c/dom/DOMLocator.java, * external/w3c_dom/org/w3c/dom/DOMStringList.java, * external/w3c_dom/org/w3c/dom/Document.java, * external/w3c_dom/org/w3c/dom/DocumentFragment.java, * external/w3c_dom/org/w3c/dom/DocumentType.java, * external/w3c_dom/org/w3c/dom/Element.java, * external/w3c_dom/org/w3c/dom/Entity.java, * external/w3c_dom/org/w3c/dom/EntityReference.java, * external/w3c_dom/org/w3c/dom/NameList.java, * external/w3c_dom/org/w3c/dom/NamedNodeMap.java, * external/w3c_dom/org/w3c/dom/Node.java, * external/w3c_dom/org/w3c/dom/NodeList.java, * external/w3c_dom/org/w3c/dom/Notation.java, * external/w3c_dom/org/w3c/dom/ProcessingInstruction.java, * external/w3c_dom/org/w3c/dom/Text.java, * external/w3c_dom/org/w3c/dom/TypeInfo.java, * external/w3c_dom/org/w3c/dom/UserDataHandler.java, * external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java, * external/w3c_dom/org/w3c/dom/css/CSS2Properties.java, * external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java, * external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java, * external/w3c_dom/org/w3c/dom/css/CSSImportRule.java, * external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java, * external/w3c_dom/org/w3c/dom/css/CSSPageRule.java, * external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java, * external/w3c_dom/org/w3c/dom/css/CSSRule.java, * external/w3c_dom/org/w3c/dom/css/CSSRuleList.java, * external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java, * external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java, * external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java, * external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java, * external/w3c_dom/org/w3c/dom/css/CSSValue.java, * external/w3c_dom/org/w3c/dom/css/CSSValueList.java, * external/w3c_dom/org/w3c/dom/css/Counter.java, * external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java, * external/w3c_dom/org/w3c/dom/css/DocumentCSS.java, * external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java, * external/w3c_dom/org/w3c/dom/css/RGBColor.java, * external/w3c_dom/org/w3c/dom/css/Rect.java, * external/w3c_dom/org/w3c/dom/css/ViewCSS.java, * external/w3c_dom/org/w3c/dom/events/DocumentEvent.java, * external/w3c_dom/org/w3c/dom/events/Event.java, * external/w3c_dom/org/w3c/dom/events/EventException.java, * external/w3c_dom/org/w3c/dom/events/EventListener.java, * external/w3c_dom/org/w3c/dom/events/EventTarget.java, * external/w3c_dom/org/w3c/dom/events/MouseEvent.java, * external/w3c_dom/org/w3c/dom/events/MutationEvent.java, * external/w3c_dom/org/w3c/dom/events/UIEvent.java, * external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java, * external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java, * external/w3c_dom/org/w3c/dom/html2/HTMLElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java, * external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java, * external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java, * external/w3c_dom/org/w3c/dom/ls/LSException.java, * external/w3c_dom/org/w3c/dom/ls/LSInput.java, * external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java, * external/w3c_dom/org/w3c/dom/ls/LSOutput.java, * external/w3c_dom/org/w3c/dom/ls/LSParser.java, * external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java, * external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java, * external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java, * external/w3c_dom/org/w3c/dom/ls/LSSerializer.java, * external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java, * external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java, * external/w3c_dom/org/w3c/dom/ranges/Range.java, * external/w3c_dom/org/w3c/dom/ranges/RangeException.java, * external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java, * external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java, * external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java, * external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java, * external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java, * external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java, * external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java, * external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java, * external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java, * external/w3c_dom/org/w3c/dom/views/AbstractView.java, * external/w3c_dom/org/w3c/dom/views/DocumentView.java, * external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java, * external/w3c_dom/org/w3c/dom/xpath/XPathException.java, * external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java, * external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java, * external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java, * external/w3c_dom/org/w3c/dom/xpath/XPathResult.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/nio/charset/Provider.java, * gnu/java/nio/charset/US_ASCII.java, * gnu/java/nio/charset/UTF_16.java, * gnu/java/nio/charset/UTF_16BE.java, * gnu/java/nio/charset/UTF_16Decoder.java, * gnu/java/nio/charset/UTF_16Encoder.java, * gnu/java/nio/charset/UTF_16LE.java, * gnu/java/nio/charset/UTF_8.java, * gnu/java/nio/charset/UnicodeLittle.java, * gnu/java/nio/charset/Windows1250.java, * gnu/java/nio/charset/Windows1251.java, * gnu/java/nio/charset/Windows1252.java, * gnu/java/nio/charset/Windows1253.java, * gnu/java/nio/charset/Windows1254.java, * gnu/java/nio/charset/Windows1255.java, * gnu/java/nio/charset/Windows1256.java, * gnu/java/nio/charset/Windows1257.java, * gnu/java/nio/charset/Windows1258.java, * gnu/java/nio/charset/iconv/IconvCharset.java, * gnu/java/nio/charset/iconv/IconvDecoder.java, * gnu/java/nio/charset/iconv/IconvEncoder.java, * gnu/java/nio/charset/iconv/IconvProvider.java, * gnu/java/rmi/RMIMarshalledObjectInputStream.java, * gnu/java/rmi/RMIMarshalledObjectOutputStream.java, * gnu/java/rmi/activation/ActivationSystemTransient.java, * gnu/java/rmi/activation/BidiTable.java, * gnu/java/rmi/activation/DefaultActivationGroup.java, * gnu/java/rmi/activation/DefaultActivationSystem.java, * gnu/java/rmi/dgc/DGCImpl.java, * gnu/java/rmi/dgc/DGCImpl_Skel.java, * gnu/java/rmi/dgc/DGCImpl_Stub.java, * gnu/java/rmi/dgc/LeaseRenewingTask.java, * gnu/java/rmi/registry/RegistryImpl.java, * gnu/java/rmi/registry/RegistryImpl_Skel.java, * gnu/java/rmi/registry/RegistryImpl_Stub.java, * gnu/java/rmi/server/ActivatableRef.java, * gnu/java/rmi/server/ActivatableServerRef.java, * gnu/java/rmi/server/CombinedClassLoader.java, * gnu/java/rmi/server/ConnectionRunnerPool.java, * gnu/java/rmi/server/ProtocolConstants.java, * gnu/java/rmi/server/RMIClassLoaderImpl.java, * gnu/java/rmi/server/RMIDefaultSocketFactory.java, * gnu/java/rmi/server/RMIHashes.java, * gnu/java/rmi/server/RMIIncomingThread.java, * gnu/java/rmi/server/RMIObjectInputStream.java, * gnu/java/rmi/server/RMIObjectOutputStream.java, * gnu/java/rmi/server/UnicastConnection.java, * gnu/java/rmi/server/UnicastConnectionManager.java, * gnu/java/rmi/server/UnicastRef.java, * gnu/java/rmi/server/UnicastRemoteCall.java, * gnu/java/rmi/server/UnicastRemoteStub.java, * gnu/java/rmi/server/UnicastServer.java, * gnu/java/rmi/server/UnicastServerRef.java, * gnu/java/security/Engine.java, * gnu/java/security/OID.java, * gnu/java/security/PolicyFile.java, * gnu/java/security/Properties.java, * gnu/java/security/Registry.java, * gnu/java/security/Requires.java, * gnu/java/security/action/GetPropertyAction.java, * gnu/java/security/action/SetAccessibleAction.java, * gnu/java/security/der/DERValue.java, * gnu/java/security/hash/BaseHash.java, * gnu/java/security/hash/HashFactory.java, * gnu/java/security/hash/Haval.java, * gnu/java/security/hash/IMessageDigest.java, * gnu/java/security/hash/MD2.java, * gnu/java/security/hash/MD4.java, * gnu/java/security/hash/MD5.java, * gnu/java/security/hash/RipeMD128.java, * gnu/java/security/hash/RipeMD160.java, * gnu/java/security/hash/Sha160.java, * gnu/java/security/hash/Sha256.java, * gnu/java/security/hash/Sha384.java, * gnu/java/security/hash/Sha512.java, * gnu/java/security/hash/Tiger.java, * gnu/java/security/hash/Whirlpool.java, * gnu/java/security/jce/hash/HavalSpi.java, * gnu/java/security/jce/hash/MD2Spi.java, * gnu/java/security/jce/hash/MD4Spi.java, * gnu/java/security/jce/hash/MD5Spi.java, * gnu/java/security/jce/hash/MessageDigestAdapter.java, * gnu/java/security/jce/hash/RipeMD128Spi.java, * gnu/java/security/jce/hash/RipeMD160Spi.java, * gnu/java/security/jce/hash/Sha160Spi.java, * gnu/java/security/jce/hash/Sha256Spi.java, * gnu/java/security/jce/hash/Sha384Spi.java, * gnu/java/security/jce/hash/Sha512Spi.java, * gnu/java/security/jce/hash/TigerSpi.java, * gnu/java/security/jce/hash/WhirlpoolSpi.java, * gnu/java/security/jce/prng/HavalRandomSpi.java, * gnu/java/security/jce/prng/MD2RandomSpi.java, * gnu/java/security/jce/prng/MD4RandomSpi.java, * gnu/java/security/jce/prng/MD5RandomSpi.java, * gnu/java/security/jce/prng/RipeMD128RandomSpi.java, * gnu/java/security/jce/prng/RipeMD160RandomSpi.java, * gnu/java/security/jce/prng/SecureRandomAdapter.java, * gnu/java/security/jce/prng/Sha160RandomSpi.java, * gnu/java/security/jce/prng/Sha256RandomSpi.java, * gnu/java/security/jce/prng/Sha384RandomSpi.java, * gnu/java/security/jce/prng/Sha512RandomSpi.java, * gnu/java/security/jce/prng/TigerRandomSpi.java, * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java, * gnu/java/security/jce/sig/DSSKeyFactory.java, * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java, * gnu/java/security/jce/sig/DSSParameters.java, * gnu/java/security/jce/sig/DSSRawSignatureSpi.java, * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java, * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java, * gnu/java/security/jce/sig/SignatureAdapter.java, * gnu/java/security/key/IKeyPairCodec.java, * gnu/java/security/key/IKeyPairGenerator.java, * gnu/java/security/key/KeyPairCodecFactory.java, * gnu/java/security/key/KeyPairGeneratorFactory.java, * gnu/java/security/key/dss/DSSKey.java, * gnu/java/security/key/dss/DSSKeyPairGenerator.java, * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java, * gnu/java/security/key/dss/DSSKeyPairRawCodec.java, * gnu/java/security/key/dss/DSSKeyPairX509Codec.java, * gnu/java/security/key/dss/DSSPrivateKey.java, * gnu/java/security/key/dss/DSSPublicKey.java, * gnu/java/security/key/dss/FIPS186.java, * gnu/java/security/key/rsa/GnuRSAKey.java, * gnu/java/security/key/rsa/GnuRSAPrivateKey.java, * gnu/java/security/key/rsa/GnuRSAPublicKey.java, * gnu/java/security/key/rsa/RSAKeyPairGenerator.java, * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java, * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java, * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java, * gnu/java/security/pkcs/PKCS7Data.java, * gnu/java/security/pkcs/PKCS7SignedData.java, * gnu/java/security/pkcs/SignerInfo.java, * gnu/java/security/prng/BasePRNG.java, * gnu/java/security/prng/EntropySource.java, * gnu/java/security/prng/IRandom.java, * gnu/java/security/prng/LimitReachedException.java, * gnu/java/security/prng/MDGenerator.java, * gnu/java/security/prng/PRNGFactory.java, * gnu/java/security/prng/RandomEventListener.java, * gnu/java/security/provider/DefaultPolicy.java, * gnu/java/security/provider/PKIXCertPathValidatorImpl.java, * gnu/java/security/sig/BaseSignature.java, * gnu/java/security/sig/ISignature.java, * gnu/java/security/sig/ISignatureCodec.java, * gnu/java/security/sig/SignatureCodecFactory.java, * gnu/java/security/sig/SignatureFactory.java, * gnu/java/security/sig/dss/DSSSignature.java, * gnu/java/security/sig/dss/DSSSignatureRawCodec.java, * gnu/java/security/sig/dss/DSSSignatureX509Codec.java, * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java, * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java, * gnu/java/security/sig/rsa/EMSA_PSS.java, * gnu/java/security/sig/rsa/RSA.java, * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java, * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java, * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java, * gnu/java/security/sig/rsa/RSAPSSSignature.java, * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java, * gnu/java/security/sig/rsa/RSASignatureFactory.java, * gnu/java/security/util/ByteArray.java, * gnu/java/security/util/ByteBufferOutputStream.java, * gnu/java/security/util/ExpirableObject.java, * gnu/java/security/util/FormatUtil.java, * gnu/java/security/util/IntegerUtil.java, * gnu/java/security/util/PRNG.java, * gnu/java/security/util/Prime.java, * gnu/java/security/util/Sequence.java, * gnu/java/security/util/SimpleList.java, * gnu/java/security/util/Util.java, * gnu/java/security/x509/X509CRLSelectorImpl.java, * gnu/java/security/x509/X509CertSelectorImpl.java, * gnu/java/security/x509/ext/CertificatePolicies.java, * gnu/java/security/x509/ext/GeneralName.java, * gnu/java/security/x509/ext/GeneralSubtree.java, * gnu/java/security/x509/ext/NameConstraints.java, * gnu/java/text/AttributedFormatBuffer.java, * gnu/java/text/BaseBreakIterator.java, * gnu/java/text/CharacterBreakIterator.java, * gnu/java/text/FormatBuffer.java, * gnu/java/text/FormatCharacterIterator.java, * gnu/java/text/LineBreakIterator.java, * gnu/java/text/SentenceBreakIterator.java, * gnu/java/text/StringFormatBuffer.java, * gnu/java/text/WordBreakIterator.java, * gnu/java/util/Base64.java, * gnu/java/util/DoubleEnumeration.java, * gnu/java/util/EmptyEnumeration.java, * gnu/java/util/WeakIdentityHashMap.java, * gnu/java/util/ZoneInfo.java, * gnu/java/util/jar/JarUtils.java, * gnu/java/util/prefs/FileBasedFactory.java, * gnu/java/util/prefs/FileBasedPreferences.java, * gnu/java/util/prefs/GConfBasedFactory.java, * gnu/java/util/prefs/GConfBasedPreferences.java, * gnu/java/util/prefs/MemoryBasedFactory.java, * gnu/java/util/prefs/MemoryBasedPreferences.java, * gnu/java/util/prefs/NodeReader.java, * gnu/java/util/prefs/NodeWriter.java, * gnu/java/util/prefs/gconf/GConfNativePeer.java, * gnu/java/util/regex/BacktrackStack.java, * gnu/java/util/regex/CharIndexed.java, * gnu/java/util/regex/CharIndexedInputStream.java, * gnu/java/util/regex/RE.java, * gnu/java/util/regex/REFilterInputStream.java, * gnu/java/util/regex/REMatch.java, * gnu/java/util/regex/REMatchEnumeration.java, * gnu/java/util/regex/RESyntax.java, * gnu/java/util/regex/REToken.java, * gnu/java/util/regex/RETokenAny.java, * gnu/java/util/regex/RETokenBackRef.java, * gnu/java/util/regex/RETokenChar.java, * gnu/java/util/regex/RETokenEnd.java, * gnu/java/util/regex/RETokenEndOfPreviousMatch.java, * gnu/java/util/regex/RETokenIndependent.java, * gnu/java/util/regex/RETokenLookAhead.java, * gnu/java/util/regex/RETokenLookBehind.java, * gnu/java/util/regex/RETokenNamedProperty.java, * gnu/java/util/regex/RETokenOneOf.java, * gnu/java/util/regex/RETokenPOSIX.java, * gnu/java/util/regex/RETokenRange.java, * gnu/java/util/regex/RETokenRepeated.java, * gnu/java/util/regex/RETokenStart.java, * gnu/java/util/regex/RETokenWordBoundary.java, * gnu/java/util/regex/UncheckedRE.java, * gnu/javax/activation/viewers/ImageViewer.java, * gnu/javax/activation/viewers/TextEditor.java, * gnu/javax/activation/viewers/TextViewer.java, * gnu/javax/crypto/assembly/Assembly.java, * gnu/javax/crypto/assembly/Cascade.java, * gnu/javax/crypto/assembly/CascadeStage.java, * gnu/javax/crypto/assembly/CascadeTransformer.java, * gnu/javax/crypto/assembly/DeflateTransformer.java, * gnu/javax/crypto/assembly/Direction.java, * gnu/javax/crypto/assembly/LoopbackTransformer.java, * gnu/javax/crypto/assembly/ModeStage.java, * gnu/javax/crypto/assembly/Operation.java, * gnu/javax/crypto/assembly/PaddingTransformer.java, * gnu/javax/crypto/assembly/Stage.java, * gnu/javax/crypto/assembly/Transformer.java, * gnu/javax/crypto/assembly/TransformerException.java, * gnu/javax/crypto/cipher/Anubis.java, * gnu/javax/crypto/cipher/BaseCipher.java, * gnu/javax/crypto/cipher/Blowfish.java, * gnu/javax/crypto/cipher/Cast5.java, * gnu/javax/crypto/cipher/CipherFactory.java, * gnu/javax/crypto/cipher/DES.java, * gnu/javax/crypto/cipher/IBlockCipher.java, * gnu/javax/crypto/cipher/IBlockCipherSpi.java, * gnu/javax/crypto/cipher/Khazad.java, * gnu/javax/crypto/cipher/NullCipher.java, * gnu/javax/crypto/cipher/Rijndael.java, * gnu/javax/crypto/cipher/Serpent.java, * gnu/javax/crypto/cipher/Square.java, * gnu/javax/crypto/cipher/TripleDES.java, * gnu/javax/crypto/cipher/Twofish.java, * gnu/javax/crypto/cipher/WeakKeyException.java, * gnu/javax/crypto/jce/DiffieHellmanImpl.java, * gnu/javax/crypto/jce/GnuCrypto.java, * gnu/javax/crypto/jce/GnuSasl.java, * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java, * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java, * gnu/javax/crypto/jce/cipher/AESSpi.java, * gnu/javax/crypto/jce/cipher/ARCFourSpi.java, * gnu/javax/crypto/jce/cipher/AnubisSpi.java, * gnu/javax/crypto/jce/cipher/BlowfishSpi.java, * gnu/javax/crypto/jce/cipher/Cast5Spi.java, * gnu/javax/crypto/jce/cipher/CipherAdapter.java, * gnu/javax/crypto/jce/cipher/DESSpi.java, * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java, * gnu/javax/crypto/jce/cipher/KhazadSpi.java, * gnu/javax/crypto/jce/cipher/NullCipherSpi.java, * gnu/javax/crypto/jce/cipher/PBES2.java, * gnu/javax/crypto/jce/cipher/RijndaelSpi.java, * gnu/javax/crypto/jce/cipher/SerpentSpi.java, * gnu/javax/crypto/jce/cipher/SquareSpi.java, * gnu/javax/crypto/jce/cipher/TripleDESSpi.java, * gnu/javax/crypto/jce/cipher/TwofishSpi.java, * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java, * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java, * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java, * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java, * gnu/javax/crypto/jce/keyring/GnuKeyring.java, * gnu/javax/crypto/jce/mac/HMacHavalSpi.java, * gnu/javax/crypto/jce/mac/HMacMD2Spi.java, * gnu/javax/crypto/jce/mac/HMacMD4Spi.java, * gnu/javax/crypto/jce/mac/HMacMD5Spi.java, * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java, * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java, * gnu/javax/crypto/jce/mac/HMacTigerSpi.java, * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java, * gnu/javax/crypto/jce/mac/MacAdapter.java, * gnu/javax/crypto/jce/mac/TMMH16Spi.java, * gnu/javax/crypto/jce/mac/UHash32Spi.java, * gnu/javax/crypto/jce/mac/UMac32Spi.java, * gnu/javax/crypto/jce/params/BlockCipherParameters.java, * gnu/javax/crypto/jce/params/DEREncodingException.java, * gnu/javax/crypto/jce/params/DERReader.java, * gnu/javax/crypto/jce/params/DERWriter.java, * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java, * gnu/javax/crypto/jce/prng/CSPRNGSpi.java, * gnu/javax/crypto/jce/prng/FortunaImpl.java, * gnu/javax/crypto/jce/prng/ICMRandomSpi.java, * gnu/javax/crypto/jce/prng/UMacRandomSpi.java, * gnu/javax/crypto/jce/sig/DHParameters.java, * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java, * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java, * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java, * gnu/javax/crypto/key/BaseKeyAgreementParty.java, * gnu/javax/crypto/key/GnuPBEKey.java, * gnu/javax/crypto/key/GnuSecretKey.java, * gnu/javax/crypto/key/IKeyAgreementParty.java, * gnu/javax/crypto/key/IncomingMessage.java, * gnu/javax/crypto/key/KeyAgreementException.java, * gnu/javax/crypto/key/KeyAgreementFactory.java, * gnu/javax/crypto/key/OutgoingMessage.java, * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java, * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java, * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java, * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java, * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java, * gnu/javax/crypto/key/dh/DiffieHellmanSender.java, * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java, * gnu/javax/crypto/key/dh/ElGamalReceiver.java, * gnu/javax/crypto/key/dh/ElGamalSender.java, * gnu/javax/crypto/key/dh/GnuDHKey.java, * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java, * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java, * gnu/javax/crypto/key/dh/GnuDHPublicKey.java, * gnu/javax/crypto/key/dh/RFC2631.java, * gnu/javax/crypto/key/srp6/SRP6Host.java, * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java, * gnu/javax/crypto/key/srp6/SRP6SaslClient.java, * gnu/javax/crypto/key/srp6/SRP6SaslServer.java, * gnu/javax/crypto/key/srp6/SRP6TLSClient.java, * gnu/javax/crypto/key/srp6/SRP6TLSServer.java, * gnu/javax/crypto/key/srp6/SRP6User.java, * gnu/javax/crypto/key/srp6/SRPAlgorithm.java, * gnu/javax/crypto/key/srp6/SRPKey.java, * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java, * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java, * gnu/javax/crypto/key/srp6/SRPPrivateKey.java, * gnu/javax/crypto/key/srp6/SRPPublicKey.java, * gnu/javax/crypto/keyring/AuthenticatedEntry.java, * gnu/javax/crypto/keyring/BaseKeyring.java, * gnu/javax/crypto/keyring/BinaryDataEntry.java, * gnu/javax/crypto/keyring/CertPathEntry.java, * gnu/javax/crypto/keyring/CertificateEntry.java, * gnu/javax/crypto/keyring/CompressedEntry.java, * gnu/javax/crypto/keyring/EncryptedEntry.java, * gnu/javax/crypto/keyring/Entry.java, * gnu/javax/crypto/keyring/EnvelopeEntry.java, * gnu/javax/crypto/keyring/GnuPrivateKeyring.java, * gnu/javax/crypto/keyring/GnuPublicKeyring.java, * gnu/javax/crypto/keyring/IKeyring.java, * gnu/javax/crypto/keyring/IPrivateKeyring.java, * gnu/javax/crypto/keyring/IPublicKeyring.java, * gnu/javax/crypto/keyring/MalformedKeyringException.java, * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java, * gnu/javax/crypto/keyring/MeteredInputStream.java, * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java, * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java, * gnu/javax/crypto/keyring/PasswordProtectedEntry.java, * gnu/javax/crypto/keyring/PrimitiveEntry.java, * gnu/javax/crypto/keyring/PrivateKeyEntry.java, * gnu/javax/crypto/keyring/Properties.java, * gnu/javax/crypto/keyring/PublicKeyEntry.java, * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java, * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java, * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java, * gnu/javax/crypto/kwa/TripleDESKeyWrap.java, * gnu/javax/crypto/mac/BaseMac.java, * gnu/javax/crypto/mac/HMac.java, * gnu/javax/crypto/mac/HMacFactory.java, * gnu/javax/crypto/mac/IMac.java, * gnu/javax/crypto/mac/MacFactory.java, * gnu/javax/crypto/mac/MacInputStream.java, * gnu/javax/crypto/mac/MacOutputStream.java, * gnu/javax/crypto/mac/OMAC.java, * gnu/javax/crypto/mac/TMMH16.java, * gnu/javax/crypto/mac/UHash32.java, * gnu/javax/crypto/mac/UMac32.java, * gnu/javax/crypto/mode/BaseMode.java, * gnu/javax/crypto/mode/CBC.java, * gnu/javax/crypto/mode/CFB.java, * gnu/javax/crypto/mode/CTR.java, * gnu/javax/crypto/mode/EAX.java, * gnu/javax/crypto/mode/ECB.java, * gnu/javax/crypto/mode/IAuthenticatedMode.java, * gnu/javax/crypto/mode/ICM.java, * gnu/javax/crypto/mode/IMode.java, * gnu/javax/crypto/mode/ModeFactory.java, * gnu/javax/crypto/mode/OFB.java, * gnu/javax/crypto/pad/BasePad.java, * gnu/javax/crypto/pad/IPad.java, * gnu/javax/crypto/pad/PKCS1_V1_5.java, * gnu/javax/crypto/pad/PKCS7.java, * gnu/javax/crypto/pad/PadFactory.java, * gnu/javax/crypto/pad/TBC.java, * gnu/javax/crypto/pad/WrongPaddingException.java, * gnu/javax/crypto/prng/ARCFour.java, * gnu/javax/crypto/prng/CSPRNG.java, * gnu/javax/crypto/prng/ICMGenerator.java, * gnu/javax/crypto/prng/IPBE.java, * gnu/javax/crypto/prng/PBKDF2.java, * gnu/javax/crypto/prng/PRNGFactory.java, * gnu/javax/crypto/prng/UMacGenerator.java, * gnu/javax/crypto/sasl/AuthInfo.java, * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java, * gnu/javax/crypto/sasl/ClientFactory.java, * gnu/javax/crypto/sasl/ClientMechanism.java, * gnu/javax/crypto/sasl/ConfidentialityException.java, * gnu/javax/crypto/sasl/IAuthInfoProvider.java, * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java, * gnu/javax/crypto/sasl/IllegalMechanismStateException.java, * gnu/javax/crypto/sasl/InputBuffer.java, * gnu/javax/crypto/sasl/IntegrityException.java, * gnu/javax/crypto/sasl/NoSuchMechanismException.java, * gnu/javax/crypto/sasl/NoSuchUserException.java, * gnu/javax/crypto/sasl/OutputBuffer.java, * gnu/javax/crypto/sasl/SaslEncodingException.java, * gnu/javax/crypto/sasl/SaslInputStream.java, * gnu/javax/crypto/sasl/SaslOutputStream.java, * gnu/javax/crypto/sasl/SaslUtil.java, * gnu/javax/crypto/sasl/ServerFactory.java, * gnu/javax/crypto/sasl/ServerMechanism.java, * gnu/javax/crypto/sasl/UserAlreadyExistsException.java, * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java, * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java, * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java, * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java, * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java, * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java, * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java, * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java, * gnu/javax/crypto/sasl/crammd5/PasswordFile.java, * gnu/javax/crypto/sasl/plain/PasswordFile.java, * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java, * gnu/javax/crypto/sasl/plain/PlainClient.java, * gnu/javax/crypto/sasl/plain/PlainRegistry.java, * gnu/javax/crypto/sasl/plain/PlainServer.java, * gnu/javax/crypto/sasl/srp/CALG.java, * gnu/javax/crypto/sasl/srp/ClientStore.java, * gnu/javax/crypto/sasl/srp/IALG.java, * gnu/javax/crypto/sasl/srp/KDF.java, * gnu/javax/crypto/sasl/srp/PasswordFile.java, * gnu/javax/crypto/sasl/srp/SRP.java, * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java, * gnu/javax/crypto/sasl/srp/SRPClient.java, * gnu/javax/crypto/sasl/srp/SRPRegistry.java, * gnu/javax/crypto/sasl/srp/SRPServer.java, * gnu/javax/crypto/sasl/srp/SecurityContext.java, * gnu/javax/crypto/sasl/srp/ServerStore.java, * gnu/javax/crypto/sasl/srp/StoreEntry.java, * gnu/javax/imageio/IIOInputStream.java, * gnu/javax/imageio/bmp/BMPDecoder.java, * gnu/javax/imageio/bmp/BMPEncoder.java, * gnu/javax/imageio/bmp/BMPException.java, * gnu/javax/imageio/bmp/BMPFileHeader.java, * gnu/javax/imageio/bmp/BMPImageReader.java, * gnu/javax/imageio/bmp/BMPImageReaderSpi.java, * gnu/javax/imageio/bmp/BMPImageWriter.java, * gnu/javax/imageio/bmp/BMPImageWriterSpi.java, * gnu/javax/imageio/bmp/BMPInfoHeader.java, * gnu/javax/imageio/bmp/DecodeBF16.java, * gnu/javax/imageio/bmp/DecodeBF32.java, * gnu/javax/imageio/bmp/DecodeRGB1.java, * gnu/javax/imageio/bmp/DecodeRGB24.java, * gnu/javax/imageio/bmp/DecodeRGB4.java, * gnu/javax/imageio/bmp/DecodeRGB8.java, * gnu/javax/imageio/bmp/DecodeRLE4.java, * gnu/javax/imageio/bmp/DecodeRLE8.java, * gnu/javax/imageio/bmp/EncodeRGB1.java, * gnu/javax/imageio/bmp/EncodeRGB16.java, * gnu/javax/imageio/bmp/EncodeRGB24.java, * gnu/javax/imageio/bmp/EncodeRGB32.java, * gnu/javax/imageio/bmp/EncodeRGB4.java, * gnu/javax/imageio/bmp/EncodeRGB8.java, * gnu/javax/imageio/bmp/EncodeRLE4.java, * gnu/javax/imageio/bmp/EncodeRLE8.java, * gnu/javax/imageio/gif/GIFFile.java, * gnu/javax/imageio/gif/GIFImageReader.java, * gnu/javax/imageio/gif/GIFImageReaderSpi.java, * gnu/javax/imageio/jpeg/DCT.java, * gnu/javax/imageio/jpeg/JPEGComponent.java, * gnu/javax/imageio/jpeg/JPEGDecoder.java, * gnu/javax/imageio/jpeg/JPEGImageInputStream.java, * gnu/javax/imageio/jpeg/JPEGImageReader.java, * gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java, * gnu/javax/imageio/jpeg/JPEGMarker.java, * gnu/javax/imageio/jpeg/ZigZag.java, * gnu/javax/imageio/png/PNGChunk.java, * gnu/javax/imageio/png/PNGData.java, * gnu/javax/imageio/png/PNGDecoder.java, * gnu/javax/imageio/png/PNGEncoder.java, * gnu/javax/imageio/png/PNGException.java, * gnu/javax/imageio/png/PNGFile.java, * gnu/javax/imageio/png/PNGFilter.java, * gnu/javax/imageio/png/PNGGamma.java, * gnu/javax/imageio/png/PNGHeader.java, * gnu/javax/imageio/png/PNGICCProfile.java, * gnu/javax/imageio/png/PNGImageReader.java, * gnu/javax/imageio/png/PNGPalette.java, * gnu/javax/imageio/png/PNGPhys.java, * gnu/javax/imageio/png/PNGTime.java, * gnu/javax/management/ListenerData.java, * gnu/javax/management/Server.java, * gnu/javax/management/Translator.java, * gnu/javax/naming/giop/ContextContinuation.java, * gnu/javax/naming/giop/CorbalocParser.java, * gnu/javax/naming/giop/GiopNamingEnumeration.java, * gnu/javax/naming/giop/GiopNamingServiceFactory.java, * gnu/javax/naming/giop/GiopNamingServiceURLContext.java, * gnu/javax/naming/giop/ListBindingsEnumeration.java, * gnu/javax/naming/giop/ListEnumeration.java, * gnu/javax/naming/ictxImpl/trans/GnuName.java, * gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java, * gnu/javax/naming/jndi/url/rmi/ContextContinuation.java, * gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java, * gnu/javax/naming/jndi/url/rmi/ListEnumeration.java, * gnu/javax/naming/jndi/url/rmi/RmiContinuation.java, * gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java, * gnu/javax/naming/jndi/url/rmi/rmiURLContext.java, * gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java, * gnu/javax/net/ssl/AbstractSessionContext.java, * gnu/javax/net/ssl/PreSharedKeyManager.java, * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java, * gnu/javax/net/ssl/SSLCipherSuite.java, * gnu/javax/net/ssl/SSLRecordHandler.java, * gnu/javax/net/ssl/Session.java, * gnu/javax/net/ssl/SessionStoreException.java, * gnu/javax/net/ssl/provider/AbstractHandshake.java, * gnu/javax/net/ssl/provider/Alert.java, * gnu/javax/net/ssl/provider/AlertException.java, * gnu/javax/net/ssl/provider/Builder.java, * gnu/javax/net/ssl/provider/Certificate.java, * gnu/javax/net/ssl/provider/CertificateBuilder.java, * gnu/javax/net/ssl/provider/CertificateRequest.java, * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java, * gnu/javax/net/ssl/provider/CertificateStatusRequest.java, * gnu/javax/net/ssl/provider/CertificateStatusType.java, * gnu/javax/net/ssl/provider/CertificateURL.java, * gnu/javax/net/ssl/provider/CertificateVerify.java, * gnu/javax/net/ssl/provider/CipherSuite.java, * gnu/javax/net/ssl/provider/CipherSuiteList.java, * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java, * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java, * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java, * gnu/javax/net/ssl/provider/ClientHandshake.java, * gnu/javax/net/ssl/provider/ClientHello.java, * gnu/javax/net/ssl/provider/ClientHelloBuilder.java, * gnu/javax/net/ssl/provider/ClientHelloV2.java, * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java, * gnu/javax/net/ssl/provider/ClientPSKParameters.java, * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java, * gnu/javax/net/ssl/provider/CompressionMethod.java, * gnu/javax/net/ssl/provider/CompressionMethodList.java, * gnu/javax/net/ssl/provider/Constructed.java, * gnu/javax/net/ssl/provider/Debug.java, * gnu/javax/net/ssl/provider/DelegatedTask.java, * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java, * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java, * gnu/javax/net/ssl/provider/ExchangeKeys.java, * gnu/javax/net/ssl/provider/Extension.java, * gnu/javax/net/ssl/provider/ExtensionList.java, * gnu/javax/net/ssl/provider/Handshake.java, * gnu/javax/net/ssl/provider/InputSecurityParameters.java, * gnu/javax/net/ssl/provider/Jessie.java, * gnu/javax/net/ssl/provider/MaxFragmentLength.java, * gnu/javax/net/ssl/provider/OutputSecurityParameters.java, * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java, * gnu/javax/net/ssl/provider/Random.java, * gnu/javax/net/ssl/provider/SSLContextImpl.java, * gnu/javax/net/ssl/provider/SSLEngineImpl.java, * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java, * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java, * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java, * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java, * gnu/javax/net/ssl/provider/SSLSocketImpl.java, * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java, * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java, * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java, * gnu/javax/net/ssl/provider/ServerDHParams.java, * gnu/javax/net/ssl/provider/ServerHandshake.java, * gnu/javax/net/ssl/provider/ServerHello.java, * gnu/javax/net/ssl/provider/ServerHelloBuilder.java, * gnu/javax/net/ssl/provider/ServerHelloDone.java, * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java, * gnu/javax/net/ssl/provider/ServerNameList.java, * gnu/javax/net/ssl/provider/ServerPSKParameters.java, * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java, * gnu/javax/net/ssl/provider/SessionImpl.java, * gnu/javax/net/ssl/provider/Signature.java, * gnu/javax/net/ssl/provider/SignatureAlgorithm.java, * gnu/javax/net/ssl/provider/SimpleSessionContext.java, * gnu/javax/net/ssl/provider/TruncatedHMAC.java, * gnu/javax/net/ssl/provider/TrustedAuthorities.java, * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java, * gnu/javax/net/ssl/provider/Util.java, * gnu/javax/net/ssl/provider/X500PrincipalList.java, * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java, * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java, * gnu/javax/print/ipp/IppRequest.java, * gnu/javax/rmi/CORBA/CorbaInput.java, * gnu/javax/rmi/CORBA/CorbaOutput.java, * gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java, * gnu/javax/rmi/CORBA/DelegateFactory.java, * gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, * gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, * gnu/javax/rmi/CORBA/RmiUtilities.java, * gnu/javax/rmi/CORBA/StubDelegateImpl.java, * gnu/javax/rmi/CORBA/TieTargetRecord.java, * gnu/javax/rmi/CORBA/UtilDelegateImpl.java, * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java, * gnu/javax/security/auth/callback/AWTCallbackHandler.java, * gnu/javax/security/auth/callback/AbstractCallbackHandler.java, * gnu/javax/security/auth/callback/CertificateCallback.java, * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java, * gnu/javax/security/auth/callback/DefaultCallbackHandler.java, * gnu/javax/security/auth/callback/SwingCallbackHandler.java, * gnu/javax/security/auth/login/ConfigFileParser.java, * gnu/javax/security/auth/login/ConfigFileTokenizer.java, * gnu/javax/security/auth/login/GnuConfiguration.java, * gnu/javax/sound/AudioSecurityManager.java, * gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java, * gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java, * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java, * gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java, * gnu/javax/sound/midi/alsa/AlsaPortDevice.java, * gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java, * gnu/javax/sound/midi/dssi/DSSISynthesizer.java, * gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java, * gnu/javax/sound/midi/file/MidiDataInputStream.java, * gnu/javax/sound/midi/file/MidiDataOutputStream.java, * gnu/javax/sound/midi/file/MidiFileReader.java, * gnu/javax/sound/midi/file/MidiFileWriter.java, * gnu/javax/sound/sampled/AU/AUReader.java, * gnu/javax/sound/sampled/WAV/WAVReader.java, * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java, * gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java, * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java, * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java, * gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java, * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java, * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java, * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java, * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java, * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java, * gnu/javax/swing/text/html/CharacterAttributeTranslator.java, * gnu/javax/swing/text/html/CombinedAttributes.java, * gnu/javax/swing/text/html/ImageViewIconFactory.java, * gnu/javax/swing/text/html/css/BorderStyle.java, * gnu/javax/swing/text/html/css/CSSParser.java, * gnu/javax/swing/text/html/css/CSSScanner.java, * gnu/javax/swing/text/html/css/Selector.java, * gnu/javax/swing/text/html/parser/GnuParserDelegator.java, * gnu/javax/swing/text/html/parser/HTML_401F.java, * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java, * gnu/javax/swing/text/html/parser/htmlAttributeSet.java, * gnu/javax/swing/text/html/parser/htmlValidator.java, * gnu/javax/swing/text/html/parser/models/list.java, * gnu/javax/swing/text/html/parser/support/Parser.java, * gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java, * gnu/javax/swing/text/html/parser/support/textPreProcessor.java, * gnu/javax/swing/tree/GnuPath.java, * gnu/test/Fail.java, * gnu/test/Pass.java, * gnu/test/Test.java, * gnu/test/Unsupported.java, * gnu/xml/aelfred2/JAXPFactory.java, * gnu/xml/aelfred2/SAXDriver.java, * gnu/xml/aelfred2/XmlParser.java, * gnu/xml/aelfred2/XmlReader.java, * gnu/xml/dom/Consumer.java, * gnu/xml/dom/DTDAttributeTypeInfo.java, * gnu/xml/dom/DTDElementTypeInfo.java, * gnu/xml/dom/DomAttr.java, * gnu/xml/dom/DomCDATASection.java, * gnu/xml/dom/DomCharacterData.java, * gnu/xml/dom/DomComment.java, * gnu/xml/dom/DomDOMException.java, * gnu/xml/dom/DomDoctype.java, * gnu/xml/dom/DomDocument.java, * gnu/xml/dom/DomDocumentBuilder.java, * gnu/xml/dom/DomDocumentBuilderFactory.java, * gnu/xml/dom/DomDocumentConfiguration.java, * gnu/xml/dom/DomDocumentFragment.java, * gnu/xml/dom/DomElement.java, * gnu/xml/dom/DomEntity.java, * gnu/xml/dom/DomEntityReference.java, * gnu/xml/dom/DomEvent.java, * gnu/xml/dom/DomExtern.java, * gnu/xml/dom/DomImpl.java, * gnu/xml/dom/DomIterator.java, * gnu/xml/dom/DomNSResolverContext.java, * gnu/xml/dom/DomNamedNodeMap.java, * gnu/xml/dom/DomNode.java, * gnu/xml/dom/DomNodeIterator.java, * gnu/xml/dom/DomNotation.java, * gnu/xml/dom/DomNsNode.java, * gnu/xml/dom/DomProcessingInstruction.java, * gnu/xml/dom/DomText.java, * gnu/xml/dom/DomXPathExpression.java, * gnu/xml/dom/DomXPathNSResolver.java, * gnu/xml/dom/DomXPathResult.java, * gnu/xml/dom/ImplementationList.java, * gnu/xml/dom/ImplementationSource.java, * gnu/xml/dom/JAXPFactory.java, * gnu/xml/dom/html2/DomHTMLAnchorElement.java, * gnu/xml/dom/html2/DomHTMLAppletElement.java, * gnu/xml/dom/html2/DomHTMLAreaElement.java, * gnu/xml/dom/html2/DomHTMLBRElement.java, * gnu/xml/dom/html2/DomHTMLBaseElement.java, * gnu/xml/dom/html2/DomHTMLBaseFontElement.java, * gnu/xml/dom/html2/DomHTMLBodyElement.java, * gnu/xml/dom/html2/DomHTMLButtonElement.java, * gnu/xml/dom/html2/DomHTMLCollection.java, * gnu/xml/dom/html2/DomHTMLDListElement.java, * gnu/xml/dom/html2/DomHTMLDirectoryElement.java, * gnu/xml/dom/html2/DomHTMLDivElement.java, * gnu/xml/dom/html2/DomHTMLDocument.java, * gnu/xml/dom/html2/DomHTMLElement.java, * gnu/xml/dom/html2/DomHTMLEmbedElement.java, * gnu/xml/dom/html2/DomHTMLFieldSetElement.java, * gnu/xml/dom/html2/DomHTMLFontElement.java, * gnu/xml/dom/html2/DomHTMLFormElement.java, * gnu/xml/dom/html2/DomHTMLFrameElement.java, * gnu/xml/dom/html2/DomHTMLFrameSetElement.java, * gnu/xml/dom/html2/DomHTMLHRElement.java, * gnu/xml/dom/html2/DomHTMLHeadElement.java, * gnu/xml/dom/html2/DomHTMLHeadingElement.java, * gnu/xml/dom/html2/DomHTMLHtmlElement.java, * gnu/xml/dom/html2/DomHTMLIFrameElement.java, * gnu/xml/dom/html2/DomHTMLImageElement.java, * gnu/xml/dom/html2/DomHTMLImpl.java, * gnu/xml/dom/html2/DomHTMLInputElement.java, * gnu/xml/dom/html2/DomHTMLIsIndexElement.java, * gnu/xml/dom/html2/DomHTMLLIElement.java, * gnu/xml/dom/html2/DomHTMLLabelElement.java, * gnu/xml/dom/html2/DomHTMLLegendElement.java, * gnu/xml/dom/html2/DomHTMLLinkElement.java, * gnu/xml/dom/html2/DomHTMLMapElement.java, * gnu/xml/dom/html2/DomHTMLMenuElement.java, * gnu/xml/dom/html2/DomHTMLMetaElement.java, * gnu/xml/dom/html2/DomHTMLModElement.java, * gnu/xml/dom/html2/DomHTMLOListElement.java, * gnu/xml/dom/html2/DomHTMLObjectElement.java, * gnu/xml/dom/html2/DomHTMLOptGroupElement.java, * gnu/xml/dom/html2/DomHTMLOptionElement.java, * gnu/xml/dom/html2/DomHTMLParagraphElement.java, * gnu/xml/dom/html2/DomHTMLParamElement.java, * gnu/xml/dom/html2/DomHTMLParser.java, * gnu/xml/dom/html2/DomHTMLPreElement.java, * gnu/xml/dom/html2/DomHTMLQuoteElement.java, * gnu/xml/dom/html2/DomHTMLScriptElement.java, * gnu/xml/dom/html2/DomHTMLSelectElement.java, * gnu/xml/dom/html2/DomHTMLStyleElement.java, * gnu/xml/dom/html2/DomHTMLTableCaptionElement.java, * gnu/xml/dom/html2/DomHTMLTableCellElement.java, * gnu/xml/dom/html2/DomHTMLTableColElement.java, * gnu/xml/dom/html2/DomHTMLTableElement.java, * gnu/xml/dom/html2/DomHTMLTableRowElement.java, * gnu/xml/dom/html2/DomHTMLTableSectionElement.java, * gnu/xml/dom/html2/DomHTMLTextAreaElement.java, * gnu/xml/dom/html2/DomHTMLTitleElement.java, * gnu/xml/dom/html2/DomHTMLUListElement.java, * gnu/xml/dom/ls/DomLSException.java, * gnu/xml/dom/ls/DomLSInput.java, * gnu/xml/dom/ls/DomLSOutput.java, * gnu/xml/dom/ls/DomLSParser.java, * gnu/xml/dom/ls/DomLSSerializer.java, * gnu/xml/dom/ls/FilteredSAXEventSink.java, * gnu/xml/dom/ls/ReaderInputStream.java, * gnu/xml/dom/ls/SAXEventSink.java, * gnu/xml/dom/ls/WriterOutputStream.java, * gnu/xml/libxmlj/dom/GnomeAttr.java, * gnu/xml/libxmlj/dom/GnomeCDATASection.java, * gnu/xml/libxmlj/dom/GnomeCharacterData.java, * gnu/xml/libxmlj/dom/GnomeComment.java, * gnu/xml/libxmlj/dom/GnomeDOMException.java, * gnu/xml/libxmlj/dom/GnomeDOMStringList.java, * gnu/xml/libxmlj/dom/GnomeDocument.java, * gnu/xml/libxmlj/dom/GnomeDocumentBuilder.java, * gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java, * gnu/xml/libxmlj/dom/GnomeDocumentFragment.java, * gnu/xml/libxmlj/dom/GnomeDocumentType.java, * gnu/xml/libxmlj/dom/GnomeElement.java, * gnu/xml/libxmlj/dom/GnomeEntity.java, * gnu/xml/libxmlj/dom/GnomeEntityReference.java, * gnu/xml/libxmlj/dom/GnomeNamedNodeMap.java, * gnu/xml/libxmlj/dom/GnomeNode.java, * gnu/xml/libxmlj/dom/GnomeNodeList.java, * gnu/xml/libxmlj/dom/GnomeNotation.java, * gnu/xml/libxmlj/dom/GnomeProcessingInstruction.java, * gnu/xml/libxmlj/dom/GnomeText.java, * gnu/xml/libxmlj/dom/GnomeTypeInfo.java, * gnu/xml/libxmlj/dom/GnomeXPathExpression.java, * gnu/xml/libxmlj/dom/GnomeXPathNSResolver.java, * gnu/xml/libxmlj/dom/GnomeXPathNodeList.java, * gnu/xml/libxmlj/dom/GnomeXPathResult.java, * gnu/xml/libxmlj/sax/GnomeLocator.java, * gnu/xml/libxmlj/sax/GnomeSAXParser.java, * gnu/xml/libxmlj/sax/GnomeSAXParserFactory.java, * gnu/xml/libxmlj/sax/GnomeXMLReader.java, * gnu/xml/libxmlj/sax/Namespaces.java, * gnu/xml/libxmlj/sax/StringArrayAttributes.java, * gnu/xml/libxmlj/sax/XMLName.java, * gnu/xml/libxmlj/transform/ErrorListenerErrorHandler.java, * gnu/xml/libxmlj/transform/GnomeTransformer.java, * gnu/xml/libxmlj/transform/GnomeTransformerFactory.java, * gnu/xml/libxmlj/transform/URIResolverEntityResolver.java, * gnu/xml/libxmlj/util/EmptyNodeList.java, * gnu/xml/libxmlj/util/NamedInputStream.java, * gnu/xml/libxmlj/util/StandaloneDocumentType.java, * gnu/xml/libxmlj/util/StandaloneLocator.java, * gnu/xml/libxmlj/util/XMLJ.java, * gnu/xml/pipeline/CallFilter.java, * gnu/xml/pipeline/DomConsumer.java, * gnu/xml/pipeline/EventConsumer.java, * gnu/xml/pipeline/EventFilter.java, * gnu/xml/pipeline/LinkFilter.java, * gnu/xml/pipeline/NSFilter.java, * gnu/xml/pipeline/PipelineFactory.java, * gnu/xml/pipeline/TeeConsumer.java, * gnu/xml/pipeline/TextConsumer.java, * gnu/xml/pipeline/ValidationConsumer.java, * gnu/xml/pipeline/WellFormednessFilter.java, * gnu/xml/pipeline/XIncludeFilter.java, * gnu/xml/pipeline/XsltFilter.java, * gnu/xml/stream/AttributeImpl.java, * gnu/xml/stream/BufferedReader.java, * gnu/xml/stream/CRLFReader.java, * gnu/xml/stream/CharactersImpl.java, * gnu/xml/stream/CommentImpl.java, * gnu/xml/stream/DTDImpl.java, * gnu/xml/stream/EndDocumentImpl.java, * gnu/xml/stream/EndElementImpl.java, * gnu/xml/stream/EntityDeclarationImpl.java, * gnu/xml/stream/EntityReferenceImpl.java, * gnu/xml/stream/FilteredEventReader.java, * gnu/xml/stream/FilteredStreamReader.java, * gnu/xml/stream/NamespaceImpl.java, * gnu/xml/stream/NotationDeclarationImpl.java, * gnu/xml/stream/ProcessingInstructionImpl.java, * gnu/xml/stream/SAXParser.java, * gnu/xml/stream/SAXParserFactory.java, * gnu/xml/stream/StartDocumentImpl.java, * gnu/xml/stream/StartElementImpl.java, * gnu/xml/stream/UnicodeReader.java, * gnu/xml/stream/XIncludeFilter.java, * gnu/xml/stream/XMLEventAllocatorImpl.java, * gnu/xml/stream/XMLEventFactoryImpl.java, * gnu/xml/stream/XMLEventImpl.java, * gnu/xml/stream/XMLEventReaderImpl.java, * gnu/xml/stream/XMLEventWriterImpl.java, * gnu/xml/stream/XMLInputFactoryImpl.java, * gnu/xml/stream/XMLOutputFactoryImpl.java, * gnu/xml/stream/XMLParser.java, * gnu/xml/stream/XMLStreamWriterImpl.java, * gnu/xml/transform/AbstractNumberNode.java, * gnu/xml/transform/ApplyImportsNode.java, * gnu/xml/transform/ApplyTemplatesNode.java, * gnu/xml/transform/AttributeNode.java, * gnu/xml/transform/AttributeSet.java, * gnu/xml/transform/Bindings.java, * gnu/xml/transform/CallTemplateNode.java, * gnu/xml/transform/ChooseNode.java, * gnu/xml/transform/CommentNode.java, * gnu/xml/transform/CopyNode.java, * gnu/xml/transform/CopyOfNode.java, * gnu/xml/transform/CurrentFunction.java, * gnu/xml/transform/DOMSourceLocator.java, * gnu/xml/transform/DocumentFunction.java, * gnu/xml/transform/ElementAvailableFunction.java, * gnu/xml/transform/ElementNode.java, * gnu/xml/transform/ErrorListenerErrorHandler.java, * gnu/xml/transform/ForEachNode.java, * gnu/xml/transform/FormatNumberFunction.java, * gnu/xml/transform/FunctionAvailableFunction.java, * gnu/xml/transform/GenerateIdFunction.java, * gnu/xml/transform/IfNode.java, * gnu/xml/transform/Key.java, * gnu/xml/transform/KeyFunction.java, * gnu/xml/transform/LiteralNode.java, * gnu/xml/transform/MessageNode.java, * gnu/xml/transform/NamespaceProxy.java, * gnu/xml/transform/NodeNumberNode.java, * gnu/xml/transform/NumberNode.java, * gnu/xml/transform/OtherwiseNode.java, * gnu/xml/transform/ParameterNode.java, * gnu/xml/transform/ProcessingInstructionNode.java, * gnu/xml/transform/SAXSerializer.java, * gnu/xml/transform/SAXTemplatesHandler.java, * gnu/xml/transform/SAXTransformerHandler.java, * gnu/xml/transform/SortKey.java, * gnu/xml/transform/StreamSerializer.java, * gnu/xml/transform/StrippingInstruction.java, * gnu/xml/transform/Stylesheet.java, * gnu/xml/transform/SystemPropertyFunction.java, * gnu/xml/transform/Template.java, * gnu/xml/transform/TemplateNode.java, * gnu/xml/transform/TemplatesImpl.java, * gnu/xml/transform/TextNode.java, * gnu/xml/transform/TransformerFactoryImpl.java, * gnu/xml/transform/TransformerImpl.java, * gnu/xml/transform/TransformerOutputProperties.java, * gnu/xml/transform/URIResolverEntityResolver.java, * gnu/xml/transform/UnparsedEntityUriFunction.java, * gnu/xml/transform/ValueOfNode.java, * gnu/xml/transform/WhenNode.java, * gnu/xml/transform/WithParam.java, * gnu/xml/transform/XSLComparator.java, * gnu/xml/transform/XSLURIResolver.java, * gnu/xml/util/DoParse.java, * gnu/xml/util/DomParser.java, * gnu/xml/util/Resolver.java, * gnu/xml/util/SAXNullTransformerFactory.java, * gnu/xml/util/XCat.java, * gnu/xml/util/XHTMLWriter.java, * gnu/xml/util/XMLWriter.java, * gnu/xml/validation/datatype/Annotation.java, * gnu/xml/validation/datatype/AnySimpleType.java, * gnu/xml/validation/datatype/AnyType.java, * gnu/xml/validation/datatype/AnyURIType.java, * gnu/xml/validation/datatype/AtomicSimpleType.java, * gnu/xml/validation/datatype/Base64BinaryType.java, * gnu/xml/validation/datatype/BooleanType.java, * gnu/xml/validation/datatype/ByteType.java, * gnu/xml/validation/datatype/DateTimeType.java, * gnu/xml/validation/datatype/DateType.java, * gnu/xml/validation/datatype/DecimalType.java, * gnu/xml/validation/datatype/DoubleType.java, * gnu/xml/validation/datatype/DurationType.java, * gnu/xml/validation/datatype/EntitiesType.java, * gnu/xml/validation/datatype/EntityType.java, * gnu/xml/validation/datatype/EnumerationFacet.java, * gnu/xml/validation/datatype/Facet.java, * gnu/xml/validation/datatype/FloatType.java, * gnu/xml/validation/datatype/FractionDigitsFacet.java, * gnu/xml/validation/datatype/GDayType.java, * gnu/xml/validation/datatype/GMonthDayType.java, * gnu/xml/validation/datatype/GMonthType.java, * gnu/xml/validation/datatype/GYearMonthType.java, * gnu/xml/validation/datatype/GYearType.java, * gnu/xml/validation/datatype/HexBinaryType.java, * gnu/xml/validation/datatype/IDRefType.java, * gnu/xml/validation/datatype/IDRefsType.java, * gnu/xml/validation/datatype/IDType.java, * gnu/xml/validation/datatype/IntType.java, * gnu/xml/validation/datatype/IntegerType.java, * gnu/xml/validation/datatype/LanguageType.java, * gnu/xml/validation/datatype/LengthFacet.java, * gnu/xml/validation/datatype/ListSimpleType.java, * gnu/xml/validation/datatype/LongType.java, * gnu/xml/validation/datatype/MaxExclusiveFacet.java, * gnu/xml/validation/datatype/MaxInclusiveFacet.java, * gnu/xml/validation/datatype/MaxLengthFacet.java, * gnu/xml/validation/datatype/MinExclusiveFacet.java, * gnu/xml/validation/datatype/MinInclusiveFacet.java, * gnu/xml/validation/datatype/MinLengthFacet.java, * gnu/xml/validation/datatype/NCNameType.java, * gnu/xml/validation/datatype/NMTokenType.java, * gnu/xml/validation/datatype/NMTokensType.java, * gnu/xml/validation/datatype/NameType.java, * gnu/xml/validation/datatype/NegativeIntegerType.java, * gnu/xml/validation/datatype/NonNegativeIntegerType.java, * gnu/xml/validation/datatype/NonPositiveIntegerType.java, * gnu/xml/validation/datatype/NormalizedStringType.java, * gnu/xml/validation/datatype/NotationType.java, * gnu/xml/validation/datatype/PatternFacet.java, * gnu/xml/validation/datatype/PositiveIntegerType.java, * gnu/xml/validation/datatype/QNameType.java, * gnu/xml/validation/datatype/ShortType.java, * gnu/xml/validation/datatype/SimpleType.java, * gnu/xml/validation/datatype/StringType.java, * gnu/xml/validation/datatype/TimeType.java, * gnu/xml/validation/datatype/TokenType.java, * gnu/xml/validation/datatype/TotalDigitsFacet.java, * gnu/xml/validation/datatype/Type.java, * gnu/xml/validation/datatype/TypeBuilder.java, * gnu/xml/validation/datatype/TypeLibrary.java, * gnu/xml/validation/datatype/TypeLibraryFactory.java, * gnu/xml/validation/datatype/UnionSimpleType.java, * gnu/xml/validation/datatype/UnsignedByteType.java, * gnu/xml/validation/datatype/UnsignedIntType.java, * gnu/xml/validation/datatype/UnsignedLongType.java, * gnu/xml/validation/datatype/UnsignedShortType.java, * gnu/xml/validation/datatype/WhiteSpaceFacet.java, * gnu/xml/validation/relaxng/AnyNameNameClass.java, * gnu/xml/validation/relaxng/AttributePattern.java, * gnu/xml/validation/relaxng/ChoiceNameClass.java, * gnu/xml/validation/relaxng/ChoicePattern.java, * gnu/xml/validation/relaxng/DataPattern.java, * gnu/xml/validation/relaxng/Define.java, * gnu/xml/validation/relaxng/ElementPattern.java, * gnu/xml/validation/relaxng/EmptyPattern.java, * gnu/xml/validation/relaxng/FullSyntaxBuilder.java, * gnu/xml/validation/relaxng/Grammar.java, * gnu/xml/validation/relaxng/GrammarException.java, * gnu/xml/validation/relaxng/GrammarValidator.java, * gnu/xml/validation/relaxng/GroupPattern.java, * gnu/xml/validation/relaxng/InterleavePattern.java, * gnu/xml/validation/relaxng/ListPattern.java, * gnu/xml/validation/relaxng/NSNameNameClass.java, * gnu/xml/validation/relaxng/NameClass.java, * gnu/xml/validation/relaxng/NameNameClass.java, * gnu/xml/validation/relaxng/NotAllowedPattern.java, * gnu/xml/validation/relaxng/OneOrMorePattern.java, * gnu/xml/validation/relaxng/Param.java, * gnu/xml/validation/relaxng/Pattern.java, * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java, * gnu/xml/validation/relaxng/RefPattern.java, * gnu/xml/validation/relaxng/TextPattern.java, * gnu/xml/validation/relaxng/ValuePattern.java, * gnu/xml/validation/xmlschema/AnyAttribute.java, * gnu/xml/validation/xmlschema/AttributeDeclaration.java, * gnu/xml/validation/xmlschema/AttributeUse.java, * gnu/xml/validation/xmlschema/ComplexType.java, * gnu/xml/validation/xmlschema/ElementDeclaration.java, * gnu/xml/validation/xmlschema/Particle.java, * gnu/xml/validation/xmlschema/ValidationException.java, * gnu/xml/validation/xmlschema/XMLSchema.java, * gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java, * gnu/xml/validation/xmlschema/XMLSchemaBuilder.java, * gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java, * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java, * gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java, * gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java, * gnu/xml/validation/xmlschema/XMLSchemaValidator.java, * gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java, * gnu/xml/xpath/AndExpr.java, * gnu/xml/xpath/ArithmeticExpr.java, * gnu/xml/xpath/BooleanFunction.java, * gnu/xml/xpath/CeilingFunction.java, * gnu/xml/xpath/ConcatFunction.java, * gnu/xml/xpath/Constant.java, * gnu/xml/xpath/ContainsFunction.java, * gnu/xml/xpath/CountFunction.java, * gnu/xml/xpath/DocumentOrderComparator.java, * gnu/xml/xpath/EqualityExpr.java, * gnu/xml/xpath/Expr.java, * gnu/xml/xpath/FalseFunction.java, * gnu/xml/xpath/FloorFunction.java, * gnu/xml/xpath/Function.java, * gnu/xml/xpath/FunctionCall.java, * gnu/xml/xpath/IdFunction.java, * gnu/xml/xpath/LangFunction.java, * gnu/xml/xpath/LastFunction.java, * gnu/xml/xpath/LocalNameFunction.java, * gnu/xml/xpath/NameFunction.java, * gnu/xml/xpath/NameTest.java, * gnu/xml/xpath/NamespaceTest.java, * gnu/xml/xpath/NamespaceUriFunction.java, * gnu/xml/xpath/NegativeExpr.java, * gnu/xml/xpath/NodeTypeTest.java, * gnu/xml/xpath/NormalizeSpaceFunction.java, * gnu/xml/xpath/NotFunction.java, * gnu/xml/xpath/NumberFunction.java, * gnu/xml/xpath/OrExpr.java, * gnu/xml/xpath/ParenthesizedExpr.java, * gnu/xml/xpath/Path.java, * gnu/xml/xpath/Pattern.java, * gnu/xml/xpath/PositionFunction.java, * gnu/xml/xpath/Predicate.java, * gnu/xml/xpath/RelationalExpr.java, * gnu/xml/xpath/Root.java, * gnu/xml/xpath/RoundFunction.java, * gnu/xml/xpath/Selector.java, * gnu/xml/xpath/StartsWithFunction.java, * gnu/xml/xpath/Steps.java, * gnu/xml/xpath/StringFunction.java, * gnu/xml/xpath/StringLengthFunction.java, * gnu/xml/xpath/SubstringAfterFunction.java, * gnu/xml/xpath/SubstringBeforeFunction.java, * gnu/xml/xpath/SubstringFunction.java, * gnu/xml/xpath/SumFunction.java, * gnu/xml/xpath/Test.java, * gnu/xml/xpath/TranslateFunction.java, * gnu/xml/xpath/TrueFunction.java, * gnu/xml/xpath/UnionExpr.java, * gnu/xml/xpath/VariableReference.java, * gnu/xml/xpath/XPathFactoryImpl.java, * gnu/xml/xpath/XPathImpl.java, * gnu/xml/xpath/XPathParser.java, * gnu/xml/xpath/XPathTokenizer.java, * java/applet/Applet.java, * java/awt/AWTEvent.java, * java/awt/AWTEventMulticaster.java, * java/awt/AWTKeyStroke.java, * java/awt/AlphaComposite.java, * java/awt/BasicStroke.java, * java/awt/BorderLayout.java, * java/awt/BufferCapabilities.java, * java/awt/Button.java, * java/awt/Canvas.java, * java/awt/CardLayout.java, * java/awt/Checkbox.java, * java/awt/CheckboxGroup.java, * java/awt/CheckboxMenuItem.java, * java/awt/Choice.java, * java/awt/Color.java, * java/awt/ColorPaintContext.java, * java/awt/Component.java, * java/awt/Container.java, * java/awt/ContainerOrderFocusTraversalPolicy.java, * java/awt/Cursor.java, * java/awt/DefaultFocusTraversalPolicy.java, * java/awt/DefaultKeyboardFocusManager.java, * java/awt/Desktop.java, * java/awt/Dialog.java, * java/awt/DisplayMode.java, * java/awt/Event.java, * java/awt/EventDispatchThread.java, * java/awt/EventQueue.java, * java/awt/FileDialog.java, * java/awt/FlowLayout.java, * java/awt/FocusTraversalPolicy.java, * java/awt/Font.java, * java/awt/FontMetrics.java, * java/awt/Frame.java, * java/awt/GradientPaint.java, * java/awt/Graphics.java, * java/awt/Graphics2D.java, * java/awt/GraphicsConfiguration.java, * java/awt/GraphicsDevice.java, * java/awt/GridBagConstraints.java, * java/awt/GridBagLayout.java, * java/awt/GridLayout.java, * java/awt/Image.java, * java/awt/Insets.java, * java/awt/JobAttributes.java, * java/awt/KeyboardFocusManager.java, * java/awt/Label.java, * java/awt/LightweightDispatcher.java, * java/awt/List.java, * java/awt/MediaTracker.java, * java/awt/Menu.java, * java/awt/MenuBar.java, * java/awt/MenuComponent.java, * java/awt/MenuItem.java, * java/awt/MenuShortcut.java, * java/awt/MouseInfo.java, * java/awt/PageAttributes.java, * java/awt/Point.java, * java/awt/PointerInfo.java, * java/awt/Polygon.java, * java/awt/PopupMenu.java, * java/awt/Rectangle.java, * java/awt/RenderingHints.java, * java/awt/Robot.java, * java/awt/ScrollPane.java, * java/awt/ScrollPaneAdjustable.java, * java/awt/Scrollbar.java, * java/awt/Shape.java, * java/awt/SystemColor.java, * java/awt/TextArea.java, * java/awt/TextComponent.java, * java/awt/TextField.java, * java/awt/TexturePaint.java, * java/awt/Toolkit.java, * java/awt/Window.java, * java/awt/color/ICC_ColorSpace.java, * java/awt/color/ICC_Profile.java, * java/awt/color/ICC_ProfileGray.java, * java/awt/color/ICC_ProfileRGB.java, * java/awt/datatransfer/Clipboard.java, * java/awt/datatransfer/ClipboardOwner.java, * java/awt/datatransfer/DataFlavor.java, * java/awt/datatransfer/FlavorEvent.java, * java/awt/datatransfer/FlavorListener.java, * java/awt/datatransfer/MimeType.java, * java/awt/datatransfer/StringSelection.java, * java/awt/datatransfer/SystemFlavorMap.java, * java/awt/datatransfer/Transferable.java, * java/awt/datatransfer/UnsupportedFlavorException.java, * java/awt/dnd/Autoscroll.java, * java/awt/dnd/DnDEventMulticaster.java, * java/awt/dnd/DragGestureEvent.java, * java/awt/dnd/DragGestureRecognizer.java, * java/awt/dnd/DragSource.java, * java/awt/dnd/DragSourceContext.java, * java/awt/dnd/DragSourceDropEvent.java, * java/awt/dnd/DragSourceEvent.java, * java/awt/dnd/DropTarget.java, * java/awt/dnd/DropTargetContext.java, * java/awt/dnd/DropTargetDragEvent.java, * java/awt/dnd/DropTargetDropEvent.java, * java/awt/dnd/DropTargetEvent.java, * java/awt/dnd/MouseDragGestureRecognizer.java, * java/awt/dnd/peer/DropTargetContextPeer.java, * java/awt/event/AWTEventListener.java, * java/awt/event/ActionEvent.java, * java/awt/event/ComponentAdapter.java, * java/awt/event/ComponentEvent.java, * java/awt/event/InputEvent.java, * java/awt/event/InputMethodEvent.java, * java/awt/event/InvocationEvent.java, * java/awt/event/KeyEvent.java, * java/awt/event/MouseEvent.java, * java/awt/event/MouseListener.java, * java/awt/event/MouseWheelEvent.java, * java/awt/event/WindowEvent.java, * java/awt/font/FontRenderContext.java, * java/awt/font/GlyphJustificationInfo.java, * java/awt/font/GlyphMetrics.java, * java/awt/font/GlyphVector.java, * java/awt/font/GraphicAttribute.java, * java/awt/font/ImageGraphicAttribute.java, * java/awt/font/LineBreakMeasurer.java, * java/awt/font/LineMetrics.java, * java/awt/font/MultipleMaster.java, * java/awt/font/OpenType.java, * java/awt/font/ShapeGraphicAttribute.java, * java/awt/font/TextAttribute.java, * java/awt/font/TextHitInfo.java, * java/awt/font/TextLayout.java, * java/awt/font/TextMeasurer.java, * java/awt/font/TransformAttribute.java, * java/awt/geom/AffineTransform.java, * java/awt/geom/Arc2D.java, * java/awt/geom/Area.java, * java/awt/geom/CubicCurve2D.java, * java/awt/geom/Ellipse2D.java, * java/awt/geom/FlatteningPathIterator.java, * java/awt/geom/GeneralPath.java, * java/awt/geom/Line2D.java, * java/awt/geom/QuadCurve2D.java, * java/awt/geom/RectangularShape.java, * java/awt/geom/RoundRectangle2D.java, * java/awt/im/InputContext.java, * java/awt/im/spi/InputMethodDescriptor.java, * java/awt/image/AffineTransformOp.java, * java/awt/image/AreaAveragingScaleFilter.java, * java/awt/image/BandCombineOp.java, * java/awt/image/BandedSampleModel.java, * java/awt/image/BufferedImage.java, * java/awt/image/BufferedImageFilter.java, * java/awt/image/BufferedImageOp.java, * java/awt/image/ByteLookupTable.java, * java/awt/image/ColorConvertOp.java, * java/awt/image/ColorModel.java, * java/awt/image/ComponentColorModel.java, * java/awt/image/ComponentSampleModel.java, * java/awt/image/ConvolveOp.java, * java/awt/image/CropImageFilter.java, * java/awt/image/DataBuffer.java, * java/awt/image/DataBufferByte.java, * java/awt/image/DataBufferDouble.java, * java/awt/image/DataBufferFloat.java, * java/awt/image/DataBufferInt.java, * java/awt/image/DataBufferShort.java, * java/awt/image/DataBufferUShort.java, * java/awt/image/DirectColorModel.java, * java/awt/image/FilteredImageSource.java, * java/awt/image/ImageConsumer.java, * java/awt/image/ImageFilter.java, * java/awt/image/ImageObserver.java, * java/awt/image/ImageProducer.java, * java/awt/image/IndexColorModel.java, * java/awt/image/Kernel.java, * java/awt/image/LookupOp.java, * java/awt/image/LookupTable.java, * java/awt/image/MemoryImageSource.java, * java/awt/image/MultiPixelPackedSampleModel.java, * java/awt/image/PackedColorModel.java, * java/awt/image/PixelGrabber.java, * java/awt/image/PixelInterleavedSampleModel.java, * java/awt/image/RGBImageFilter.java, * java/awt/image/Raster.java, * java/awt/image/RasterOp.java, * java/awt/image/RenderedImage.java, * java/awt/image/ReplicateScaleFilter.java, * java/awt/image/RescaleOp.java, * java/awt/image/SampleModel.java, * java/awt/image/ShortLookupTable.java, * java/awt/image/SinglePixelPackedSampleModel.java, * java/awt/image/TileObserver.java, * java/awt/image/WritableRaster.java, * java/awt/image/WritableRenderedImage.java, * java/awt/image/renderable/ContextualRenderedImageFactory.java, * java/awt/image/renderable/ParameterBlock.java, * java/awt/image/renderable/RenderContext.java, * java/awt/image/renderable/RenderableImage.java, * java/awt/image/renderable/RenderableImageOp.java, * java/awt/image/renderable/RenderableImageProducer.java, * java/awt/image/renderable/RenderedImageFactory.java, * java/awt/peer/ButtonPeer.java, * java/awt/peer/CanvasPeer.java, * java/awt/peer/CheckboxMenuItemPeer.java, * java/awt/peer/CheckboxPeer.java, * java/awt/peer/ChoicePeer.java, * java/awt/peer/ComponentPeer.java, * java/awt/peer/ContainerPeer.java, * java/awt/peer/DesktopPeer.java, * java/awt/peer/DialogPeer.java, * java/awt/peer/FileDialogPeer.java, * java/awt/peer/FontPeer.java, * java/awt/peer/FramePeer.java, * java/awt/peer/LabelPeer.java, * java/awt/peer/LightweightPeer.java, * java/awt/peer/ListPeer.java, * java/awt/peer/MenuBarPeer.java, * java/awt/peer/MenuComponentPeer.java, * java/awt/peer/MenuItemPeer.java, * java/awt/peer/MenuPeer.java, * java/awt/peer/MouseInfoPeer.java, * java/awt/peer/PanelPeer.java, * java/awt/peer/PopupMenuPeer.java, * java/awt/peer/RobotPeer.java, * java/awt/peer/ScrollPanePeer.java, * java/awt/peer/ScrollbarPeer.java, * java/awt/peer/TextComponentPeer.java, * java/awt/peer/TextFieldPeer.java, * java/awt/peer/WindowPeer.java, * java/awt/print/Book.java, * java/awt/print/PageFormat.java, * java/awt/print/Pageable.java, * java/awt/print/Paper.java, * java/awt/print/PrinterGraphics.java, * java/awt/print/PrinterIOException.java, * java/awt/print/PrinterJob.java, * java/beans/AppletInitializer.java, * java/beans/BeanDescriptor.java, * java/beans/BeanInfo.java, * java/beans/Beans.java, * java/beans/Customizer.java, * java/beans/DefaultPersistenceDelegate.java, * java/beans/DesignMode.java, * java/beans/Encoder.java, * java/beans/EventHandler.java, * java/beans/EventSetDescriptor.java, * java/beans/Expression.java, * java/beans/FeatureDescriptor.java, * java/beans/IndexedPropertyChangeEvent.java, * java/beans/IndexedPropertyDescriptor.java, * java/beans/Introspector.java, * java/beans/MethodDescriptor.java, * java/beans/ParameterDescriptor.java, * java/beans/PersistenceDelegate.java, * java/beans/PropertyChangeSupport.java, * java/beans/PropertyDescriptor.java, * java/beans/PropertyEditor.java, * java/beans/PropertyEditorManager.java, * java/beans/SimpleBeanInfo.java, * java/beans/Statement.java, * java/beans/VetoableChangeSupport.java, * java/beans/Visibility.java, * java/beans/XMLDecoder.java, * java/beans/XMLEncoder.java, * java/beans/beancontext/BeanContext.java, * java/beans/beancontext/BeanContextChild.java, * java/beans/beancontext/BeanContextChildComponentProxy.java, * java/beans/beancontext/BeanContextChildSupport.java, * java/beans/beancontext/BeanContextContainerProxy.java, * java/beans/beancontext/BeanContextEvent.java, * java/beans/beancontext/BeanContextMembershipEvent.java, * java/beans/beancontext/BeanContextMembershipListener.java, * java/beans/beancontext/BeanContextProxy.java, * java/beans/beancontext/BeanContextServiceAvailableEvent.java, * java/beans/beancontext/BeanContextServiceProvider.java, * java/beans/beancontext/BeanContextServiceProviderBeanInfo.java, * java/beans/beancontext/BeanContextServiceRevokedEvent.java, * java/beans/beancontext/BeanContextServiceRevokedListener.java, * java/beans/beancontext/BeanContextServices.java, * java/beans/beancontext/BeanContextServicesListener.java, * java/beans/beancontext/BeanContextServicesSupport.java, * java/beans/beancontext/BeanContextSupport.java, * java/io/BufferedInputStream.java, * java/io/BufferedOutputStream.java, * java/io/BufferedReader.java, * java/io/BufferedWriter.java, * java/io/ByteArrayInputStream.java, * java/io/ByteArrayOutputStream.java, * java/io/CharArrayReader.java, * java/io/CharArrayWriter.java, * java/io/DataInput.java, * java/io/DataInputStream.java, * java/io/DataOutput.java, * java/io/DataOutputStream.java, * java/io/DeleteFileHelper.java, * java/io/EOFException.java, * java/io/Externalizable.java, * java/io/File.java, * java/io/FileDescriptor.java, * java/io/FileFilter.java, * java/io/FileInputStream.java, * java/io/FileOutputStream.java, * java/io/FilePermission.java, * java/io/FileReader.java, * java/io/FileWriter.java, * java/io/FilenameFilter.java, * java/io/FilterInputStream.java, * java/io/FilterOutputStream.java, * java/io/FilterReader.java, * java/io/FilterWriter.java, * java/io/InputStream.java, * java/io/InputStreamReader.java, * java/io/InvalidClassException.java, * java/io/LineNumberInputStream.java, * java/io/LineNumberReader.java, * java/io/ObjectInput.java, * java/io/ObjectInputStream.java, * java/io/ObjectInputValidation.java, * java/io/ObjectOutput.java, * java/io/ObjectOutputStream.java, * java/io/ObjectStreamClass.java, * java/io/ObjectStreamConstants.java, * java/io/ObjectStreamField.java, * java/io/OutputStream.java, * java/io/OutputStreamWriter.java, * java/io/PipedInputStream.java, * java/io/PipedOutputStream.java, * java/io/PipedReader.java, * java/io/PipedWriter.java, * java/io/PrintStream.java, * java/io/PrintWriter.java, * java/io/PushbackInputStream.java, * java/io/PushbackReader.java, * java/io/RandomAccessFile.java, * java/io/Reader.java, * java/io/SequenceInputStream.java, * java/io/Serializable.java, * java/io/SerializablePermission.java, * java/io/StreamTokenizer.java, * java/io/StringBufferInputStream.java, * java/io/StringReader.java, * java/io/StringWriter.java, * java/io/UnsupportedEncodingException.java, * java/io/Writer.java, * java/lang/AbstractStringBuffer.java, * java/lang/Boolean.java, * java/lang/Character.java, * java/lang/Class.java, * java/lang/ClassLoader.java, * java/lang/Comparable.java, * java/lang/Double.java, * java/lang/Enum.java, * java/lang/EnumConstantNotPresentException.java, * java/lang/Float.java, * java/lang/IllegalArgumentException.java, * java/lang/IllegalStateException.java, * java/lang/IndexOutOfBoundsException.java, * java/lang/Integer.java, * java/lang/Long.java, * java/lang/Math.java, * java/lang/NoClassDefFoundError.java, * java/lang/Object.java, * java/lang/Package.java, * java/lang/ProcessBuilder.java, * java/lang/Runtime.java, * java/lang/SecurityException.java, * java/lang/SecurityManager.java, * java/lang/StackTraceElement.java, * java/lang/StrictMath.java, * java/lang/String.java, * java/lang/StringBuffer.java, * java/lang/StringBuilder.java, * java/lang/System.java, * java/lang/Thread.java, * java/lang/ThreadLocal.java, * java/lang/Throwable.java, * java/lang/TypeNotPresentException.java, * java/lang/UnsupportedOperationException.java, * java/lang/annotation/Annotation.java, * java/lang/annotation/AnnotationTypeMismatchException.java, * java/lang/annotation/IncompleteAnnotationException.java, * java/lang/instrument/ClassFileTransformer.java, * java/lang/instrument/Instrumentation.java, * java/lang/management/ClassLoadingMXBean.java, * java/lang/management/CompilationMXBean.java, * java/lang/management/GarbageCollectorMXBean.java, * java/lang/management/ManagementFactory.java, * java/lang/management/ManagementPermission.java, * java/lang/management/MemoryMXBean.java, * java/lang/management/MemoryManagerMXBean.java, * java/lang/management/MemoryNotificationInfo.java, * java/lang/management/MemoryPoolMXBean.java, * java/lang/management/MemoryType.java, * java/lang/management/MemoryUsage.java, * java/lang/management/MonitorInfo.java, * java/lang/management/OperatingSystemMXBean.java, * java/lang/management/RuntimeMXBean.java, * java/lang/management/ThreadInfo.java, * java/lang/management/ThreadMXBean.java, * java/lang/ref/PhantomReference.java, * java/lang/ref/Reference.java, * java/lang/ref/ReferenceQueue.java, * java/lang/ref/SoftReference.java, * java/lang/ref/WeakReference.java, * java/lang/reflect/AccessibleObject.java, * java/lang/reflect/AnnotatedElement.java, * java/lang/reflect/Array.java, * java/lang/reflect/Constructor.java, * java/lang/reflect/Field.java, * java/lang/reflect/GenericArrayType.java, * java/lang/reflect/GenericDeclaration.java, * java/lang/reflect/InvocationHandler.java, * java/lang/reflect/MalformedParameterizedTypeException.java, * java/lang/reflect/Method.java, * java/lang/reflect/Modifier.java, * java/lang/reflect/Proxy.java, * java/lang/reflect/Type.java, * java/lang/reflect/TypeVariable.java, * java/lang/reflect/WildcardType.java, * java/math/BigDecimal.java, * java/math/BigInteger.java, * java/math/MathContext.java, * java/math/RoundingMode.java, * java/net/ContentHandler.java, * java/net/DatagramSocket.java, * java/net/DatagramSocketImpl.java, * java/net/HttpURLConnection.java, * java/net/Inet4Address.java, * java/net/Inet6Address.java, * java/net/InetAddress.java, * java/net/InetSocketAddress.java, * java/net/MimeTypeMapper.java, * java/net/MulticastSocket.java, * java/net/NetworkInterface.java, * java/net/Proxy.java, * java/net/ProxySelector.java, * java/net/ResolverCache.java, * java/net/ServerSocket.java, * java/net/Socket.java, * java/net/SocketPermission.java, * java/net/URI.java, * java/net/URL.java, * java/net/URLClassLoader.java, * java/net/URLConnection.java, * java/net/URLDecoder.java, * java/net/URLEncoder.java, * java/net/URLStreamHandler.java, * java/nio/Buffer.java, * java/nio/BufferOverflowException.java, * java/nio/BufferUnderflowException.java, * java/nio/ByteBuffer.java, * java/nio/ByteBufferHelper.java, * java/nio/ByteBufferImpl.java, * java/nio/ByteOrder.java, * java/nio/CharBuffer.java, * java/nio/CharBufferImpl.java, * java/nio/CharSequenceBuffer.java, * java/nio/CharViewBufferImpl.java, * java/nio/DirectByteBufferImpl.java, * java/nio/DoubleBuffer.java, * java/nio/DoubleBufferImpl.java, * java/nio/DoubleViewBufferImpl.java, * java/nio/FloatBuffer.java, * java/nio/FloatBufferImpl.java, * java/nio/FloatViewBufferImpl.java, * java/nio/IntBuffer.java, * java/nio/IntBufferImpl.java, * java/nio/IntViewBufferImpl.java, * java/nio/InvalidMarkException.java, * java/nio/LongBuffer.java, * java/nio/LongBufferImpl.java, * java/nio/LongViewBufferImpl.java, * java/nio/MappedByteBuffer.java, * java/nio/MappedByteBufferImpl.java, * java/nio/ReadOnlyBufferException.java, * java/nio/ShortBuffer.java, * java/nio/ShortBufferImpl.java, * java/nio/ShortViewBufferImpl.java, * java/nio/channels/FileChannel.java, * java/nio/channels/SocketChannel.java, * java/nio/channels/spi/AbstractInterruptibleChannel.java, * java/nio/channels/spi/AbstractSelectableChannel.java, * java/nio/channels/spi/AbstractSelectionKey.java, * java/nio/channels/spi/AbstractSelector.java, * java/nio/channels/spi/SelectorProvider.java, * java/nio/charset/CharacterCodingException.java, * java/nio/charset/Charset.java, * java/nio/charset/CharsetDecoder.java, * java/nio/charset/CharsetEncoder.java, * java/nio/charset/CoderMalfunctionError.java, * java/nio/charset/CoderResult.java, * java/nio/charset/CodingErrorAction.java, * java/nio/charset/IllegalCharsetNameException.java, * java/nio/charset/MalformedInputException.java, * java/nio/charset/UnmappableCharacterException.java, * java/nio/charset/UnsupportedCharsetException.java, * java/rmi/AccessException.java, * java/rmi/AlreadyBoundException.java, * java/rmi/MarshalledObject.java, * java/rmi/Naming.java, * java/rmi/NoSuchObjectException.java, * java/rmi/NotBoundException.java, * java/rmi/RMISecurityException.java, * java/rmi/RMISecurityManager.java, * java/rmi/Remote.java, * java/rmi/RemoteException.java, * java/rmi/StubNotFoundException.java, * java/rmi/UnknownHostException.java, * java/rmi/activation/Activatable.java, * java/rmi/activation/ActivationDesc.java, * java/rmi/activation/ActivationGroup.java, * java/rmi/activation/ActivationGroupDesc.java, * java/rmi/activation/ActivationGroupID.java, * java/rmi/activation/ActivationID.java, * java/rmi/activation/ActivationInstantiator.java, * java/rmi/activation/ActivationMonitor.java, * java/rmi/activation/ActivationSystem.java, * java/rmi/activation/Activator.java, * java/rmi/activation/UnknownGroupException.java, * java/rmi/dgc/DGC.java, * java/rmi/dgc/Lease.java, * java/rmi/dgc/VMID.java, * java/rmi/registry/LocateRegistry.java, * java/rmi/registry/Registry.java, * java/rmi/registry/RegistryHandler.java, * java/rmi/server/LoaderHandler.java, * java/rmi/server/LogStream.java, * java/rmi/server/ObjID.java, * java/rmi/server/Operation.java, * java/rmi/server/RMIClassLoader.java, * java/rmi/server/RMIClientSocketFactory.java, * java/rmi/server/RMIFailureHandler.java, * java/rmi/server/RMIServerSocketFactory.java, * java/rmi/server/RMISocketFactory.java, * java/rmi/server/RemoteCall.java, * java/rmi/server/RemoteObject.java, * java/rmi/server/RemoteObjectInvocationHandler.java, * java/rmi/server/RemoteRef.java, * java/rmi/server/RemoteServer.java, * java/rmi/server/RemoteStub.java, * java/rmi/server/ServerRef.java, * java/rmi/server/Skeleton.java, * java/rmi/server/UID.java, * java/rmi/server/UnicastRemoteObject.java, * java/rmi/server/Unreferenced.java, * java/security/AccessControlContext.java, * java/security/AccessController.java, * java/security/AlgorithmParameterGenerator.java, * java/security/AlgorithmParameterGeneratorSpi.java, * java/security/AlgorithmParameters.java, * java/security/AlgorithmParametersSpi.java, * java/security/CodeSource.java, * java/security/DigestInputStream.java, * java/security/DigestOutputStream.java, * java/security/GeneralSecurityException.java, * java/security/Identity.java, * java/security/IdentityScope.java, * java/security/KeyFactory.java, * java/security/KeyFactorySpi.java, * java/security/KeyPairGenerator.java, * java/security/KeyPairGeneratorSpi.java, * java/security/KeyStore.java, * java/security/KeyStoreSpi.java, * java/security/MessageDigest.java, * java/security/MessageDigestSpi.java, * java/security/Permission.java, * java/security/Permissions.java, * java/security/Policy.java, * java/security/ProtectionDomain.java, * java/security/Provider.java, * java/security/ProviderException.java, * java/security/SecureClassLoader.java, * java/security/SecureRandom.java, * java/security/SecureRandomSpi.java, * java/security/Security.java, * java/security/Signature.java, * java/security/SignatureSpi.java, * java/security/SignedObject.java, * java/security/Signer.java, * java/security/acl/Acl.java, * java/security/acl/AclEntry.java, * java/security/acl/Group.java, * java/security/acl/Owner.java, * java/security/cert/CRL.java, * java/security/cert/CRLSelector.java, * java/security/cert/CertPathBuilder.java, * java/security/cert/CertPathBuilderResult.java, * java/security/cert/CertPathValidator.java, * java/security/cert/CertPathValidatorResult.java, * java/security/cert/CertPathValidatorSpi.java, * java/security/cert/CertSelector.java, * java/security/cert/CertStore.java, * java/security/cert/CertStoreParameters.java, * java/security/cert/CertStoreSpi.java, * java/security/cert/Certificate.java, * java/security/cert/CertificateFactory.java, * java/security/cert/CertificateFactorySpi.java, * java/security/cert/CollectionCertStoreParameters.java, * java/security/cert/LDAPCertStoreParameters.java, * java/security/cert/PKIXBuilderParameters.java, * java/security/cert/PKIXCertPathBuilderResult.java, * java/security/cert/PKIXCertPathChecker.java, * java/security/cert/PKIXCertPathValidatorResult.java, * java/security/cert/PKIXParameters.java, * java/security/cert/PolicyNode.java, * java/security/cert/PolicyQualifierInfo.java, * java/security/cert/X509CRL.java, * java/security/cert/X509CRLEntry.java, * java/security/cert/X509CertSelector.java, * java/security/cert/X509Certificate.java, * java/security/cert/X509Extension.java, * java/security/spec/AlgorithmParameterSpec.java, * java/security/spec/DSAParameterSpec.java, * java/security/spec/DSAPrivateKeySpec.java, * java/security/spec/DSAPublicKeySpec.java, * java/security/spec/EncodedKeySpec.java, * java/security/spec/InvalidParameterSpecException.java, * java/security/spec/KeySpec.java, * java/security/spec/PKCS8EncodedKeySpec.java, * java/security/spec/PSSParameterSpec.java, * java/security/spec/RSAKeyGenParameterSpec.java, * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java, * java/security/spec/RSAOtherPrimeInfo.java, * java/security/spec/RSAPrivateCrtKeySpec.java, * java/security/spec/RSAPrivateKeySpec.java, * java/security/spec/RSAPublicKeySpec.java, * java/security/spec/X509EncodedKeySpec.java, * java/sql/Array.java, * java/sql/BatchUpdateException.java, * java/sql/Blob.java, * java/sql/CallableStatement.java, * java/sql/Clob.java, * java/sql/Connection.java, * java/sql/DataTruncation.java, * java/sql/DatabaseMetaData.java, * java/sql/Date.java, * java/sql/Driver.java, * java/sql/DriverManager.java, * java/sql/DriverPropertyInfo.java, * java/sql/ParameterMetaData.java, * java/sql/PreparedStatement.java, * java/sql/Ref.java, * java/sql/ResultSet.java, * java/sql/ResultSetMetaData.java, * java/sql/SQLData.java, * java/sql/SQLException.java, * java/sql/SQLInput.java, * java/sql/SQLOutput.java, * java/sql/SQLPermission.java, * java/sql/SQLWarning.java, * java/sql/Savepoint.java, * java/sql/Statement.java, * java/sql/Struct.java, * java/sql/Time.java, * java/sql/Timestamp.java, * java/sql/Types.java, * java/text/Annotation.java, * java/text/AttributedCharacterIterator.java, * java/text/AttributedString.java, * java/text/AttributedStringIterator.java, * java/text/Bidi.java, * java/text/BreakIterator.java, * java/text/CharacterIterator.java, * java/text/ChoiceFormat.java, * java/text/CollationElementIterator.java, * java/text/CollationKey.java, * java/text/Collator.java, * java/text/DateFormat.java, * java/text/DateFormatSymbols.java, * java/text/DecimalFormat.java, * java/text/DecimalFormatSymbols.java, * java/text/FieldPosition.java, * java/text/Format.java, * java/text/MessageFormat.java, * java/text/NumberFormat.java, * java/text/ParsePosition.java, * java/text/RuleBasedCollator.java, * java/text/SimpleDateFormat.java, * java/text/StringCharacterIterator.java, * java/text/spi/DateFormatProvider.java, * java/text/spi/NumberFormatProvider.java, * java/util/AbstractCollection.java, * java/util/AbstractList.java, * java/util/AbstractMap.java, * java/util/AbstractSet.java, * java/util/ArrayList.java, * java/util/Arrays.java, * java/util/BitSet.java, * java/util/Calendar.java, * java/util/Collections.java, * java/util/Currency.java, * java/util/Date.java, * java/util/Dictionary.java, * java/util/DuplicateFormatFlagsException.java, * java/util/EnumMap.java, * java/util/EnumSet.java, * java/util/FormatFlagsConversionMismatchException.java, * java/util/Formattable.java, * java/util/FormattableFlags.java, * java/util/Formatter.java, * java/util/FormatterClosedException.java, * java/util/GregorianCalendar.java, * java/util/HashMap.java, * java/util/Hashtable.java, * java/util/IdentityHashMap.java, * java/util/IllegalFormatCodePointException.java, * java/util/IllegalFormatConversionException.java, * java/util/IllegalFormatException.java, * java/util/IllegalFormatFlagsException.java, * java/util/IllegalFormatPrecisionException.java, * java/util/IllegalFormatWidthException.java, * java/util/InputMismatchException.java, * java/util/LinkedHashMap.java, * java/util/LinkedHashSet.java, * java/util/LinkedList.java, * java/util/List.java, * java/util/Locale.java, * java/util/Map.java, * java/util/MissingFormatArgumentException.java, * java/util/MissingFormatWidthException.java, * java/util/PriorityQueue.java, * java/util/Properties.java, * java/util/PropertyPermission.java, * java/util/PropertyPermissionCollection.java, * java/util/Random.java, * java/util/ResourceBundle.java, * java/util/ServiceConfigurationError.java, * java/util/ServiceLoader.java, * java/util/SimpleTimeZone.java, * java/util/StringTokenizer.java, * java/util/TimeZone.java, * java/util/Timer.java, * java/util/TreeMap.java, * java/util/TreeSet.java, * java/util/UUID.java, * java/util/UnknownFormatConversionException.java, * java/util/UnknownFormatFlagsException.java, * java/util/Vector.java, * java/util/WeakHashMap.java, * java/util/concurrent/CopyOnWriteArrayList.java, * java/util/jar/Attributes.java, * java/util/jar/JarEntry.java, * java/util/jar/JarFile.java, * java/util/jar/JarInputStream.java, * java/util/jar/JarOutputStream.java, * java/util/jar/Manifest.java, * java/util/logging/ConsoleHandler.java, * java/util/logging/ErrorManager.java, * java/util/logging/FileHandler.java, * java/util/logging/Formatter.java, * java/util/logging/Handler.java, * java/util/logging/Level.java, * java/util/logging/LogManager.java, * java/util/logging/LogRecord.java, * java/util/logging/Logger.java, * java/util/logging/LoggingMXBean.java, * java/util/logging/LoggingPermission.java, * java/util/logging/MemoryHandler.java, * java/util/logging/SocketHandler.java, * java/util/logging/StreamHandler.java, * java/util/logging/XMLFormatter.java, * java/util/prefs/AbstractPreferences.java, * java/util/prefs/NodeChangeEvent.java, * java/util/prefs/NodeChangeListener.java, * java/util/prefs/PreferenceChangeEvent.java, * java/util/prefs/PreferenceChangeListener.java, * java/util/prefs/Preferences.java, * java/util/prefs/PreferencesFactory.java, * java/util/regex/MatchResult.java, * java/util/regex/Pattern.java, * java/util/regex/PatternSyntaxException.java, * java/util/spi/LocaleNameProvider.java, * java/util/spi/TimeZoneNameProvider.java, * java/util/zip/Adler32.java, * java/util/zip/CRC32.java, * java/util/zip/CheckedInputStream.java, * java/util/zip/CheckedOutputStream.java, * java/util/zip/Deflater.java, * java/util/zip/DeflaterEngine.java, * java/util/zip/DeflaterHuffman.java, * java/util/zip/DeflaterOutputStream.java, * java/util/zip/DeflaterPending.java, * java/util/zip/GZIPInputStream.java, * java/util/zip/GZIPOutputStream.java, * java/util/zip/Inflater.java, * java/util/zip/InflaterDynHeader.java, * java/util/zip/InflaterHuffmanTree.java, * java/util/zip/InflaterInputStream.java, * java/util/zip/OutputWindow.java, * java/util/zip/PendingBuffer.java, * java/util/zip/StreamManipulator.java, * java/util/zip/ZipConstants.java, * java/util/zip/ZipEntry.java, * java/util/zip/ZipFile.java, * java/util/zip/ZipInputStream.java, * java/util/zip/ZipOutputStream.java, * javax/accessibility/AccessibleExtendedText.java, * javax/accessibility/AccessibleRelation.java, * javax/accessibility/AccessibleRole.java, * javax/accessibility/AccessibleState.java, * javax/activation/ActivationDataFlavor.java, * javax/activation/CommandInfo.java, * javax/activation/CommandMap.java, * javax/activation/CommandObject.java, * javax/activation/DataContentHandler.java, * javax/activation/DataContentHandlerFactory.java, * javax/activation/DataHandler.java, * javax/activation/DataHandlerDataSource.java, * javax/activation/DataSource.java, * javax/activation/DataSourceDataContentHandler.java, * javax/activation/FileDataSource.java, * javax/activation/FileTypeMap.java, * javax/activation/MailcapCommandMap.java, * javax/activation/MimeType.java, * javax/activation/MimeTypeParameterList.java, * javax/activation/MimeTypeParseException.java, * javax/activation/MimetypesFileTypeMap.java, * javax/activation/ObjectDataContentHandler.java, * javax/activation/URLDataSource.java, * javax/activation/UnsupportedDataTypeException.java, * javax/crypto/Cipher.java, * javax/crypto/CipherOutputStream.java, * javax/crypto/ExemptionMechanism.java, * javax/crypto/KeyAgreement.java, * javax/crypto/KeyGenerator.java, * javax/crypto/Mac.java, * javax/crypto/MacSpi.java, * javax/crypto/SecretKeyFactory.java, * javax/crypto/spec/PBEKeySpec.java, * javax/imageio/IIOImage.java, * javax/imageio/IIOParam.java, * javax/imageio/IIOParamController.java, * javax/imageio/ImageIO.java, * javax/imageio/ImageReadParam.java, * javax/imageio/ImageReader.java, * javax/imageio/ImageTranscoder.java, * javax/imageio/ImageTypeSpecifier.java, * javax/imageio/ImageWriteParam.java, * javax/imageio/ImageWriter.java, * javax/imageio/event/IIOReadProgressListener.java, * javax/imageio/event/IIOReadUpdateListener.java, * javax/imageio/event/IIOWriteProgressListener.java, * javax/imageio/metadata/IIOInvalidTreeException.java, * javax/imageio/metadata/IIOMetadata.java, * javax/imageio/metadata/IIOMetadataFormatImpl.java, * javax/imageio/metadata/IIOMetadataNode.java, * javax/imageio/plugins/bmp/BMPImageWriteParam.java, * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java, * javax/imageio/spi/IIORegistry.java, * javax/imageio/spi/ImageReaderSpi.java, * javax/imageio/spi/ImageWriterSpi.java, * javax/imageio/spi/RegisterableService.java, * javax/imageio/spi/ServiceRegistry.java, * javax/imageio/stream/FileCacheImageInputStream.java, * javax/imageio/stream/FileCacheImageOutputStream.java, * javax/imageio/stream/FileImageInputStream.java, * javax/imageio/stream/FileImageOutputStream.java, * javax/imageio/stream/ImageInputStream.java, * javax/imageio/stream/ImageInputStreamImpl.java, * javax/imageio/stream/ImageOutputStreamImpl.java, * javax/imageio/stream/MemoryCacheImageInputStream.java, * javax/imageio/stream/MemoryCacheImageOutputStream.java, * javax/management/Attribute.java, * javax/management/AttributeChangeNotification.java, * javax/management/AttributeChangeNotificationFilter.java, * javax/management/AttributeList.java, * javax/management/AttributeNotFoundException.java, * javax/management/AttributeValueExp.java, * javax/management/BadAttributeValueExpException.java, * javax/management/BadBinaryOpValueExpException.java, * javax/management/BadStringOperationException.java, * javax/management/DefaultLoaderRepository.java, * javax/management/Descriptor.java, * javax/management/DynamicMBean.java, * javax/management/InstanceAlreadyExistsException.java, * javax/management/InstanceNotFoundException.java, * javax/management/IntrospectionException.java, * javax/management/InvalidApplicationException.java, * javax/management/InvalidAttributeValueException.java, * javax/management/JMException.java, * javax/management/JMRuntimeException.java, * javax/management/JMX.java, * javax/management/ListenerNotFoundException.java, * javax/management/MBeanAttributeInfo.java, * javax/management/MBeanConstructorInfo.java, * javax/management/MBeanException.java, * javax/management/MBeanFeatureInfo.java, * javax/management/MBeanInfo.java, * javax/management/MBeanNotificationInfo.java, * javax/management/MBeanOperationInfo.java, * javax/management/MBeanParameterInfo.java, * javax/management/MBeanPermission.java, * javax/management/MBeanRegistrationException.java, * javax/management/MBeanServer.java, * javax/management/MBeanServerBuilder.java, * javax/management/MBeanServerConnection.java, * javax/management/MBeanServerDelegate.java, * javax/management/MBeanServerFactory.java, * javax/management/MBeanServerInvocationHandler.java, * javax/management/MBeanServerNotification.java, * javax/management/MBeanServerPermission.java, * javax/management/MBeanTrustPermission.java, * javax/management/MalformedObjectNameException.java, * javax/management/NotCompliantMBeanException.java, * javax/management/Notification.java, * javax/management/NotificationBroadcaster.java, * javax/management/NotificationBroadcasterSupport.java, * javax/management/NotificationEmitter.java, * javax/management/NotificationFilter.java, * javax/management/NotificationFilterSupport.java, * javax/management/NotificationListener.java, * javax/management/ObjectInstance.java, * javax/management/ObjectName.java, * javax/management/OperationsException.java, * javax/management/PersistentMBean.java, * javax/management/Query.java, * javax/management/QueryEval.java, * javax/management/QueryExp.java, * javax/management/ReflectionException.java, * javax/management/RuntimeErrorException.java, * javax/management/RuntimeMBeanException.java, * javax/management/RuntimeOperationsException.java, * javax/management/ServiceNotFoundException.java, * javax/management/StandardMBean.java, * javax/management/StringValueExp.java, * javax/management/ValueExp.java, * javax/management/loading/ClassLoaderRepository.java, * javax/management/openmbean/ArrayType.java, * javax/management/openmbean/CompositeData.java, * javax/management/openmbean/CompositeDataInvocationHandler.java, * javax/management/openmbean/CompositeDataSupport.java, * javax/management/openmbean/CompositeType.java, * javax/management/openmbean/InvalidKeyException.java, * javax/management/openmbean/InvalidOpenTypeException.java, * javax/management/openmbean/KeyAlreadyExistsException.java, * javax/management/openmbean/OpenDataException.java, * javax/management/openmbean/OpenMBeanAttributeInfo.java, * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java, * javax/management/openmbean/OpenMBeanConstructorInfo.java, * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java, * javax/management/openmbean/OpenMBeanInfo.java, * javax/management/openmbean/OpenMBeanInfoSupport.java, * javax/management/openmbean/OpenMBeanOperationInfo.java, * javax/management/openmbean/OpenMBeanOperationInfoSupport.java, * javax/management/openmbean/OpenMBeanParameterInfo.java, * javax/management/openmbean/OpenMBeanParameterInfoSupport.java, * javax/management/openmbean/OpenType.java, * javax/management/openmbean/SimpleType.java, * javax/management/openmbean/TabularData.java, * javax/management/openmbean/TabularDataSupport.java, * javax/management/openmbean/TabularType.java, * javax/management/remote/NotificationResult.java, * javax/management/remote/TargetedNotification.java, * javax/management/remote/rmi/RMIConnection.java, * javax/naming/AuthenticationException.java, * javax/naming/AuthenticationNotSupportedException.java, * javax/naming/BinaryRefAddr.java, * javax/naming/Binding.java, * javax/naming/CannotProceedException.java, * javax/naming/CommunicationException.java, * javax/naming/CompositeName.java, * javax/naming/CompoundName.java, * javax/naming/ConfigurationException.java, * javax/naming/Context.java, * javax/naming/ContextNotEmptyException.java, * javax/naming/InitialContext.java, * javax/naming/InsufficientResourcesException.java, * javax/naming/InterruptedNamingException.java, * javax/naming/InvalidNameException.java, * javax/naming/LimitExceededException.java, * javax/naming/LinkException.java, * javax/naming/LinkLoopException.java, * javax/naming/MalformedLinkException.java, * javax/naming/Name.java, * javax/naming/NameAlreadyBoundException.java, * javax/naming/NameClassPair.java, * javax/naming/NameNotFoundException.java, * javax/naming/NameParser.java, * javax/naming/NamingEnumeration.java, * javax/naming/NamingException.java, * javax/naming/NamingSecurityException.java, * javax/naming/NoInitialContextException.java, * javax/naming/NoPermissionException.java, * javax/naming/NotContextException.java, * javax/naming/PartialResultException.java, * javax/naming/RefAddr.java, * javax/naming/Reference.java, * javax/naming/Referenceable.java, * javax/naming/ReferralException.java, * javax/naming/ServiceUnavailableException.java, * javax/naming/SizeLimitExceededException.java, * javax/naming/StringRefAddr.java, * javax/naming/TimeLimitExceededException.java, * javax/naming/directory/AttributeInUseException.java, * javax/naming/directory/Attributes.java, * javax/naming/directory/BasicAttribute.java, * javax/naming/directory/BasicAttributes.java, * javax/naming/directory/InitialDirContext.java, * javax/naming/directory/ModificationItem.java, * javax/naming/directory/SearchControls.java, * javax/naming/directory/SearchResult.java, * javax/naming/event/EventContext.java, * javax/naming/event/NamespaceChangeListener.java, * javax/naming/event/NamingEvent.java, * javax/naming/event/NamingExceptionEvent.java, * javax/naming/event/NamingListener.java, * javax/naming/event/ObjectChangeListener.java, * javax/naming/ldap/Control.java, * javax/naming/ldap/ControlFactory.java, * javax/naming/ldap/ExtendedRequest.java, * javax/naming/ldap/ExtendedResponse.java, * javax/naming/ldap/HasControls.java, * javax/naming/ldap/InitialLdapContext.java, * javax/naming/ldap/LdapContext.java, * javax/naming/ldap/LdapReferralException.java, * javax/naming/ldap/StartTlsRequest.java, * javax/naming/ldap/UnsolicitedNotification.java, * javax/naming/ldap/UnsolicitedNotificationEvent.java, * javax/naming/ldap/UnsolicitedNotificationListener.java, * javax/naming/spi/DirObjectFactory.java, * javax/naming/spi/DirStateFactory.java, * javax/naming/spi/DirectoryManager.java, * javax/naming/spi/InitialContextFactory.java, * javax/naming/spi/InitialContextFactoryBuilder.java, * javax/naming/spi/NamingManager.java, * javax/naming/spi/ObjectFactory.java, * javax/naming/spi/ObjectFactoryBuilder.java, * javax/naming/spi/ResolveResult.java, * javax/naming/spi/Resolver.java, * javax/naming/spi/StateFactory.java, * javax/net/ssl/CertPathTrustManagerParameters.java, * javax/net/ssl/KeyManagerFactory.java, * javax/net/ssl/KeyStoreBuilderParameters.java, * javax/net/ssl/SSLContext.java, * javax/net/ssl/SSLEngine.java, * javax/net/ssl/SSLEngineResult.java, * javax/net/ssl/SSLException.java, * javax/net/ssl/TrustManagerFactory.java, * javax/net/ssl/X509ExtendedKeyManager.java, * javax/print/AttributeException.java, * javax/print/CancelablePrintJob.java, * javax/print/Doc.java, * javax/print/DocFlavor.java, * javax/print/DocPrintJob.java, * javax/print/FlavorException.java, * javax/print/MultiDoc.java, * javax/print/MultiDocPrintJob.java, * javax/print/MultiDocPrintService.java, * javax/print/PrintException.java, * javax/print/PrintService.java, * javax/print/PrintServiceLookup.java, * javax/print/ServiceUI.java, * javax/print/ServiceUIFactory.java, * javax/print/SimpleDoc.java, * javax/print/StreamPrintService.java, * javax/print/StreamPrintServiceFactory.java, * javax/print/URIException.java, * javax/print/attribute/Attribute.java, * javax/print/attribute/AttributeSet.java, * javax/print/attribute/AttributeSetUtilities.java, * javax/print/attribute/DateTimeSyntax.java, * javax/print/attribute/DocAttribute.java, * javax/print/attribute/DocAttributeSet.java, * javax/print/attribute/EnumSyntax.java, * javax/print/attribute/HashAttributeSet.java, * javax/print/attribute/HashDocAttributeSet.java, * javax/print/attribute/HashPrintJobAttributeSet.java, * javax/print/attribute/HashPrintRequestAttributeSet.java, * javax/print/attribute/HashPrintServiceAttributeSet.java, * javax/print/attribute/IntegerSyntax.java, * javax/print/attribute/PrintJobAttribute.java, * javax/print/attribute/PrintJobAttributeSet.java, * javax/print/attribute/PrintRequestAttribute.java, * javax/print/attribute/PrintRequestAttributeSet.java, * javax/print/attribute/PrintServiceAttribute.java, * javax/print/attribute/PrintServiceAttributeSet.java, * javax/print/attribute/ResolutionSyntax.java, * javax/print/attribute/SetOfIntegerSyntax.java, * javax/print/attribute/Size2DSyntax.java, * javax/print/attribute/SupportedValuesAttribute.java, * javax/print/attribute/TextSyntax.java, * javax/print/attribute/URISyntax.java, * javax/print/attribute/UnmodifiableSetException.java, * javax/print/attribute/standard/Chromaticity.java, * javax/print/attribute/standard/ColorSupported.java, * javax/print/attribute/standard/Compression.java, * javax/print/attribute/standard/Copies.java, * javax/print/attribute/standard/CopiesSupported.java, * javax/print/attribute/standard/DateTimeAtCompleted.java, * javax/print/attribute/standard/DateTimeAtCreation.java, * javax/print/attribute/standard/DateTimeAtProcessing.java, * javax/print/attribute/standard/Destination.java, * javax/print/attribute/standard/DocumentName.java, * javax/print/attribute/standard/Fidelity.java, * javax/print/attribute/standard/Finishings.java, * javax/print/attribute/standard/JobHoldUntil.java, * javax/print/attribute/standard/JobImpressions.java, * javax/print/attribute/standard/JobImpressionsCompleted.java, * javax/print/attribute/standard/JobImpressionsSupported.java, * javax/print/attribute/standard/JobKOctets.java, * javax/print/attribute/standard/JobKOctetsProcessed.java, * javax/print/attribute/standard/JobKOctetsSupported.java, * javax/print/attribute/standard/JobMediaSheets.java, * javax/print/attribute/standard/JobMediaSheetsCompleted.java, * javax/print/attribute/standard/JobMediaSheetsSupported.java, * javax/print/attribute/standard/JobMessageFromOperator.java, * javax/print/attribute/standard/JobName.java, * javax/print/attribute/standard/JobOriginatingUserName.java, * javax/print/attribute/standard/JobPriority.java, * javax/print/attribute/standard/JobPrioritySupported.java, * javax/print/attribute/standard/JobSheets.java, * javax/print/attribute/standard/JobState.java, * javax/print/attribute/standard/JobStateReason.java, * javax/print/attribute/standard/JobStateReasons.java, * javax/print/attribute/standard/Media.java, * javax/print/attribute/standard/MediaName.java, * javax/print/attribute/standard/MediaPrintableArea.java, * javax/print/attribute/standard/MediaSize.java, * javax/print/attribute/standard/MediaSizeName.java, * javax/print/attribute/standard/MediaTray.java, * javax/print/attribute/standard/MultipleDocumentHandling.java, * javax/print/attribute/standard/NumberOfDocuments.java, * javax/print/attribute/standard/NumberOfInterveningJobs.java, * javax/print/attribute/standard/NumberUp.java, * javax/print/attribute/standard/NumberUpSupported.java, * javax/print/attribute/standard/OrientationRequested.java, * javax/print/attribute/standard/OutputDeviceAssigned.java, * javax/print/attribute/standard/PDLOverrideSupported.java, * javax/print/attribute/standard/PageRanges.java, * javax/print/attribute/standard/PagesPerMinute.java, * javax/print/attribute/standard/PagesPerMinuteColor.java, * javax/print/attribute/standard/PresentationDirection.java, * javax/print/attribute/standard/PrintQuality.java, * javax/print/attribute/standard/PrinterInfo.java, * javax/print/attribute/standard/PrinterIsAcceptingJobs.java, * javax/print/attribute/standard/PrinterLocation.java, * javax/print/attribute/standard/PrinterMakeAndModel.java, * javax/print/attribute/standard/PrinterMessageFromOperator.java, * javax/print/attribute/standard/PrinterMoreInfo.java, * javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, * javax/print/attribute/standard/PrinterName.java, * javax/print/attribute/standard/PrinterResolution.java, * javax/print/attribute/standard/PrinterState.java, * javax/print/attribute/standard/PrinterStateReason.java, * javax/print/attribute/standard/PrinterStateReasons.java, * javax/print/attribute/standard/PrinterURI.java, * javax/print/attribute/standard/QueuedJobCount.java, * javax/print/attribute/standard/ReferenceUriSchemesSupported.java, * javax/print/attribute/standard/RequestingUserName.java, * javax/print/attribute/standard/Severity.java, * javax/print/attribute/standard/SheetCollate.java, * javax/print/attribute/standard/Sides.java, * javax/print/event/PrintEvent.java, * javax/print/event/PrintJobAdapter.java, * javax/print/event/PrintJobAttributeEvent.java, * javax/print/event/PrintJobAttributeListener.java, * javax/print/event/PrintJobEvent.java, * javax/print/event/PrintJobListener.java, * javax/print/event/PrintServiceAttributeEvent.java, * javax/print/event/PrintServiceAttributeListener.java, * javax/rmi/CORBA/ClassDesc.java, * javax/rmi/CORBA/PortableRemoteObjectDelegate.java, * javax/rmi/CORBA/Stub.java, * javax/rmi/CORBA/StubDelegate.java, * javax/rmi/CORBA/Tie.java, * javax/rmi/CORBA/Util.java, * javax/rmi/CORBA/UtilDelegate.java, * javax/rmi/CORBA/ValueHandler.java, * javax/rmi/CORBA/ValueHandlerMultiFormat.java, * javax/rmi/PortableRemoteObject.java, * javax/rmi/ssl/SslRMIClientSocketFactory.java, * javax/rmi/ssl/SslRMIServerSocketFactory.java, * javax/security/auth/Subject.java, * javax/security/auth/callback/ChoiceCallback.java, * javax/security/auth/callback/ConfirmationCallback.java, * javax/security/auth/callback/NameCallback.java, * javax/security/auth/callback/PasswordCallback.java, * javax/security/auth/callback/TextInputCallback.java, * javax/security/auth/callback/TextOutputCallback.java, * javax/security/auth/kerberos/DelegationPermission.java, * javax/security/auth/kerberos/KerberosKey.java, * javax/security/auth/kerberos/KerberosPrincipal.java, * javax/security/auth/kerberos/ServicePermission.java, * javax/security/auth/login/AccountNotFoundException.java, * javax/security/auth/login/AppConfigurationEntry.java, * javax/security/auth/login/LoginContext.java, * javax/security/sasl/Sasl.java, * javax/sound/midi/ControllerEventListener.java, * javax/sound/midi/Instrument.java, * javax/sound/midi/InvalidMidiDataException.java, * javax/sound/midi/MetaEventListener.java, * javax/sound/midi/MetaMessage.java, * javax/sound/midi/MidiChannel.java, * javax/sound/midi/MidiDevice.java, * javax/sound/midi/MidiEvent.java, * javax/sound/midi/MidiFileFormat.java, * javax/sound/midi/MidiMessage.java, * javax/sound/midi/MidiSystem.java, * javax/sound/midi/MidiUnavailableException.java, * javax/sound/midi/Patch.java, * javax/sound/midi/Receiver.java, * javax/sound/midi/Sequence.java, * javax/sound/midi/Sequencer.java, * javax/sound/midi/ShortMessage.java, * javax/sound/midi/Soundbank.java, * javax/sound/midi/SoundbankResource.java, * javax/sound/midi/Synthesizer.java, * javax/sound/midi/SysexMessage.java, * javax/sound/midi/Track.java, * javax/sound/midi/Transmitter.java, * javax/sound/midi/VoiceStatus.java, * javax/sound/midi/spi/MidiDeviceProvider.java, * javax/sound/midi/spi/MidiFileReader.java, * javax/sound/midi/spi/MidiFileWriter.java, * javax/sound/midi/spi/SoundbankReader.java, * javax/sound/sampled/AudioFileFormat.java, * javax/sound/sampled/AudioFormat.java, * javax/sound/sampled/AudioInputStream.java, * javax/sound/sampled/AudioPermission.java, * javax/sound/sampled/AudioSystem.java, * javax/sound/sampled/BooleanControl.java, * javax/sound/sampled/Clip.java, * javax/sound/sampled/CompoundControl.java, * javax/sound/sampled/DataLine.java, * javax/sound/sampled/EnumControl.java, * javax/sound/sampled/FloatControl.java, * javax/sound/sampled/Line.java, * javax/sound/sampled/LineEvent.java, * javax/sound/sampled/LineUnavailableException.java, * javax/sound/sampled/Mixer.java, * javax/sound/sampled/Port.java, * javax/sound/sampled/ReverbType.java, * javax/sound/sampled/UnsupportedAudioFileException.java, * javax/sound/sampled/spi/AudioFileReader.java, * javax/sound/sampled/spi/AudioFileWriter.java, * javax/sound/sampled/spi/FormatConversionProvider.java, * javax/sql/ConnectionEvent.java, * javax/sql/ConnectionEventListener.java, * javax/sql/ConnectionPoolDataSource.java, * javax/sql/DataSource.java, * javax/sql/PooledConnection.java, * javax/sql/RowSet.java, * javax/sql/RowSetEvent.java, * javax/sql/RowSetInternal.java, * javax/sql/RowSetListener.java, * javax/sql/RowSetMetaData.java, * javax/sql/RowSetReader.java, * javax/sql/RowSetWriter.java, * javax/sql/XAConnection.java, * javax/sql/XADataSource.java, * javax/swing/AbstractAction.java, * javax/swing/AbstractButton.java, * javax/swing/AbstractCellEditor.java, * javax/swing/AbstractListModel.java, * javax/swing/AbstractSpinnerModel.java, * javax/swing/Action.java, * javax/swing/BorderFactory.java, * javax/swing/BoundedRangeModel.java, * javax/swing/Box.java, * javax/swing/BoxLayout.java, * javax/swing/ButtonGroup.java, * javax/swing/ButtonModel.java, * javax/swing/CellEditor.java, * javax/swing/CellRendererPane.java, * javax/swing/ComboBoxModel.java, * javax/swing/ComponentInputMap.java, * javax/swing/DebugGraphics.java, * javax/swing/DefaultBoundedRangeModel.java, * javax/swing/DefaultButtonModel.java, * javax/swing/DefaultCellEditor.java, * javax/swing/DefaultComboBoxModel.java, * javax/swing/DefaultDesktopManager.java, * javax/swing/DefaultFocusManager.java, * javax/swing/DefaultListModel.java, * javax/swing/DefaultListSelectionModel.java, * javax/swing/DefaultSingleSelectionModel.java, * javax/swing/FocusManager.java, * javax/swing/GrayFilter.java, * javax/swing/Icon.java, * javax/swing/ImageIcon.java, * javax/swing/InputMap.java, * javax/swing/InternalFrameFocusTraversalPolicy.java, * javax/swing/JApplet.java, * javax/swing/JButton.java, * javax/swing/JCheckBox.java, * javax/swing/JCheckBoxMenuItem.java, * javax/swing/JComboBox.java, * javax/swing/JComponent.java, * javax/swing/JDesktopPane.java, * javax/swing/JDialog.java, * javax/swing/JEditorPane.java, * javax/swing/JFileChooser.java, * javax/swing/JFormattedTextField.java, * javax/swing/JFrame.java, * javax/swing/JInternalFrame.java, * javax/swing/JLabel.java, * javax/swing/JLayeredPane.java, * javax/swing/JList.java, * javax/swing/JMenu.java, * javax/swing/JMenuBar.java, * javax/swing/JMenuItem.java, * javax/swing/JOptionPane.java, * javax/swing/JPanel.java, * javax/swing/JPasswordField.java, * javax/swing/JPopupMenu.java, * javax/swing/JProgressBar.java, * javax/swing/JRadioButton.java, * javax/swing/JRadioButtonMenuItem.java, * javax/swing/JRootPane.java, * javax/swing/JScrollBar.java, * javax/swing/JScrollPane.java, * javax/swing/JSeparator.java, * javax/swing/JSlider.java, * javax/swing/JSpinner.java, * javax/swing/JSplitPane.java, * javax/swing/JTabbedPane.java, * javax/swing/JTable.java, * javax/swing/JTextArea.java, * javax/swing/JTextField.java, * javax/swing/JTextPane.java, * javax/swing/JToggleButton.java, * javax/swing/JToolBar.java, * javax/swing/JToolTip.java, * javax/swing/JTree.java, * javax/swing/JViewport.java, * javax/swing/JWindow.java, * javax/swing/KeyStroke.java, * javax/swing/KeyboardManager.java, * javax/swing/LayoutFocusTraversalPolicy.java, * javax/swing/ListCellRenderer.java, * javax/swing/ListSelectionModel.java, * javax/swing/LookAndFeel.java, * javax/swing/MenuSelectionManager.java, * javax/swing/OverlayLayout.java, * javax/swing/Popup.java, * javax/swing/PopupFactory.java, * javax/swing/ProgressMonitor.java, * javax/swing/ProgressMonitorInputStream.java, * javax/swing/Renderer.java, * javax/swing/RepaintManager.java, * javax/swing/ScrollPaneLayout.java, * javax/swing/Scrollable.java, * javax/swing/SingleSelectionModel.java, * javax/swing/SizeRequirements.java, * javax/swing/SizeSequence.java, * javax/swing/SortingFocusTraversalPolicy.java, * javax/swing/SpinnerDateModel.java, * javax/swing/SpinnerListModel.java, * javax/swing/SpinnerModel.java, * javax/swing/SpinnerNumberModel.java, * javax/swing/Spring.java, * javax/swing/SpringLayout.java, * javax/swing/SwingConstants.java, * javax/swing/SwingUtilities.java, * javax/swing/Timer.java, * javax/swing/ToolTipManager.java, * javax/swing/TransferHandler.java, * javax/swing/UIDefaults.java, * javax/swing/UIManager.java, * javax/swing/UnsupportedLookAndFeelException.java, * javax/swing/ViewportLayout.java, * javax/swing/WindowConstants.java, * javax/swing/border/AbstractBorder.java, * javax/swing/border/BevelBorder.java, * javax/swing/border/Border.java, * javax/swing/border/CompoundBorder.java, * javax/swing/border/EmptyBorder.java, * javax/swing/border/EtchedBorder.java, * javax/swing/border/LineBorder.java, * javax/swing/border/MatteBorder.java, * javax/swing/border/SoftBevelBorder.java, * javax/swing/border/TitledBorder.java, * javax/swing/colorchooser/AbstractColorChooserPanel.java, * javax/swing/colorchooser/ColorChooserComponentFactory.java, * javax/swing/colorchooser/ColorSelectionModel.java, * javax/swing/colorchooser/DefaultColorSelectionModel.java, * javax/swing/colorchooser/DefaultHSBChooserPanel.java, * javax/swing/colorchooser/DefaultRGBChooserPanel.java, * javax/swing/colorchooser/DefaultSwatchChooserPanel.java, * javax/swing/event/AncestorEvent.java, * javax/swing/event/AncestorListener.java, * javax/swing/event/CaretEvent.java, * javax/swing/event/CaretListener.java, * javax/swing/event/CellEditorListener.java, * javax/swing/event/ChangeEvent.java, * javax/swing/event/ChangeListener.java, * javax/swing/event/DocumentEvent.java, * javax/swing/event/DocumentListener.java, * javax/swing/event/EventListenerList.java, * javax/swing/event/HyperlinkEvent.java, * javax/swing/event/HyperlinkListener.java, * javax/swing/event/InternalFrameAdapter.java, * javax/swing/event/InternalFrameEvent.java, * javax/swing/event/InternalFrameListener.java, * javax/swing/event/ListDataEvent.java, * javax/swing/event/ListDataListener.java, * javax/swing/event/ListSelectionEvent.java, * javax/swing/event/ListSelectionListener.java, * javax/swing/event/MenuDragMouseEvent.java, * javax/swing/event/MenuDragMouseListener.java, * javax/swing/event/MenuEvent.java, * javax/swing/event/MenuKeyEvent.java, * javax/swing/event/MenuKeyListener.java, * javax/swing/event/MenuListener.java, * javax/swing/event/MouseInputListener.java, * javax/swing/event/PopupMenuEvent.java, * javax/swing/event/PopupMenuListener.java, * javax/swing/event/SwingPropertyChangeSupport.java, * javax/swing/event/TableColumnModelEvent.java, * javax/swing/event/TableColumnModelListener.java, * javax/swing/event/TableModelEvent.java, * javax/swing/event/TableModelListener.java, * javax/swing/event/TreeExpansionEvent.java, * javax/swing/event/TreeExpansionListener.java, * javax/swing/event/TreeModelEvent.java, * javax/swing/event/TreeModelListener.java, * javax/swing/event/TreeSelectionEvent.java, * javax/swing/event/TreeSelectionListener.java, * javax/swing/event/TreeWillExpandListener.java, * javax/swing/event/UndoableEditEvent.java, * javax/swing/filechooser/FileFilter.java, * javax/swing/filechooser/FileSystemView.java, * javax/swing/filechooser/FileView.java, * javax/swing/filechooser/UnixFileSystemView.java, * javax/swing/plaf/BorderUIResource.java, * javax/swing/plaf/ColorChooserUI.java, * javax/swing/plaf/ColorUIResource.java, * javax/swing/plaf/ComboBoxUI.java, * javax/swing/plaf/ComponentInputMapUIResource.java, * javax/swing/plaf/ComponentUI.java, * javax/swing/plaf/FileChooserUI.java, * javax/swing/plaf/IconUIResource.java, * javax/swing/plaf/SplitPaneUI.java, * javax/swing/plaf/TabbedPaneUI.java, * javax/swing/plaf/TextUI.java, * javax/swing/plaf/UIResource.java, * javax/swing/plaf/basic/BasicArrowButton.java, * javax/swing/plaf/basic/BasicBorders.java, * javax/swing/plaf/basic/BasicButtonListener.java, * javax/swing/plaf/basic/BasicButtonUI.java, * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java, * javax/swing/plaf/basic/BasicCheckBoxUI.java, * javax/swing/plaf/basic/BasicColorChooserUI.java, * javax/swing/plaf/basic/BasicComboBoxEditor.java, * javax/swing/plaf/basic/BasicComboBoxRenderer.java, * javax/swing/plaf/basic/BasicComboBoxUI.java, * javax/swing/plaf/basic/BasicComboPopup.java, * javax/swing/plaf/basic/BasicDesktopIconUI.java, * javax/swing/plaf/basic/BasicDesktopPaneUI.java, * javax/swing/plaf/basic/BasicDirectoryModel.java, * javax/swing/plaf/basic/BasicEditorPaneUI.java, * javax/swing/plaf/basic/BasicFileChooserUI.java, * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java, * javax/swing/plaf/basic/BasicGraphicsUtils.java, * javax/swing/plaf/basic/BasicHTML.java, * javax/swing/plaf/basic/BasicIconFactory.java, * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java, * javax/swing/plaf/basic/BasicInternalFrameUI.java, * javax/swing/plaf/basic/BasicLabelUI.java, * javax/swing/plaf/basic/BasicListUI.java, * javax/swing/plaf/basic/BasicLookAndFeel.java, * javax/swing/plaf/basic/BasicMenuBarUI.java, * javax/swing/plaf/basic/BasicMenuItemUI.java, * javax/swing/plaf/basic/BasicMenuUI.java, * javax/swing/plaf/basic/BasicOptionPaneUI.java, * javax/swing/plaf/basic/BasicPanelUI.java, * javax/swing/plaf/basic/BasicPasswordFieldUI.java, * javax/swing/plaf/basic/BasicPopupMenuUI.java, * javax/swing/plaf/basic/BasicProgressBarUI.java, * javax/swing/plaf/basic/BasicRadioButtonUI.java, * javax/swing/plaf/basic/BasicRootPaneUI.java, * javax/swing/plaf/basic/BasicScrollBarUI.java, * javax/swing/plaf/basic/BasicScrollPaneUI.java, * javax/swing/plaf/basic/BasicSeparatorUI.java, * javax/swing/plaf/basic/BasicSliderUI.java, * javax/swing/plaf/basic/BasicSpinnerUI.java, * javax/swing/plaf/basic/BasicSplitPaneDivider.java, * javax/swing/plaf/basic/BasicSplitPaneUI.java, * javax/swing/plaf/basic/BasicTabbedPaneUI.java, * javax/swing/plaf/basic/BasicTableHeaderUI.java, * javax/swing/plaf/basic/BasicTableUI.java, * javax/swing/plaf/basic/BasicTextAreaUI.java, * javax/swing/plaf/basic/BasicTextFieldUI.java, * javax/swing/plaf/basic/BasicTextPaneUI.java, * javax/swing/plaf/basic/BasicTextUI.java, * javax/swing/plaf/basic/BasicToggleButtonUI.java, * javax/swing/plaf/basic/BasicToolBarUI.java, * javax/swing/plaf/basic/BasicToolTipUI.java, * javax/swing/plaf/basic/BasicTreeUI.java, * javax/swing/plaf/basic/BasicViewportUI.java, * javax/swing/plaf/metal/DefaultMetalTheme.java, * javax/swing/plaf/metal/MetalBorders.java, * javax/swing/plaf/metal/MetalButtonListener.java, * javax/swing/plaf/metal/MetalButtonUI.java, * javax/swing/plaf/metal/MetalCheckBoxIcon.java, * javax/swing/plaf/metal/MetalCheckBoxUI.java, * javax/swing/plaf/metal/MetalComboBoxButton.java, * javax/swing/plaf/metal/MetalComboBoxEditor.java, * javax/swing/plaf/metal/MetalComboBoxIcon.java, * javax/swing/plaf/metal/MetalComboBoxUI.java, * javax/swing/plaf/metal/MetalFileChooserUI.java, * javax/swing/plaf/metal/MetalIconFactory.java, * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java, * javax/swing/plaf/metal/MetalInternalFrameUI.java, * javax/swing/plaf/metal/MetalLabelUI.java, * javax/swing/plaf/metal/MetalLookAndFeel.java, * javax/swing/plaf/metal/MetalMenuBarUI.java, * javax/swing/plaf/metal/MetalProgressBarUI.java, * javax/swing/plaf/metal/MetalRadioButtonUI.java, * javax/swing/plaf/metal/MetalRootPaneUI.java, * javax/swing/plaf/metal/MetalScrollBarUI.java, * javax/swing/plaf/metal/MetalScrollButton.java, * javax/swing/plaf/metal/MetalScrollPaneUI.java, * javax/swing/plaf/metal/MetalSeparatorUI.java, * javax/swing/plaf/metal/MetalSliderUI.java, * javax/swing/plaf/metal/MetalSplitPaneDivider.java, * javax/swing/plaf/metal/MetalSplitPaneUI.java, * javax/swing/plaf/metal/MetalTabbedPaneUI.java, * javax/swing/plaf/metal/MetalTextFieldUI.java, * javax/swing/plaf/metal/MetalTheme.java, * javax/swing/plaf/metal/MetalToggleButtonUI.java, * javax/swing/plaf/metal/MetalToolBarUI.java, * javax/swing/plaf/metal/MetalToolTipUI.java, * javax/swing/plaf/metal/MetalTreeUI.java, * javax/swing/plaf/metal/MetalUtils.java, * javax/swing/plaf/metal/OceanTheme.java, * javax/swing/plaf/multi/MultiButtonUI.java, * javax/swing/plaf/multi/MultiColorChooserUI.java, * javax/swing/plaf/multi/MultiComboBoxUI.java, * javax/swing/plaf/multi/MultiDesktopIconUI.java, * javax/swing/plaf/multi/MultiDesktopPaneUI.java, * javax/swing/plaf/multi/MultiFileChooserUI.java, * javax/swing/plaf/multi/MultiInternalFrameUI.java, * javax/swing/plaf/multi/MultiLabelUI.java, * javax/swing/plaf/multi/MultiListUI.java, * javax/swing/plaf/multi/MultiLookAndFeel.java, * javax/swing/plaf/multi/MultiMenuBarUI.java, * javax/swing/plaf/multi/MultiMenuItemUI.java, * javax/swing/plaf/multi/MultiOptionPaneUI.java, * javax/swing/plaf/multi/MultiPanelUI.java, * javax/swing/plaf/multi/MultiPopupMenuUI.java, * javax/swing/plaf/multi/MultiProgressBarUI.java, * javax/swing/plaf/multi/MultiRootPaneUI.java, * javax/swing/plaf/multi/MultiScrollBarUI.java, * javax/swing/plaf/multi/MultiScrollPaneUI.java, * javax/swing/plaf/multi/MultiSeparatorUI.java, * javax/swing/plaf/multi/MultiSliderUI.java, * javax/swing/plaf/multi/MultiSpinnerUI.java, * javax/swing/plaf/multi/MultiSplitPaneUI.java, * javax/swing/plaf/multi/MultiTabbedPaneUI.java, * javax/swing/plaf/multi/MultiTableHeaderUI.java, * javax/swing/plaf/multi/MultiTableUI.java, * javax/swing/plaf/multi/MultiTextUI.java, * javax/swing/plaf/multi/MultiToolBarUI.java, * javax/swing/plaf/multi/MultiToolTipUI.java, * javax/swing/plaf/multi/MultiTreeUI.java, * javax/swing/plaf/multi/MultiViewportUI.java, * javax/swing/plaf/synth/SynthGraphicsUtils.java, * javax/swing/plaf/synth/SynthLookAndFeel.java, * javax/swing/plaf/synth/SynthPainter.java, * javax/swing/table/AbstractTableModel.java, * javax/swing/table/DefaultTableCellRenderer.java, * javax/swing/table/DefaultTableColumnModel.java, * javax/swing/table/DefaultTableModel.java, * javax/swing/table/JTableHeader.java, * javax/swing/table/TableCellEditor.java, * javax/swing/table/TableCellRenderer.java, * javax/swing/table/TableColumn.java, * javax/swing/table/TableColumnModel.java, * javax/swing/table/TableModel.java, * javax/swing/text/AbstractDocument.java, * javax/swing/text/AbstractWriter.java, * javax/swing/text/AsyncBoxView.java, * javax/swing/text/AttributeSet.java, * javax/swing/text/BoxView.java, * javax/swing/text/Caret.java, * javax/swing/text/ComponentView.java, * javax/swing/text/CompositeView.java, * javax/swing/text/DefaultCaret.java, * javax/swing/text/DefaultEditorKit.java, * javax/swing/text/DefaultFormatter.java, * javax/swing/text/DefaultFormatterFactory.java, * javax/swing/text/DefaultHighlighter.java, * javax/swing/text/DefaultStyledDocument.java, * javax/swing/text/DocumentFilter.java, * javax/swing/text/EditorKit.java, * javax/swing/text/Element.java, * javax/swing/text/ElementIterator.java, * javax/swing/text/EmptyAttributeSet.java, * javax/swing/text/FieldView.java, * javax/swing/text/FlowView.java, * javax/swing/text/GapContent.java, * javax/swing/text/GlyphView.java, * javax/swing/text/Highlighter.java, * javax/swing/text/InternationalFormatter.java, * javax/swing/text/JTextComponent.java, * javax/swing/text/Keymap.java, * javax/swing/text/LayeredHighlighter.java, * javax/swing/text/LayoutQueue.java, * javax/swing/text/MaskFormatter.java, * javax/swing/text/MutableAttributeSet.java, * javax/swing/text/NavigationFilter.java, * javax/swing/text/NumberFormatter.java, * javax/swing/text/ParagraphView.java, * javax/swing/text/PasswordView.java, * javax/swing/text/PlainDocument.java, * javax/swing/text/PlainView.java, * javax/swing/text/Position.java, * javax/swing/text/Segment.java, * javax/swing/text/SimpleAttributeSet.java, * javax/swing/text/StringContent.java, * javax/swing/text/Style.java, * javax/swing/text/StyleConstants.java, * javax/swing/text/StyleContext.java, * javax/swing/text/StyledDocument.java, * javax/swing/text/StyledEditorKit.java, * javax/swing/text/TabExpander.java, * javax/swing/text/TabSet.java, * javax/swing/text/TabStop.java, * javax/swing/text/TabableView.java, * javax/swing/text/TableView.java, * javax/swing/text/TextAction.java, * javax/swing/text/Utilities.java, * javax/swing/text/View.java, * javax/swing/text/ViewFactory.java, * javax/swing/text/WrappedPlainView.java, * javax/swing/text/html/BRView.java, * javax/swing/text/html/BlockView.java, * javax/swing/text/html/CSS.java, * javax/swing/text/html/CSSBorder.java, * javax/swing/text/html/CSSParser.java, * javax/swing/text/html/FormView.java, * javax/swing/text/html/HRuleView.java, * javax/swing/text/html/HTMLDocument.java, * javax/swing/text/html/HTMLEditorKit.java, * javax/swing/text/html/HTMLWriter.java, * javax/swing/text/html/ImageView.java, * javax/swing/text/html/InlineView.java, * javax/swing/text/html/ListView.java, * javax/swing/text/html/MinimalHTMLWriter.java, * javax/swing/text/html/MultiAttributeSet.java, * javax/swing/text/html/MultiStyle.java, * javax/swing/text/html/ParagraphView.java, * javax/swing/text/html/StyleSheet.java, * javax/swing/text/html/TableView.java, * javax/swing/text/html/ViewAttributeSet.java, * javax/swing/text/html/parser/Entity.java, * javax/swing/text/html/parser/Parser.java, * javax/swing/text/rtf/RTFParser.java, * javax/swing/text/rtf/RTFScanner.java, * javax/swing/tree/AbstractLayoutCache.java, * javax/swing/tree/DefaultMutableTreeNode.java, * javax/swing/tree/DefaultTreeCellEditor.java, * javax/swing/tree/DefaultTreeCellRenderer.java, * javax/swing/tree/DefaultTreeModel.java, * javax/swing/tree/DefaultTreeSelectionModel.java, * javax/swing/tree/ExpandVetoException.java, * javax/swing/tree/FixedHeightLayoutCache.java, * javax/swing/tree/MutableTreeNode.java, * javax/swing/tree/RowMapper.java, * javax/swing/tree/TreeCellEditor.java, * javax/swing/tree/TreeCellRenderer.java, * javax/swing/tree/TreeNode.java, * javax/swing/tree/TreePath.java, * javax/swing/tree/TreeSelectionModel.java, * javax/swing/tree/VariableHeightLayoutCache.java, * javax/swing/undo/AbstractUndoableEdit.java, * javax/swing/undo/CompoundEdit.java, * javax/swing/undo/StateEdit.java, * javax/swing/undo/UndoManager.java, * javax/swing/undo/UndoableEdit.java, * javax/tools/FileObject.java, * javax/transaction/HeuristicCommitException.java, * javax/transaction/HeuristicMixedException.java, * javax/transaction/HeuristicRollbackException.java, * javax/transaction/InvalidTransactionException.java, * javax/transaction/NotSupportedException.java, * javax/transaction/RollbackException.java, * javax/transaction/Status.java, * javax/transaction/Synchronization.java, * javax/transaction/SystemException.java, * javax/transaction/Transaction.java, * javax/transaction/TransactionManager.java, * javax/transaction/TransactionRequiredException.java, * javax/transaction/TransactionRolledbackException.java, * javax/transaction/UserTransaction.java, * javax/transaction/xa/XAException.java, * javax/transaction/xa/XAResource.java, * javax/transaction/xa/Xid.java, * javax/xml/XMLConstants.java, * javax/xml/datatype/DatatypeConfigurationException.java, * javax/xml/datatype/DatatypeConstants.java, * javax/xml/datatype/DatatypeFactory.java, * javax/xml/datatype/Duration.java, * javax/xml/datatype/XMLGregorianCalendar.java, * javax/xml/namespace/NamespaceContext.java, * javax/xml/namespace/QName.java, * javax/xml/parsers/DocumentBuilder.java, * javax/xml/parsers/DocumentBuilderFactory.java, * javax/xml/parsers/FactoryConfigurationError.java, * javax/xml/parsers/ParserConfigurationException.java, * javax/xml/parsers/SAXParser.java, * javax/xml/parsers/SAXParserFactory.java, * javax/xml/stream/EventFilter.java, * javax/xml/stream/FactoryConfigurationError.java, * javax/xml/stream/Location.java, * javax/xml/stream/StreamFilter.java, * javax/xml/stream/XMLEventFactory.java, * javax/xml/stream/XMLEventReader.java, * javax/xml/stream/XMLEventWriter.java, * javax/xml/stream/XMLInputFactory.java, * javax/xml/stream/XMLOutputFactory.java, * javax/xml/stream/XMLReporter.java, * javax/xml/stream/XMLResolver.java, * javax/xml/stream/XMLStreamConstants.java, * javax/xml/stream/XMLStreamException.java, * javax/xml/stream/XMLStreamReader.java, * javax/xml/stream/XMLStreamWriter.java, * javax/xml/stream/events/Attribute.java, * javax/xml/stream/events/Characters.java, * javax/xml/stream/events/Comment.java, * javax/xml/stream/events/DTD.java, * javax/xml/stream/events/EndDocument.java, * javax/xml/stream/events/EndElement.java, * javax/xml/stream/events/EntityDeclaration.java, * javax/xml/stream/events/EntityReference.java, * javax/xml/stream/events/Namespace.java, * javax/xml/stream/events/NotationDeclaration.java, * javax/xml/stream/events/ProcessingInstruction.java, * javax/xml/stream/events/StartDocument.java, * javax/xml/stream/events/StartElement.java, * javax/xml/stream/events/XMLEvent.java, * javax/xml/stream/util/EventReaderDelegate.java, * javax/xml/stream/util/StreamReaderDelegate.java, * javax/xml/stream/util/XMLEventAllocator.java, * javax/xml/stream/util/XMLEventConsumer.java, * javax/xml/transform/ErrorListener.java, * javax/xml/transform/OutputKeys.java, * javax/xml/transform/Result.java, * javax/xml/transform/Source.java, * javax/xml/transform/SourceLocator.java, * javax/xml/transform/Templates.java, * javax/xml/transform/Transformer.java, * javax/xml/transform/TransformerConfigurationException.java, * javax/xml/transform/TransformerException.java, * javax/xml/transform/TransformerFactory.java, * javax/xml/transform/TransformerFactoryConfigurationError.java, * javax/xml/transform/URIResolver.java, * javax/xml/transform/dom/DOMLocator.java, * javax/xml/transform/dom/DOMResult.java, * javax/xml/transform/dom/DOMSource.java, * javax/xml/transform/sax/SAXResult.java, * javax/xml/transform/sax/SAXSource.java, * javax/xml/transform/sax/SAXTransformerFactory.java, * javax/xml/transform/sax/TemplatesHandler.java, * javax/xml/transform/sax/TransformerHandler.java, * javax/xml/transform/stream/StreamResult.java, * javax/xml/transform/stream/StreamSource.java, * javax/xml/validation/Schema.java, * javax/xml/validation/SchemaFactory.java, * javax/xml/validation/SchemaFactoryLoader.java, * javax/xml/validation/TypeInfoProvider.java, * javax/xml/validation/Validator.java, * javax/xml/validation/ValidatorHandler.java, * javax/xml/xpath/XPath.java, * javax/xml/xpath/XPathConstants.java, * javax/xml/xpath/XPathException.java, * javax/xml/xpath/XPathExpression.java, * javax/xml/xpath/XPathExpressionException.java, * javax/xml/xpath/XPathFactory.java, * javax/xml/xpath/XPathFactoryConfigurationException.java, * javax/xml/xpath/XPathFunction.java, * javax/xml/xpath/XPathFunctionException.java, * javax/xml/xpath/XPathFunctionResolver.java, * javax/xml/xpath/XPathVariableResolver.java, * org/omg/CORBA/ARG_IN.java, * org/omg/CORBA/ARG_INOUT.java, * org/omg/CORBA/ARG_OUT.java, * org/omg/CORBA/AnySeqHolder.java, * org/omg/CORBA/BAD_CONTEXT.java, * org/omg/CORBA/BAD_INV_ORDER.java, * org/omg/CORBA/BAD_OPERATION.java, * org/omg/CORBA/BAD_PARAM.java, * org/omg/CORBA/BAD_POLICY.java, * org/omg/CORBA/BAD_POLICY_TYPE.java, * org/omg/CORBA/BAD_POLICY_VALUE.java, * org/omg/CORBA/BAD_TYPECODE.java, * org/omg/CORBA/COMM_FAILURE.java, * org/omg/CORBA/CTX_RESTRICT_SCOPE.java, * org/omg/CORBA/CompletionStatus.java, * org/omg/CORBA/CompletionStatusHelper.java, * org/omg/CORBA/Context.java, * org/omg/CORBA/Current.java, * org/omg/CORBA/CurrentHelper.java, * org/omg/CORBA/CurrentHolder.java, * org/omg/CORBA/CustomMarshal.java, * org/omg/CORBA/CustomValue.java, * org/omg/CORBA/DATA_CONVERSION.java, * org/omg/CORBA/DataInputStream.java, * org/omg/CORBA/DataOutputStream.java, * org/omg/CORBA/DefinitionKind.java, * org/omg/CORBA/DefinitionKindHelper.java, * org/omg/CORBA/DynamicImplementation.java, * org/omg/CORBA/FREE_MEM.java, * org/omg/CORBA/FieldNameHelper.java, * org/omg/CORBA/IDLTypeHelper.java, * org/omg/CORBA/IMP_LIMIT.java, * org/omg/CORBA/INITIALIZE.java, * org/omg/CORBA/INTERNAL.java, * org/omg/CORBA/INTF_REPOS.java, * org/omg/CORBA/INVALID_TRANSACTION.java, * org/omg/CORBA/INV_FLAG.java, * org/omg/CORBA/INV_IDENT.java, * org/omg/CORBA/INV_OBJREF.java, * org/omg/CORBA/INV_POLICY.java, * org/omg/CORBA/IRObject.java, * org/omg/CORBA/IRObjectOperations.java, * org/omg/CORBA/IdentifierHelper.java, * org/omg/CORBA/LocalObject.java, * org/omg/CORBA/LongSeqHolder.java, * org/omg/CORBA/MARSHAL.java, * org/omg/CORBA/NO_IMPLEMENT.java, * org/omg/CORBA/NO_MEMORY.java, * org/omg/CORBA/NO_PERMISSION.java, * org/omg/CORBA/NO_RESOURCES.java, * org/omg/CORBA/NO_RESPONSE.java, * org/omg/CORBA/NVList.java, * org/omg/CORBA/OBJECT_NOT_EXIST.java, * org/omg/CORBA/OBJ_ADAPTER.java, * org/omg/CORBA/OMGVMCID.java, * org/omg/CORBA/ORB.java, * org/omg/CORBA/ObjectHelper.java, * org/omg/CORBA/ObjectHolder.java, * org/omg/CORBA/PERSIST_STORE.java, * org/omg/CORBA/ParameterMode.java, * org/omg/CORBA/ParameterModeHelper.java, * org/omg/CORBA/PolicyErrorCodeHelper.java, * org/omg/CORBA/PolicyErrorHelper.java, * org/omg/CORBA/PolicyErrorHolder.java, * org/omg/CORBA/PolicyHelper.java, * org/omg/CORBA/PolicyHolder.java, * org/omg/CORBA/PolicyListHelper.java, * org/omg/CORBA/PolicyListHolder.java, * org/omg/CORBA/PolicyOperations.java, * org/omg/CORBA/PolicyTypeHelper.java, * org/omg/CORBA/RepositoryIdHelper.java, * org/omg/CORBA/Request.java, * org/omg/CORBA/ServiceDetailHelper.java, * org/omg/CORBA/ServiceInformationHelper.java, * org/omg/CORBA/SetOverrideTypeHelper.java, * org/omg/CORBA/StringValueHelper.java, * org/omg/CORBA/StructMember.java, * org/omg/CORBA/StructMemberHelper.java, * org/omg/CORBA/SystemException.java, * org/omg/CORBA/TCKind.java, * org/omg/CORBA/TRANSACTION_REQUIRED.java, * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java, * org/omg/CORBA/TRANSIENT.java, * org/omg/CORBA/TypeCode.java, * org/omg/CORBA/TypeCodePackage/BadKind.java, * org/omg/CORBA/TypeCodePackage/Bounds.java, * org/omg/CORBA/UNSUPPORTED_POLICY.java, * org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java, * org/omg/CORBA/UnionMemberHelper.java, * org/omg/CORBA/UnknownUserException.java, * org/omg/CORBA/UnknownUserExceptionHolder.java, * org/omg/CORBA/ValueBaseHelper.java, * org/omg/CORBA/ValueBaseHolder.java, * org/omg/CORBA/ValueMemberHelper.java, * org/omg/CORBA/VersionSpecHelper.java, * org/omg/CORBA/VisibilityHelper.java, * org/omg/CORBA/WStringValueHelper.java, * org/omg/CORBA/WrongTransactionHelper.java, * org/omg/CORBA/WrongTransactionHolder.java, * org/omg/CORBA/_IDLTypeStub.java, * org/omg/CORBA/_PolicyStub.java, * org/omg/CORBA/portable/CustomValue.java, * org/omg/CORBA/portable/Delegate.java, * org/omg/CORBA/portable/ObjectImpl.java, * org/omg/CORBA/portable/StreamableValue.java, * org/omg/CORBA/portable/ValueBase.java, * org/omg/CORBA_2_3/ORB.java, * org/omg/CORBA_2_3/portable/Delegate.java, * org/omg/CORBA_2_3/portable/InputStream.java, * org/omg/CORBA_2_3/portable/ObjectImpl.java, * org/omg/CORBA_2_3/portable/OutputStream.java, * org/omg/CosNaming/BindingHelper.java, * org/omg/CosNaming/BindingIterator.java, * org/omg/CosNaming/BindingIteratorHelper.java, * org/omg/CosNaming/BindingIteratorOperations.java, * org/omg/CosNaming/BindingIteratorPOA.java, * org/omg/CosNaming/BindingType.java, * org/omg/CosNaming/BindingTypeHelper.java, * org/omg/CosNaming/IstringHelper.java, * org/omg/CosNaming/NameComponentHelper.java, * org/omg/CosNaming/NameHelper.java, * org/omg/CosNaming/NamingContext.java, * org/omg/CosNaming/NamingContextExtHelper.java, * org/omg/CosNaming/NamingContextExtPOA.java, * org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java, * org/omg/CosNaming/NamingContextHelper.java, * org/omg/CosNaming/NamingContextPOA.java, * org/omg/CosNaming/NamingContextPackage/AlreadyBound.java, * org/omg/CosNaming/NamingContextPackage/CannotProceed.java, * org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java, * org/omg/CosNaming/NamingContextPackage/InvalidName.java, * org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java, * org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java, * org/omg/CosNaming/NamingContextPackage/NotFound.java, * org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java, * org/omg/CosNaming/NamingContextPackage/NotFoundReason.java, * org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java, * org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java, * org/omg/CosNaming/_BindingIteratorImplBase.java, * org/omg/CosNaming/_BindingIteratorStub.java, * org/omg/CosNaming/_NamingContextExtStub.java, * org/omg/CosNaming/_NamingContextStub.java, * org/omg/Dynamic/Parameter.java, * org/omg/DynamicAny/AnySeqHelper.java, * org/omg/DynamicAny/DynAny.java, * org/omg/DynamicAny/DynAnyFactoryHelper.java, * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java, * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, * org/omg/DynamicAny/DynAnyHelper.java, * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java, * org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java, * org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, * org/omg/DynamicAny/DynAnySeqHelper.java, * org/omg/DynamicAny/DynArrayHelper.java, * org/omg/DynamicAny/DynEnumHelper.java, * org/omg/DynamicAny/DynFixedHelper.java, * org/omg/DynamicAny/DynSequenceHelper.java, * org/omg/DynamicAny/DynStructHelper.java, * org/omg/DynamicAny/DynUnionHelper.java, * org/omg/DynamicAny/DynValueBox.java, * org/omg/DynamicAny/DynValueCommonOperations.java, * org/omg/DynamicAny/DynValueHelper.java, * org/omg/DynamicAny/FieldNameHelper.java, * org/omg/DynamicAny/NameDynAnyPairHelper.java, * org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, * org/omg/DynamicAny/NameValuePair.java, * org/omg/DynamicAny/NameValuePairHelper.java, * org/omg/DynamicAny/NameValuePairSeqHelper.java, * org/omg/DynamicAny/_DynAnyFactoryStub.java, * org/omg/DynamicAny/_DynAnyStub.java, * org/omg/DynamicAny/_DynArrayStub.java, * org/omg/DynamicAny/_DynEnumStub.java, * org/omg/DynamicAny/_DynFixedStub.java, * org/omg/DynamicAny/_DynSequenceStub.java, * org/omg/DynamicAny/_DynStructStub.java, * org/omg/DynamicAny/_DynUnionStub.java, * org/omg/DynamicAny/_DynValueStub.java, * org/omg/IOP/Codec.java, * org/omg/IOP/CodecFactory.java, * org/omg/IOP/CodecFactoryHelper.java, * org/omg/IOP/CodecFactoryOperations.java, * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java, * org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java, * org/omg/IOP/CodecOperations.java, * org/omg/IOP/CodecPackage/FormatMismatch.java, * org/omg/IOP/CodecPackage/FormatMismatchHelper.java, * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java, * org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java, * org/omg/IOP/CodecPackage/TypeMismatch.java, * org/omg/IOP/CodecPackage/TypeMismatchHelper.java, * org/omg/IOP/ComponentIdHelper.java, * org/omg/IOP/Encoding.java, * org/omg/IOP/IOR.java, * org/omg/IOP/IORHelper.java, * org/omg/IOP/IORHolder.java, * org/omg/IOP/MultipleComponentProfileHelper.java, * org/omg/IOP/MultipleComponentProfileHolder.java, * org/omg/IOP/ProfileIdHelper.java, * org/omg/IOP/ServiceContext.java, * org/omg/IOP/ServiceContextHelper.java, * org/omg/IOP/ServiceContextHolder.java, * org/omg/IOP/ServiceContextListHelper.java, * org/omg/IOP/ServiceContextListHolder.java, * org/omg/IOP/ServiceIdHelper.java, * org/omg/IOP/TaggedComponent.java, * org/omg/IOP/TaggedComponentHelper.java, * org/omg/IOP/TaggedComponentHolder.java, * org/omg/IOP/TaggedProfile.java, * org/omg/IOP/TaggedProfileHelper.java, * org/omg/IOP/TaggedProfileHolder.java, * org/omg/IOP/TransactionService.java, * org/omg/Messaging/SYNC_WITH_TRANSPORT.java, * org/omg/Messaging/SyncScopeHelper.java, * org/omg/PortableInterceptor/AdapterManagerIdHelper.java, * org/omg/PortableInterceptor/AdapterNameHelper.java, * org/omg/PortableInterceptor/AdapterStateHelper.java, * org/omg/PortableInterceptor/ClientRequestInfo.java, * org/omg/PortableInterceptor/ClientRequestInfoOperations.java, * org/omg/PortableInterceptor/ClientRequestInterceptor.java, * org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java, * org/omg/PortableInterceptor/Current.java, * org/omg/PortableInterceptor/CurrentHelper.java, * org/omg/PortableInterceptor/CurrentOperations.java, * org/omg/PortableInterceptor/ForwardRequest.java, * org/omg/PortableInterceptor/ForwardRequestHelper.java, * org/omg/PortableInterceptor/IORInfo.java, * org/omg/PortableInterceptor/IORInfoOperations.java, * org/omg/PortableInterceptor/IORInterceptor.java, * org/omg/PortableInterceptor/IORInterceptorOperations.java, * org/omg/PortableInterceptor/IORInterceptor_3_0.java, * org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java, * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java, * org/omg/PortableInterceptor/IORInterceptor_3_0Operations.java, * org/omg/PortableInterceptor/Interceptor.java, * org/omg/PortableInterceptor/InterceptorOperations.java, * org/omg/PortableInterceptor/InvalidSlot.java, * org/omg/PortableInterceptor/InvalidSlotHelper.java, * org/omg/PortableInterceptor/LOCATION_FORWARD.java, * org/omg/PortableInterceptor/ORBIdHelper.java, * org/omg/PortableInterceptor/ORBInitInfo.java, * org/omg/PortableInterceptor/ORBInitInfoOperations.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java, * org/omg/PortableInterceptor/ORBInitializer.java, * org/omg/PortableInterceptor/ORBInitializerOperations.java, * org/omg/PortableInterceptor/ObjectIdHelper.java, * org/omg/PortableInterceptor/ObjectReferenceFactory.java, * org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java, * org/omg/PortableInterceptor/ObjectReferenceTemplate.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java, * org/omg/PortableInterceptor/PolicyFactory.java, * org/omg/PortableInterceptor/PolicyFactoryOperations.java, * org/omg/PortableInterceptor/RequestInfo.java, * org/omg/PortableInterceptor/RequestInfoOperations.java, * org/omg/PortableInterceptor/SUCCESSFUL.java, * org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java, * org/omg/PortableInterceptor/ServerIdHelper.java, * org/omg/PortableInterceptor/ServerRequestInfo.java, * org/omg/PortableInterceptor/ServerRequestInfoOperations.java, * org/omg/PortableInterceptor/ServerRequestInterceptor.java, * org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java, * org/omg/PortableInterceptor/TRANSPORT_RETRY.java, * org/omg/PortableInterceptor/USER_EXCEPTION.java, * org/omg/PortableInterceptor/_IORInterceptor_3_0Stub.java, * org/omg/PortableServer/AdapterActivator.java, * org/omg/PortableServer/AdapterActivatorOperations.java, * org/omg/PortableServer/Current.java, * org/omg/PortableServer/CurrentHelper.java, * org/omg/PortableServer/CurrentOperations.java, * org/omg/PortableServer/CurrentPackage/NoContext.java, * org/omg/PortableServer/CurrentPackage/NoContextHelper.java, * org/omg/PortableServer/DynamicImplementation.java, * org/omg/PortableServer/ForwardRequest.java, * org/omg/PortableServer/ForwardRequestHelper.java, * org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java, * org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java, * org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java, * org/omg/PortableServer/IdAssignmentPolicy.java, * org/omg/PortableServer/IdAssignmentPolicyOperations.java, * org/omg/PortableServer/IdAssignmentPolicyValue.java, * org/omg/PortableServer/IdUniquenessPolicy.java, * org/omg/PortableServer/IdUniquenessPolicyOperations.java, * org/omg/PortableServer/IdUniquenessPolicyValue.java, * org/omg/PortableServer/ImplicitActivationPolicy.java, * org/omg/PortableServer/ImplicitActivationPolicyOperations.java, * org/omg/PortableServer/ImplicitActivationPolicyValue.java, * org/omg/PortableServer/LifespanPolicy.java, * org/omg/PortableServer/LifespanPolicyOperations.java, * org/omg/PortableServer/LifespanPolicyValue.java, * org/omg/PortableServer/POA.java, * org/omg/PortableServer/POAHelper.java, * org/omg/PortableServer/POAManager.java, * org/omg/PortableServer/POAManagerOperations.java, * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, * org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, * org/omg/PortableServer/POAManagerPackage/State.java, * org/omg/PortableServer/POAOperations.java, * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, * org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java, * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, * org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java, * org/omg/PortableServer/POAPackage/InvalidPolicy.java, * org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java, * org/omg/PortableServer/POAPackage/NoServant.java, * org/omg/PortableServer/POAPackage/NoServantHelper.java, * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, * org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java, * org/omg/PortableServer/POAPackage/ObjectNotActive.java, * org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java, * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, * org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java, * org/omg/PortableServer/POAPackage/ServantNotActive.java, * org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java, * org/omg/PortableServer/POAPackage/WrongAdapter.java, * org/omg/PortableServer/POAPackage/WrongAdapterHelper.java, * org/omg/PortableServer/POAPackage/WrongPolicy.java, * org/omg/PortableServer/POAPackage/WrongPolicyHelper.java, * org/omg/PortableServer/RequestProcessingPolicy.java, * org/omg/PortableServer/RequestProcessingPolicyOperations.java, * org/omg/PortableServer/RequestProcessingPolicyValue.java, * org/omg/PortableServer/Servant.java, * org/omg/PortableServer/ServantActivator.java, * org/omg/PortableServer/ServantActivatorHelper.java, * org/omg/PortableServer/ServantActivatorOperations.java, * org/omg/PortableServer/ServantActivatorPOA.java, * org/omg/PortableServer/ServantLocator.java, * org/omg/PortableServer/ServantLocatorHelper.java, * org/omg/PortableServer/ServantLocatorOperations.java, * org/omg/PortableServer/ServantLocatorPOA.java, * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, * org/omg/PortableServer/ServantManager.java, * org/omg/PortableServer/ServantManagerOperations.java, * org/omg/PortableServer/ServantRetentionPolicy.java, * org/omg/PortableServer/ServantRetentionPolicyOperations.java, * org/omg/PortableServer/ServantRetentionPolicyValue.java, * org/omg/PortableServer/ThreadPolicy.java, * org/omg/PortableServer/ThreadPolicyOperations.java, * org/omg/PortableServer/ThreadPolicyValue.java, * org/omg/PortableServer/_ServantActivatorStub.java, * org/omg/PortableServer/_ServantLocatorStub.java, * org/omg/PortableServer/portable/Delegate.java, * org/omg/SendingContext/RunTime.java, * org/omg/SendingContext/RunTimeOperations.java, * sun/misc/Service.java, * sun/misc/ServiceConfigurationError.java, * sun/reflect/annotation/AnnotationInvocationHandler.java, * sun/reflect/annotation/AnnotationParser.java, * sun/reflect/annotation/AnnotationType.java, * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java, * sun/reflect/annotation/ExceptionProxy.java, * tools/com/sun/javadoc/ClassDoc.java, * tools/com/sun/javadoc/ConstructorDoc.java, * tools/com/sun/javadoc/Doc.java, * tools/com/sun/javadoc/DocErrorReporter.java, * tools/com/sun/javadoc/Doclet.java, * tools/com/sun/javadoc/ExecutableMemberDoc.java, * tools/com/sun/javadoc/FieldDoc.java, * tools/com/sun/javadoc/MemberDoc.java, * tools/com/sun/javadoc/MethodDoc.java, * tools/com/sun/javadoc/PackageDoc.java, * tools/com/sun/javadoc/ParamTag.java, * tools/com/sun/javadoc/Parameter.java, * tools/com/sun/javadoc/ProgramElementDoc.java, * tools/com/sun/javadoc/RootDoc.java, * tools/com/sun/javadoc/SeeTag.java, * tools/com/sun/javadoc/SerialFieldTag.java, * tools/com/sun/javadoc/Tag.java, * tools/com/sun/javadoc/ThrowsTag.java, * tools/com/sun/javadoc/Type.java, * tools/com/sun/javadoc/TypeVariable.java, * tools/com/sun/tools/javadoc/Main.java, * tools/com/sun/tools/javah/Main.java, * tools/external/asm/org/objectweb/asm/AnnotationVisitor.java, * tools/external/asm/org/objectweb/asm/AnnotationWriter.java, * tools/external/asm/org/objectweb/asm/Attribute.java, * tools/external/asm/org/objectweb/asm/ByteVector.java, * tools/external/asm/org/objectweb/asm/ClassAdapter.java, * tools/external/asm/org/objectweb/asm/ClassReader.java, * tools/external/asm/org/objectweb/asm/ClassVisitor.java, * tools/external/asm/org/objectweb/asm/ClassWriter.java, * tools/external/asm/org/objectweb/asm/Edge.java, * tools/external/asm/org/objectweb/asm/FieldVisitor.java, * tools/external/asm/org/objectweb/asm/FieldWriter.java, * tools/external/asm/org/objectweb/asm/Handler.java, * tools/external/asm/org/objectweb/asm/Item.java, * tools/external/asm/org/objectweb/asm/Label.java, * tools/external/asm/org/objectweb/asm/MethodAdapter.java, * tools/external/asm/org/objectweb/asm/MethodVisitor.java, * tools/external/asm/org/objectweb/asm/MethodWriter.java, * tools/external/asm/org/objectweb/asm/Opcodes.java, * tools/external/asm/org/objectweb/asm/Type.java, * tools/external/asm/org/objectweb/asm/attrs/StackMapAttribute.java, * tools/external/asm/org/objectweb/asm/attrs/StackMapFrame.java, * tools/external/asm/org/objectweb/asm/attrs/StackMapTableAttribute.java, * tools/external/asm/org/objectweb/asm/attrs/StackMapType.java, * tools/external/asm/org/objectweb/asm/commons/AdviceAdapter.java, * tools/external/asm/org/objectweb/asm/commons/EmptyVisitor.java, * tools/external/asm/org/objectweb/asm/commons/GeneratorAdapter.java, * tools/external/asm/org/objectweb/asm/commons/LocalVariablesSorter.java, * tools/external/asm/org/objectweb/asm/commons/Method.java, * tools/external/asm/org/objectweb/asm/commons/SerialVersionUIDAdder.java, * tools/external/asm/org/objectweb/asm/commons/StaticInitMerger.java, * tools/external/asm/org/objectweb/asm/commons/TableSwitchGenerator.java, * tools/external/asm/org/objectweb/asm/optimizer/AnnotationConstantsCollector.java, * tools/external/asm/org/objectweb/asm/optimizer/ClassConstantsCollector.java, * tools/external/asm/org/objectweb/asm/optimizer/ClassOptimizer.java, * tools/external/asm/org/objectweb/asm/optimizer/Constant.java, * tools/external/asm/org/objectweb/asm/optimizer/ConstantPool.java, * tools/external/asm/org/objectweb/asm/optimizer/FieldConstantsCollector.java, * tools/external/asm/org/objectweb/asm/optimizer/JarOptimizer.java, * tools/external/asm/org/objectweb/asm/optimizer/MethodConstantsCollector.java, * tools/external/asm/org/objectweb/asm/optimizer/MethodOptimizer.java, * tools/external/asm/org/objectweb/asm/optimizer/NameMapping.java, * tools/external/asm/org/objectweb/asm/optimizer/Shrinker.java, * tools/external/asm/org/objectweb/asm/signature/SignatureReader.java, * tools/external/asm/org/objectweb/asm/signature/SignatureVisitor.java, * tools/external/asm/org/objectweb/asm/signature/SignatureWriter.java, * tools/external/asm/org/objectweb/asm/tree/AbstractInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/AnnotationNode.java, * tools/external/asm/org/objectweb/asm/tree/ClassNode.java, * tools/external/asm/org/objectweb/asm/tree/FieldInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/FieldNode.java, * tools/external/asm/org/objectweb/asm/tree/IincInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/InnerClassNode.java, * tools/external/asm/org/objectweb/asm/tree/InsnNode.java, * tools/external/asm/org/objectweb/asm/tree/IntInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/JumpInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/LabelNode.java, * tools/external/asm/org/objectweb/asm/tree/LdcInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/LineNumberNode.java, * tools/external/asm/org/objectweb/asm/tree/LocalVariableNode.java, * tools/external/asm/org/objectweb/asm/tree/LookupSwitchInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/MemberNode.java, * tools/external/asm/org/objectweb/asm/tree/MethodInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/MethodNode.java, * tools/external/asm/org/objectweb/asm/tree/MultiANewArrayInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/TableSwitchInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/TryCatchBlockNode.java, * tools/external/asm/org/objectweb/asm/tree/TypeInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/VarInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Analyzer.java, * tools/external/asm/org/objectweb/asm/tree/analysis/AnalyzerException.java, * tools/external/asm/org/objectweb/asm/tree/analysis/BasicInterpreter.java, * tools/external/asm/org/objectweb/asm/tree/analysis/BasicValue.java, * tools/external/asm/org/objectweb/asm/tree/analysis/BasicVerifier.java, * tools/external/asm/org/objectweb/asm/tree/analysis/DataflowInterpreter.java, * tools/external/asm/org/objectweb/asm/tree/analysis/DataflowValue.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Frame.java, * tools/external/asm/org/objectweb/asm/tree/analysis/IntMap.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Interpreter.java, * tools/external/asm/org/objectweb/asm/tree/analysis/SimpleVerifier.java, * tools/external/asm/org/objectweb/asm/tree/analysis/SmallSet.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Subroutine.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Value.java, * tools/external/asm/org/objectweb/asm/util/ASMifierAbstractVisitor.java, * tools/external/asm/org/objectweb/asm/util/ASMifierAnnotationVisitor.java, * tools/external/asm/org/objectweb/asm/util/ASMifierClassVisitor.java, * tools/external/asm/org/objectweb/asm/util/ASMifierFieldVisitor.java, * tools/external/asm/org/objectweb/asm/util/ASMifierMethodVisitor.java, * tools/external/asm/org/objectweb/asm/util/AbstractVisitor.java, * tools/external/asm/org/objectweb/asm/util/CheckAnnotationAdapter.java, * tools/external/asm/org/objectweb/asm/util/CheckClassAdapter.java, * tools/external/asm/org/objectweb/asm/util/CheckMethodAdapter.java, * tools/external/asm/org/objectweb/asm/util/TraceAbstractVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceAnnotationVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceClassVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceFieldVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceMethodVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceSignatureVisitor.java, * tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapAttribute.java, * tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapTableAttribute.java, * tools/external/asm/org/objectweb/asm/util/attrs/ASMifiable.java, * tools/external/asm/org/objectweb/asm/util/attrs/Traceable.java, * tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java, * tools/external/asm/org/objectweb/asm/xml/Processor.java, * tools/external/asm/org/objectweb/asm/xml/SAXAdapter.java, * tools/external/asm/org/objectweb/asm/xml/SAXAnnotationAdapter.java, * tools/external/asm/org/objectweb/asm/xml/SAXClassAdapter.java, * tools/external/asm/org/objectweb/asm/xml/SAXCodeAdapter.java, * tools/external/asm/org/objectweb/asm/xml/SAXFieldAdapter.java, * tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java, * tools/generated/gnu/classpath/tools/gjdoc/expr/JavaRecognizer.java, * tools/generated/gnu/classpath/tools/gjdoc/expr/JavaTokenTypes.java, * tools/gnu/classpath/tools/FileSystemClassLoader.java, * tools/gnu/classpath/tools/IOToolkit.java, * tools/gnu/classpath/tools/MalformedInputEvent.java, * tools/gnu/classpath/tools/MalformedInputListener.java, * tools/gnu/classpath/tools/NotifyingInputStreamReader.java, * tools/gnu/classpath/tools/StringToolkit.java, * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java, * tools/gnu/classpath/tools/appletviewer/AppletTag.java, * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java, * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java, * tools/gnu/classpath/tools/appletviewer/Main.java, * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java, * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java, * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java, * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java, * tools/gnu/classpath/tools/appletviewer/TagParser.java, * tools/gnu/classpath/tools/common/CallbackUtil.java, * tools/gnu/classpath/tools/common/ClasspathToolParser.java, * tools/gnu/classpath/tools/common/Persistent.java, * tools/gnu/classpath/tools/common/ProviderUtil.java, * tools/gnu/classpath/tools/common/SecurityProviderInfo.java, * tools/gnu/classpath/tools/doclets/AbstractDoclet.java, * tools/gnu/classpath/tools/doclets/DocletConfigurationException.java, * tools/gnu/classpath/tools/doclets/DocletOption.java, * tools/gnu/classpath/tools/doclets/DocletOptionColonSeparated.java, * tools/gnu/classpath/tools/doclets/DocletOptionFile.java, * tools/gnu/classpath/tools/doclets/DocletOptionFlag.java, * tools/gnu/classpath/tools/doclets/DocletOptionPackageWildcard.java, * tools/gnu/classpath/tools/doclets/DocletOptionString.java, * tools/gnu/classpath/tools/doclets/InlineTagRenderer.java, * tools/gnu/classpath/tools/doclets/InvalidPackageWildcardException.java, * tools/gnu/classpath/tools/doclets/PackageGroup.java, * tools/gnu/classpath/tools/doclets/PackageMatcher.java, * tools/gnu/classpath/tools/doclets/StandardTaglet.java, * tools/gnu/classpath/tools/doclets/TagletPrinter.java, * tools/gnu/classpath/tools/doclets/debugdoclet/DebugDoclet.java, * tools/gnu/classpath/tools/doclets/htmldoclet/CssClass.java, * tools/gnu/classpath/tools/doclets/htmldoclet/ExternalDocSet.java, * tools/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java, * tools/gnu/classpath/tools/doclets/htmldoclet/HtmlPage.java, * tools/gnu/classpath/tools/doclets/htmldoclet/HtmlTagletContext.java, * tools/gnu/classpath/tools/doclets/xmldoclet/Driver.java, * tools/gnu/classpath/tools/doclets/xmldoclet/Driver1_4.java, * tools/gnu/classpath/tools/doclets/xmldoclet/HtmlRepairer.java, * tools/gnu/classpath/tools/doclets/xmldoclet/TargetContext.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTranslet.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletConfigurationException.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletException.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletOptions.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/JarClassLoader.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/OutputFileInfo.java, * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java, * tools/gnu/classpath/tools/getopt/Option.java, * tools/gnu/classpath/tools/getopt/OptionGroup.java, * tools/gnu/classpath/tools/getopt/Parser.java, * tools/gnu/classpath/tools/gjdoc/AbstractTagImpl.java, * tools/gnu/classpath/tools/gjdoc/ArrayCharacterIterator.java, * tools/gnu/classpath/tools/gjdoc/ClassDocImpl.java, * tools/gnu/classpath/tools/gjdoc/ClassDocProxy.java, * tools/gnu/classpath/tools/gjdoc/ClassDocReflectedImpl.java, * tools/gnu/classpath/tools/gjdoc/ConstructorDocImpl.java, * tools/gnu/classpath/tools/gjdoc/Debug.java, * tools/gnu/classpath/tools/gjdoc/DirectoryTree.java, * tools/gnu/classpath/tools/gjdoc/DocImpl.java, * tools/gnu/classpath/tools/gjdoc/ErrorReporter.java, * tools/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java, * tools/gnu/classpath/tools/gjdoc/FieldDocImpl.java, * tools/gnu/classpath/tools/gjdoc/GjdocPackageDoc.java, * tools/gnu/classpath/tools/gjdoc/GjdocRootDoc.java, * tools/gnu/classpath/tools/gjdoc/InheritDocTagImpl.java, * tools/gnu/classpath/tools/gjdoc/JavadocWrapper.java, * tools/gnu/classpath/tools/gjdoc/LinkTagImpl.java, * tools/gnu/classpath/tools/gjdoc/Main.java, * tools/gnu/classpath/tools/gjdoc/MemberDocImpl.java, * tools/gnu/classpath/tools/gjdoc/MethodDocImpl.java, * tools/gnu/classpath/tools/gjdoc/PackageDocImpl.java, * tools/gnu/classpath/tools/gjdoc/ParamTagImpl.java, * tools/gnu/classpath/tools/gjdoc/ParameterImpl.java, * tools/gnu/classpath/tools/gjdoc/ParseException.java, * tools/gnu/classpath/tools/gjdoc/Parser.java, * tools/gnu/classpath/tools/gjdoc/ProgramElementDocImpl.java, * tools/gnu/classpath/tools/gjdoc/RootDocImpl.java, * tools/gnu/classpath/tools/gjdoc/SeeTagImpl.java, * tools/gnu/classpath/tools/gjdoc/SerialFieldTagImpl.java, * tools/gnu/classpath/tools/gjdoc/SourcePositionImpl.java, * tools/gnu/classpath/tools/gjdoc/TagContainer.java, * tools/gnu/classpath/tools/gjdoc/TagImpl.java, * tools/gnu/classpath/tools/gjdoc/TemporaryStore.java, * tools/gnu/classpath/tools/gjdoc/TextTagImpl.java, * tools/gnu/classpath/tools/gjdoc/ThrowsTagImpl.java, * tools/gnu/classpath/tools/gjdoc/Timer.java, * tools/gnu/classpath/tools/gjdoc/TimerDoclet.java, * tools/gnu/classpath/tools/gjdoc/TypeImpl.java, * tools/gnu/classpath/tools/gjdoc/TypeVariableImpl.java, * tools/gnu/classpath/tools/gjdoc/ValueTagImpl.java, * tools/gnu/classpath/tools/gjdoc/WritableType.java, * tools/gnu/classpath/tools/gjdoc/expr/AdditionExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/AndExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryBitwiseExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryComputationExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryEqualityExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryLogicalExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryRelationExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryShiftExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BitShiftRightExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/CircularExpressionException.java, * tools/gnu/classpath/tools/gjdoc/expr/ConditionalExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantBoolean.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantByte.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantChar.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantDouble.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantFloat.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantInteger.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantLong.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantNull.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantShort.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantString.java, * tools/gnu/classpath/tools/gjdoc/expr/Context.java, * tools/gnu/classpath/tools/gjdoc/expr/DivisionExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/EqualExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/Evaluator.java, * tools/gnu/classpath/tools/gjdoc/expr/EvaluatorEnvironment.java, * tools/gnu/classpath/tools/gjdoc/expr/ExclusiveOrExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/Expression.java, * tools/gnu/classpath/tools/gjdoc/expr/GreaterThanExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/GreaterThanOrEqualExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/IdentifierExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/IllegalExpressionException.java, * tools/gnu/classpath/tools/gjdoc/expr/InclusiveOrExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LessThanExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LessThanOrEqualExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LogicalAndExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LogicalNotExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LogicalOrExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ModuloExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/MultiplicationExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/NegateExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/NotEqualExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/NotExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ShiftLeftExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ShiftRightExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/SubtractionExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/Type.java, * tools/gnu/classpath/tools/gjdoc/expr/TypeCastExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/UnaryExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/UnknownIdentifierException.java, * tools/gnu/classpath/tools/jar/Creator.java, * tools/gnu/classpath/tools/jar/Indexer.java, * tools/gnu/classpath/tools/jar/Main.java, * tools/gnu/classpath/tools/jar/Updater.java, * tools/gnu/classpath/tools/jarsigner/JarVerifier.java, * tools/gnu/classpath/tools/jarsigner/Main.java, * tools/gnu/classpath/tools/jarsigner/SFHelper.java, * tools/gnu/classpath/tools/java2xhtml/Java2xhtml.java, * tools/gnu/classpath/tools/javah/ClassWrapper.java, * tools/gnu/classpath/tools/javah/CniPrintStream.java, * tools/gnu/classpath/tools/javah/GcjhMain.java, * tools/gnu/classpath/tools/javah/JniHelper.java, * tools/gnu/classpath/tools/javah/JniIncludePrinter.java, * tools/gnu/classpath/tools/javah/JniStubPrinter.java, * tools/gnu/classpath/tools/javah/Keywords.java, * tools/gnu/classpath/tools/javah/Main.java, * tools/gnu/classpath/tools/javah/MethodHelper.java, * tools/gnu/classpath/tools/keytool/CACertCmd.java, * tools/gnu/classpath/tools/keytool/CertReqCmd.java, * tools/gnu/classpath/tools/keytool/Command.java, * tools/gnu/classpath/tools/keytool/DeleteCmd.java, * tools/gnu/classpath/tools/keytool/ExportCmd.java, * tools/gnu/classpath/tools/keytool/GenKeyCmd.java, * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java, * tools/gnu/classpath/tools/keytool/ImportCmd.java, * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java, * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java, * tools/gnu/classpath/tools/keytool/ListCmd.java, * tools/gnu/classpath/tools/keytool/PrintCertCmd.java, * tools/gnu/classpath/tools/keytool/SelfCertCmd.java, * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java, * tools/gnu/classpath/tools/orbd/Main.java, * tools/gnu/classpath/tools/orbd/PersistentContext.java, * tools/gnu/classpath/tools/orbd/PersistentContextMap.java, * tools/gnu/classpath/tools/orbd/PersistentMap.java, * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java, * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java, * tools/gnu/classpath/tools/rmic/CompilationError.java, * tools/gnu/classpath/tools/rmic/Generator.java, * tools/gnu/classpath/tools/rmic/GiopIo.java, * tools/gnu/classpath/tools/rmic/HashFinder.java, * tools/gnu/classpath/tools/rmic/Main.java, * tools/gnu/classpath/tools/rmic/MethodGenerator.java, * tools/gnu/classpath/tools/rmic/RMICException.java, * tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java, * tools/gnu/classpath/tools/rmic/RmicBackend.java, * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java, * tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java, * tools/gnu/classpath/tools/rmic/Variables.java, * tools/gnu/classpath/tools/rmic/WrapUnWrapper.java, * tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java, * tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java, * tools/gnu/classpath/tools/rmid/Main.java, * tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java, * tools/gnu/classpath/tools/rmiregistry/Main.java, * tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java, * tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java, * tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java, * tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java, * tools/gnu/classpath/tools/serialver/SerialVer.java, * tools/gnu/classpath/tools/taglets/AuthorTaglet.java, * tools/gnu/classpath/tools/taglets/CodeTaglet.java, * tools/gnu/classpath/tools/taglets/CopyrightTaglet.java, * tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java, * tools/gnu/classpath/tools/taglets/GenericTaglet.java, * tools/gnu/classpath/tools/taglets/GnuExtendedTaglet.java, * tools/gnu/classpath/tools/taglets/SinceTaglet.java, * tools/gnu/classpath/tools/taglets/TagletContext.java, * tools/gnu/classpath/tools/taglets/ValueTaglet.java, * tools/gnu/classpath/tools/taglets/VersionTaglet.java, * tools/gnu/classpath/tools/tnameserv/Main.java, * vm/reference/gnu/classpath/jdwp/VMFrame.java, * vm/reference/gnu/classpath/jdwp/VMIdManager.java, * vm/reference/gnu/classpath/jdwp/VMMethod.java, * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java, * vm/reference/gnu/java/lang/VMCPStringBuilder.java, * vm/reference/gnu/java/lang/VMInstrumentationImpl.java, * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java, * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java, * vm/reference/gnu/java/net/VMPlainSocketImpl.java, * vm/reference/gnu/java/nio/VMChannel.java, * vm/reference/gnu/java/nio/VMPipe.java, * vm/reference/gnu/java/nio/VMSelector.java, * vm/reference/gnu/java/security/jce/prng/VMSecureRandom.java, * vm/reference/java/io/VMFile.java, * vm/reference/java/io/VMObjectInputStream.java, * vm/reference/java/io/VMObjectStreamClass.java, * vm/reference/java/lang/VMClass.java, * vm/reference/java/lang/VMClassLoader.java, * vm/reference/java/lang/VMDouble.java, * vm/reference/java/lang/VMFloat.java, * vm/reference/java/lang/VMMath.java, * vm/reference/java/lang/VMObject.java, * vm/reference/java/lang/VMProcess.java, * vm/reference/java/lang/VMRuntime.java, * vm/reference/java/lang/VMString.java, * vm/reference/java/lang/VMSystem.java, * vm/reference/java/lang/VMThread.java, * vm/reference/java/lang/reflect/VMConstructor.java, * vm/reference/java/lang/reflect/VMField.java, * vm/reference/java/lang/reflect/VMMethod.java, * vm/reference/java/net/VMNetworkInterface.java, * vm/reference/java/nio/channels/VMChannels.java, * vm/reference/java/security/VMAccessController.java, * vm/reference/java/security/VMSecureRandom.java, * vm/reference/java/util/VMTimeZone.java, * vm/reference/sun/misc/Unsafe.java, * vm/reference/sun/reflect/Reflection.java, * vm/reference/sun/reflect/misc/ReflectUtil.java: Normalise whitespace. From-SVN: r168680
This commit is contained in:
parent
9a270ad3c0
commit
dc6715320d
4525 changed files with 106430 additions and 102601 deletions
|
@ -55,7 +55,7 @@ import java.awt.event.WindowEvent;
|
|||
import java.util.EventObject;
|
||||
|
||||
/**
|
||||
* AWTEvent is the root event class for all AWT events in the JDK 1.1 event
|
||||
* AWTEvent is the root event class for all AWT events in the JDK 1.1 event
|
||||
* model. It supersedes the Event class from JDK 1.0. Subclasses outside of
|
||||
* the java.awt package should have IDs greater than RESERVED_ID_MAX.
|
||||
*
|
||||
|
@ -206,7 +206,7 @@ public abstract class AWTEvent extends EventObject
|
|||
*/
|
||||
public static final int RESERVED_ID_MAX = 1999;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Initializes a new AWTEvent from the old Java 1.0 event object.
|
||||
*
|
||||
|
|
|
@ -719,7 +719,7 @@ public class AWTEventMulticaster
|
|||
* Chain <code>WindowListener</code> a and b.
|
||||
*
|
||||
* @param a the "a" listener, may be null
|
||||
* @param b the "b" listener, may be null
|
||||
* @param b the "b" listener, may be null
|
||||
* @return latest entry in the chain
|
||||
*/
|
||||
public static WindowListener add(WindowListener a, WindowListener b)
|
||||
|
@ -731,7 +731,7 @@ public class AWTEventMulticaster
|
|||
* Chain <code>WindowStateListener</code> a and b.
|
||||
*
|
||||
* @param a the "a" listener, may be null
|
||||
* @param b the "b" listener, may be null
|
||||
* @param b the "b" listener, may be null
|
||||
* @return latest entry in the chain
|
||||
* @since 1.4
|
||||
*/
|
||||
|
@ -745,7 +745,7 @@ public class AWTEventMulticaster
|
|||
* Chain <code>WindowFocusListener</code> a and b.
|
||||
*
|
||||
* @param a the "a" listener, may be null
|
||||
* @param b the "b" listener, may be null
|
||||
* @param b the "b" listener, may be null
|
||||
* @return latest entry in the chain
|
||||
* @since 1.4
|
||||
*/
|
||||
|
@ -1083,7 +1083,7 @@ public class AWTEventMulticaster
|
|||
* Chain <code>EventListener</code> a and b.
|
||||
*
|
||||
* @param a the "a" listener, may be null
|
||||
* @param b the "b" listener, may be null
|
||||
* @param b the "b" listener, may be null
|
||||
* @return latest entry in the chain
|
||||
*/
|
||||
protected static EventListener addInternal(EventListener a, EventListener b)
|
||||
|
@ -1176,7 +1176,7 @@ public class AWTEventMulticaster
|
|||
* @since 1.4
|
||||
*/
|
||||
public static <T extends EventListener> T[] getListeners(EventListener l,
|
||||
Class<T> type)
|
||||
Class<T> type)
|
||||
{
|
||||
ArrayList<EventListener> list = new ArrayList<EventListener>();
|
||||
if (l instanceof AWTEventMulticaster)
|
||||
|
|
|
@ -94,7 +94,7 @@ public class AWTKeyStroke implements Serializable
|
|||
|
||||
/** Prune stale entries. */
|
||||
protected boolean removeEldestEntry(Map.Entry<AWTKeyStroke,AWTKeyStroke>
|
||||
eldest)
|
||||
eldest)
|
||||
{
|
||||
return size() > MAX_CACHE_SIZE;
|
||||
}
|
||||
|
@ -256,7 +256,7 @@ public class AWTKeyStroke implements Serializable
|
|||
IllegalAccessException, InvocationTargetException
|
||||
{
|
||||
Constructor<?> c =
|
||||
subclass.getDeclaredConstructor((Class<?>[])null);
|
||||
subclass.getDeclaredConstructor((Class<?>[])null);
|
||||
c.setAccessible(true);
|
||||
// Create a new instance, to make sure that we can, and
|
||||
// to cause any ClassCastException.
|
||||
|
@ -279,7 +279,7 @@ public class AWTKeyStroke implements Serializable
|
|||
/**
|
||||
* Returns a keystroke representing a typed character.
|
||||
*
|
||||
* @param keyChar the typed character
|
||||
* @param keyChar the typed character
|
||||
* @return the specified keystroke
|
||||
*/
|
||||
public static AWTKeyStroke getAWTKeyStroke(char keyChar)
|
||||
|
@ -396,7 +396,7 @@ public class AWTKeyStroke implements Serializable
|
|||
* "alt shift released X" => getAWTKeyStroke(KeyEvent.VK_X,
|
||||
* InputEvent.ALT_MASK | InputEvent.SHIFT_MASK, true);<br>
|
||||
* "typed a" => getAWTKeyStroke('a');
|
||||
* </code>
|
||||
* </code>
|
||||
*
|
||||
* @param s the string to parse
|
||||
* @throws IllegalArgumentException if s is null or cannot be parsed
|
||||
|
@ -416,25 +416,25 @@ public class AWTKeyStroke implements Serializable
|
|||
{
|
||||
token = t.nextToken();
|
||||
if ("shift".equals(token))
|
||||
{
|
||||
modifiers |= KeyEvent.SHIFT_MASK;
|
||||
modifiers |= KeyEvent.SHIFT_DOWN_MASK;
|
||||
}
|
||||
{
|
||||
modifiers |= KeyEvent.SHIFT_MASK;
|
||||
modifiers |= KeyEvent.SHIFT_DOWN_MASK;
|
||||
}
|
||||
else if ("ctrl".equals(token) || "control".equals(token))
|
||||
{
|
||||
modifiers |= KeyEvent.CTRL_MASK;
|
||||
modifiers |= KeyEvent.CTRL_DOWN_MASK;
|
||||
}
|
||||
{
|
||||
modifiers |= KeyEvent.CTRL_MASK;
|
||||
modifiers |= KeyEvent.CTRL_DOWN_MASK;
|
||||
}
|
||||
else if ("meta".equals(token))
|
||||
{
|
||||
modifiers |= KeyEvent.META_MASK;
|
||||
modifiers |= KeyEvent.META_DOWN_MASK;
|
||||
}
|
||||
{
|
||||
modifiers |= KeyEvent.META_MASK;
|
||||
modifiers |= KeyEvent.META_DOWN_MASK;
|
||||
}
|
||||
else if ("alt".equals(token))
|
||||
{
|
||||
modifiers |= KeyEvent.ALT_MASK;
|
||||
modifiers |= KeyEvent.ALT_DOWN_MASK;
|
||||
}
|
||||
{
|
||||
modifiers |= KeyEvent.ALT_MASK;
|
||||
modifiers |= KeyEvent.ALT_DOWN_MASK;
|
||||
}
|
||||
else if ("button1".equals(token))
|
||||
modifiers |= KeyEvent.BUTTON1_DOWN_MASK;
|
||||
else if ("button2".equals(token))
|
||||
|
@ -452,7 +452,7 @@ public class AWTKeyStroke implements Serializable
|
|||
false);
|
||||
}
|
||||
throw new IllegalArgumentException("Invalid 'typed' argument '"
|
||||
+ s + "'");
|
||||
+ s + "'");
|
||||
}
|
||||
else if ("pressed".equals(token))
|
||||
{
|
||||
|
@ -475,7 +475,7 @@ public class AWTKeyStroke implements Serializable
|
|||
Integer code = (Integer) vktable.get(token);
|
||||
if (code == null)
|
||||
throw new IllegalArgumentException("Unknown token '" + token
|
||||
+ "' in '" + s + "'");
|
||||
+ "' in '" + s + "'");
|
||||
if (t.hasMoreTokens())
|
||||
throw new IllegalArgumentException("Too many tokens: " + s);
|
||||
return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, code.intValue(),
|
||||
|
|
|
@ -91,7 +91,7 @@ public final class AlphaComposite implements Composite
|
|||
public static final AlphaComposite SrcAtop = getInstance(SRC_ATOP);
|
||||
public static final AlphaComposite DstAtop = getInstance(DST_ATOP);
|
||||
public static final AlphaComposite Xor = getInstance(XOR);
|
||||
|
||||
|
||||
private final int rule;
|
||||
private final float alpha;
|
||||
private AlphaComposite(int rule, float alpha)
|
||||
|
@ -113,7 +113,7 @@ public final class AlphaComposite implements Composite
|
|||
{
|
||||
return getInstance(rule, 1);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates an AlphaComposite object with the specified rule and the constant
|
||||
* alpha to multiply with the alpha of the source. The source is multiplied
|
||||
|
@ -162,7 +162,7 @@ public final class AlphaComposite implements Composite
|
|||
* Return an <code>AlphaComposite</code> similar to <code>this</code>,
|
||||
* that uses the specified rule. If <code>rule</code> is the same as
|
||||
* <code>this.rule</code>, then <code>this</code> is returned.
|
||||
*
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public AlphaComposite derive(int rule)
|
||||
|
@ -172,14 +172,14 @@ public final class AlphaComposite implements Composite
|
|||
else
|
||||
return AlphaComposite.getInstance(rule, this.getAlpha());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return an <code>AlphaComposite</code> similar to <code>this</code>,
|
||||
* that uses the specified <code>alpha</code>.
|
||||
*
|
||||
*
|
||||
* If <code>alph</code> is the same as <code>this.alpha</code>,
|
||||
* then <code>this</code> is returned.
|
||||
*
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public AlphaComposite derive(float alpha)
|
||||
|
@ -189,22 +189,22 @@ public final class AlphaComposite implements Composite
|
|||
else
|
||||
return AlphaComposite.getInstance(this.getRule(), alpha);
|
||||
}
|
||||
|
||||
|
||||
public float getAlpha()
|
||||
{
|
||||
return alpha;
|
||||
}
|
||||
|
||||
|
||||
public int getRule()
|
||||
{
|
||||
return rule;
|
||||
}
|
||||
|
||||
|
||||
public int hashCode()
|
||||
{
|
||||
return 31 * Float.floatToIntBits(alpha) + rule;
|
||||
}
|
||||
|
||||
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
if (! (o instanceof AlphaComposite))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* BasicStroke.java --
|
||||
/* BasicStroke.java --
|
||||
Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -53,7 +53,7 @@ import java.util.Arrays;
|
|||
* A general purpose {@link Stroke} implementation that can represent a wide
|
||||
* variety of line styles for use with subclasses of {@link Graphics2D}.
|
||||
* <p>
|
||||
* The line cap and join styles can be set using the options illustrated
|
||||
* The line cap and join styles can be set using the options illustrated
|
||||
* here:
|
||||
* <p>
|
||||
* <img src="doc-files/capjoin.png" width="350" height="180"
|
||||
|
@ -64,37 +64,37 @@ import java.util.Arrays;
|
|||
*/
|
||||
public class BasicStroke implements Stroke
|
||||
{
|
||||
/**
|
||||
/**
|
||||
* Indicates a mitered line join style. See the class overview for an
|
||||
* illustration.
|
||||
*/
|
||||
public static final int JOIN_MITER = 0;
|
||||
|
||||
/**
|
||||
|
||||
/**
|
||||
* Indicates a rounded line join style. See the class overview for an
|
||||
* illustration.
|
||||
*/
|
||||
public static final int JOIN_ROUND = 1;
|
||||
|
||||
/**
|
||||
|
||||
/**
|
||||
* Indicates a bevelled line join style. See the class overview for an
|
||||
* illustration.
|
||||
*/
|
||||
public static final int JOIN_BEVEL = 2;
|
||||
|
||||
/**
|
||||
/**
|
||||
* Indicates a flat line cap style. See the class overview for an
|
||||
* illustration.
|
||||
*/
|
||||
public static final int CAP_BUTT = 0;
|
||||
|
||||
/**
|
||||
|
||||
/**
|
||||
* Indicates a rounded line cap style. See the class overview for an
|
||||
* illustration.
|
||||
*/
|
||||
public static final int CAP_ROUND = 1;
|
||||
|
||||
/**
|
||||
|
||||
/**
|
||||
* Indicates a square line cap style. See the class overview for an
|
||||
* illustration.
|
||||
*/
|
||||
|
@ -102,19 +102,19 @@ public class BasicStroke implements Stroke
|
|||
|
||||
/** The stroke width. */
|
||||
private final float width;
|
||||
|
||||
|
||||
/** The line cap style. */
|
||||
private final int cap;
|
||||
|
||||
|
||||
/** The line join style. */
|
||||
private final int join;
|
||||
|
||||
|
||||
/** The miter limit. */
|
||||
private final float limit;
|
||||
|
||||
|
||||
/** The dash array. */
|
||||
private final float[] dash;
|
||||
|
||||
|
||||
/** The dash phase. */
|
||||
private final float phase;
|
||||
|
||||
|
@ -125,9 +125,9 @@ public class BasicStroke implements Stroke
|
|||
* Creates a new <code>BasicStroke</code> instance with the given attributes.
|
||||
*
|
||||
* @param width the line width (>= 0.0f).
|
||||
* @param cap the line cap style (one of {@link #CAP_BUTT},
|
||||
* @param cap the line cap style (one of {@link #CAP_BUTT},
|
||||
* {@link #CAP_ROUND} or {@link #CAP_SQUARE}).
|
||||
* @param join the line join style (one of {@link #JOIN_ROUND},
|
||||
* @param join the line join style (one of {@link #JOIN_ROUND},
|
||||
* {@link #JOIN_BEVEL}, or {@link #JOIN_MITER}).
|
||||
* @param miterlimit the limit to trim the miter join. The miterlimit must be
|
||||
* greater than or equal to 1.0f.
|
||||
|
@ -145,36 +145,36 @@ public class BasicStroke implements Stroke
|
|||
throw new IllegalArgumentException("width " + width + " < 0");
|
||||
else if (cap < CAP_BUTT || cap > CAP_SQUARE)
|
||||
throw new IllegalArgumentException("cap " + cap + " out of range ["
|
||||
+ CAP_BUTT + ".." + CAP_SQUARE + "]");
|
||||
+ CAP_BUTT + ".." + CAP_SQUARE + "]");
|
||||
else if (miterlimit < 1.0f && join == JOIN_MITER)
|
||||
throw new IllegalArgumentException("miterlimit " + miterlimit
|
||||
+ " < 1.0f while join == JOIN_MITER");
|
||||
+ " < 1.0f while join == JOIN_MITER");
|
||||
else if (join < JOIN_MITER || join > JOIN_BEVEL)
|
||||
throw new IllegalArgumentException("join " + join + " out of range ["
|
||||
+ JOIN_MITER + ".." + JOIN_BEVEL
|
||||
+ "]");
|
||||
+ JOIN_MITER + ".." + JOIN_BEVEL
|
||||
+ "]");
|
||||
else if (dashPhase < 0.0f && dash != null)
|
||||
throw new IllegalArgumentException("dashPhase " + dashPhase
|
||||
+ " < 0.0f while dash != null");
|
||||
+ " < 0.0f while dash != null");
|
||||
else if (dash != null)
|
||||
if (dash.length == 0)
|
||||
throw new IllegalArgumentException("dash.length is 0");
|
||||
throw new IllegalArgumentException("dash.length is 0");
|
||||
else
|
||||
{
|
||||
boolean allZero = true;
|
||||
|
||||
for ( int i = 0; i < dash.length; ++i)
|
||||
{
|
||||
if (dash[i] != 0.0f)
|
||||
{
|
||||
allZero = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (allZero)
|
||||
throw new IllegalArgumentException("all dashes are 0.0f");
|
||||
}
|
||||
{
|
||||
boolean allZero = true;
|
||||
|
||||
for ( int i = 0; i < dash.length; ++i)
|
||||
{
|
||||
if (dash[i] != 0.0f)
|
||||
{
|
||||
allZero = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (allZero)
|
||||
throw new IllegalArgumentException("all dashes are 0.0f");
|
||||
}
|
||||
|
||||
this.width = width;
|
||||
this.cap = cap;
|
||||
|
@ -188,13 +188,13 @@ public class BasicStroke implements Stroke
|
|||
* Creates a new <code>BasicStroke</code> instance with the given attributes.
|
||||
*
|
||||
* @param width the line width (>= 0.0f).
|
||||
* @param cap the line cap style (one of {@link #CAP_BUTT},
|
||||
* @param cap the line cap style (one of {@link #CAP_BUTT},
|
||||
* {@link #CAP_ROUND} or {@link #CAP_SQUARE}).
|
||||
* @param join the line join style (one of {@link #JOIN_ROUND},
|
||||
* @param join the line join style (one of {@link #JOIN_ROUND},
|
||||
* {@link #JOIN_BEVEL}, or {@link #JOIN_MITER}).
|
||||
* @param miterlimit the limit to trim the miter join. The miterlimit must be
|
||||
* greater than or equal to 1.0f.
|
||||
*
|
||||
*
|
||||
* @throws IllegalArgumentException If one input parameter doesn't meet
|
||||
* its needs.
|
||||
*/
|
||||
|
@ -208,11 +208,11 @@ public class BasicStroke implements Stroke
|
|||
* The miter limit defaults to <code>10.0</code>.
|
||||
*
|
||||
* @param width the line width (>= 0.0f).
|
||||
* @param cap the line cap style (one of {@link #CAP_BUTT},
|
||||
* @param cap the line cap style (one of {@link #CAP_BUTT},
|
||||
* {@link #CAP_ROUND} or {@link #CAP_SQUARE}).
|
||||
* @param join the line join style (one of {@link #JOIN_ROUND},
|
||||
* @param join the line join style (one of {@link #JOIN_ROUND},
|
||||
* {@link #JOIN_BEVEL}, or {@link #JOIN_MITER}).
|
||||
*
|
||||
*
|
||||
* @throws IllegalArgumentException If one input parameter doesn't meet
|
||||
* its needs.
|
||||
*/
|
||||
|
@ -229,9 +229,9 @@ public class BasicStroke implements Stroke
|
|||
* <li>line join style: {@link #JOIN_MITER};</li>
|
||||
* <li>miter limit: <code>10.0f</code>.
|
||||
* </ul>
|
||||
*
|
||||
*
|
||||
* @param width the line width (>= 0.0f).
|
||||
*
|
||||
*
|
||||
* @throws IllegalArgumentException If <code>width</code> is negative.
|
||||
*/
|
||||
public BasicStroke(float width)
|
||||
|
@ -252,11 +252,11 @@ public class BasicStroke implements Stroke
|
|||
{
|
||||
this(1, CAP_SQUARE, JOIN_MITER, 10, null, 0);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates a shape representing the stroked outline of the given shape.
|
||||
* THIS METHOD IS NOT YET IMPLEMENTED.
|
||||
*
|
||||
*
|
||||
* @param s the shape.
|
||||
*/
|
||||
public Shape createStrokedShape(Shape s)
|
||||
|
@ -271,7 +271,7 @@ public class BasicStroke implements Stroke
|
|||
|
||||
/**
|
||||
* Returns the line width.
|
||||
*
|
||||
*
|
||||
* @return The line width.
|
||||
*/
|
||||
public float getLineWidth()
|
||||
|
@ -282,7 +282,7 @@ public class BasicStroke implements Stroke
|
|||
/**
|
||||
* Returns a code indicating the line cap style (one of {@link #CAP_BUTT},
|
||||
* {@link #CAP_ROUND}, {@link #CAP_SQUARE}).
|
||||
*
|
||||
*
|
||||
* @return A code indicating the line cap style.
|
||||
*/
|
||||
public int getEndCap()
|
||||
|
@ -293,7 +293,7 @@ public class BasicStroke implements Stroke
|
|||
/**
|
||||
* Returns a code indicating the line join style (one of {@link #JOIN_BEVEL},
|
||||
* {@link #JOIN_MITER} or {@link #JOIN_ROUND}).
|
||||
*
|
||||
*
|
||||
* @return A code indicating the line join style.
|
||||
*/
|
||||
public int getLineJoin()
|
||||
|
@ -303,7 +303,7 @@ public class BasicStroke implements Stroke
|
|||
|
||||
/**
|
||||
* Returns the miter limit.
|
||||
*
|
||||
*
|
||||
* @return The miter limit.
|
||||
*/
|
||||
public float getMiterLimit()
|
||||
|
@ -312,10 +312,10 @@ public class BasicStroke implements Stroke
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the dash array, which defines the length of alternate opaque and
|
||||
* transparent sections in lines drawn with this stroke. If
|
||||
* Returns the dash array, which defines the length of alternate opaque and
|
||||
* transparent sections in lines drawn with this stroke. If
|
||||
* <code>null</code>, a continuous line will be drawn.
|
||||
*
|
||||
*
|
||||
* @return The dash array (possibly <code>null</code>).
|
||||
*/
|
||||
public float[] getDashArray()
|
||||
|
@ -325,9 +325,9 @@ public class BasicStroke implements Stroke
|
|||
|
||||
/**
|
||||
* Returns the dash phase for the stroke. This is the offset from the start
|
||||
* of a path at which the pattern defined by {@link #getDashArray()} is
|
||||
* of a path at which the pattern defined by {@link #getDashArray()} is
|
||||
* rendered.
|
||||
*
|
||||
*
|
||||
* @return The dash phase.
|
||||
*/
|
||||
public float getDashPhase()
|
||||
|
@ -341,7 +341,7 @@ public class BasicStroke implements Stroke
|
|||
* (converted to <code>int</code> first with
|
||||
* <code>Float.floatToIntBits()</code> if the value is a
|
||||
* <code>float</code>).
|
||||
*
|
||||
*
|
||||
* @return The hash code.
|
||||
*/
|
||||
public int hashCode()
|
||||
|
@ -350,10 +350,10 @@ public class BasicStroke implements Stroke
|
|||
hash ^= cap;
|
||||
hash ^= join;
|
||||
hash ^= Float.floatToIntBits(limit);
|
||||
|
||||
|
||||
if (dash != null)
|
||||
for (int i = 0; i < dash.length; i++)
|
||||
hash ^= Float.floatToIntBits(dash[i]);
|
||||
hash ^= Float.floatToIntBits(dash[i]);
|
||||
|
||||
hash ^= Float.floatToIntBits(phase);
|
||||
|
||||
|
@ -361,16 +361,16 @@ public class BasicStroke implements Stroke
|
|||
}
|
||||
|
||||
/**
|
||||
* Compares this <code>BasicStroke</code> for equality with an arbitrary
|
||||
* Compares this <code>BasicStroke</code> for equality with an arbitrary
|
||||
* object. This method returns <code>true</code> if and only if:
|
||||
* <ul>
|
||||
* <li><code>o</code> is an instanceof <code>BasicStroke</code>;</li>
|
||||
* <li>this object has the same width, line cap style, line join style,
|
||||
* miter limit, dash array and dash phase as <code>o</code>.</li>
|
||||
* </ul>
|
||||
*
|
||||
*
|
||||
* @param o the object (<code>null</code> permitted).
|
||||
*
|
||||
*
|
||||
* @return <code>true</code> if this stroke is equal to <code>o</code> and
|
||||
* <code>false</code> otherwise.
|
||||
*/
|
||||
|
@ -401,7 +401,7 @@ public class BasicStroke implements Stroke
|
|||
y0 = y = coords[1];
|
||||
if( pathOpen )
|
||||
{
|
||||
capEnds();
|
||||
capEnds();
|
||||
convertPath(output, start);
|
||||
start = end = null;
|
||||
pathOpen = false;
|
||||
|
@ -425,7 +425,7 @@ public class BasicStroke implements Stroke
|
|||
break;
|
||||
|
||||
case PathIterator.SEG_QUADTO:
|
||||
p = (new QuadSegment(x, y, coords[0], coords[1], coords[2],
|
||||
p = (new QuadSegment(x, y, coords[0], coords[1], coords[2],
|
||||
coords[3])).getDisplacedSegments(width/2.0);
|
||||
if( !pathOpen )
|
||||
{
|
||||
|
@ -549,7 +549,7 @@ public class BasicStroke implements Stroke
|
|||
{
|
||||
spanBoundary = false;
|
||||
}
|
||||
|
||||
|
||||
// Otherwise, we need to split the segment in two, as this
|
||||
// segment spans a dash boundry
|
||||
else
|
||||
|
@ -671,23 +671,23 @@ public class BasicStroke implements Stroke
|
|||
else if(v instanceof QuadSegment)
|
||||
p.quadTo((float)((QuadSegment)v).cp.getX(),
|
||||
(float)((QuadSegment)v).cp.getY(),
|
||||
(float)v.P2.getX(),
|
||||
(float)v.P2.getX(),
|
||||
(float)v.P2.getY());
|
||||
else if(v instanceof CubicSegment)
|
||||
p.curveTo((float)((CubicSegment)v).cp1.getX(),
|
||||
(float)((CubicSegment)v).cp1.getY(),
|
||||
(float)((CubicSegment)v).cp2.getX(),
|
||||
(float)((CubicSegment)v).cp2.getY(),
|
||||
(float)v.P2.getX(),
|
||||
(float)v.P2.getX(),
|
||||
(float)v.P2.getY());
|
||||
v = v.next;
|
||||
} while(v != s && v != null);
|
||||
|
||||
p.closePath();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add the segments to start and end (the inner and outer edges of the stroke)
|
||||
* Add the segments to start and end (the inner and outer edges of the stroke)
|
||||
*/
|
||||
private void addSegments(Segment[] segments)
|
||||
{
|
||||
|
@ -707,26 +707,26 @@ public class BasicStroke implements Stroke
|
|||
p = lineIntersection(p0[0],p0[1],p1[0],p1[1],
|
||||
p2[0],p2[1],p3[0],p3[1], false);
|
||||
|
||||
double det = (p1[0] - p0[0])*(p3[1] - p2[1]) -
|
||||
double det = (p1[0] - p0[0])*(p3[1] - p2[1]) -
|
||||
(p3[0] - p2[0])*(p1[1] - p0[1]);
|
||||
|
||||
if( det > 0 )
|
||||
{
|
||||
// start and segment[0] form the 'inner' part of a join,
|
||||
// start and segment[0] form the 'inner' part of a join,
|
||||
// connect the overlapping segments
|
||||
joinInnerSegments(start, segments[0], p);
|
||||
joinOuterSegments(end, segments[1], p);
|
||||
}
|
||||
else
|
||||
{
|
||||
// end and segment[1] form the 'inner' part
|
||||
// end and segment[1] form the 'inner' part
|
||||
joinInnerSegments(end, segments[1], p);
|
||||
joinOuterSegments(start, segments[0], p);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Make a cap between a and b segments,
|
||||
* Make a cap between a and b segments,
|
||||
* where a-->b is the direction of iteration.
|
||||
*/
|
||||
private void capEnd(Segment a, Segment b)
|
||||
|
@ -767,7 +767,7 @@ public class BasicStroke implements Stroke
|
|||
dx = (2.0/3.0)*width*dx/l;
|
||||
dy = (2.0/3.0)*width*dy/l;
|
||||
}
|
||||
|
||||
|
||||
c1 = new Point2D.Double(p1[0] + dx, p1[1] + dy);
|
||||
c2 = new Point2D.Double(b.P1.getX() + dx, b.P1.getY() + dy);
|
||||
a.add(new CubicSegment(a.last.P2, c1, c2, b.P1));
|
||||
|
@ -782,9 +782,9 @@ public class BasicStroke implements Stroke
|
|||
* if the intersection must be within the given segments.
|
||||
* @return a Point2D or null.
|
||||
*/
|
||||
private Point2D lineIntersection(double X1, double Y1,
|
||||
double X2, double Y2,
|
||||
double X3, double Y3,
|
||||
private Point2D lineIntersection(double X1, double Y1,
|
||||
double X2, double Y2,
|
||||
double X3, double Y3,
|
||||
double X4, double Y4,
|
||||
boolean infinite)
|
||||
{
|
||||
|
@ -840,7 +840,7 @@ public class BasicStroke implements Stroke
|
|||
{
|
||||
a.add(new LineSegment(a.last.P2, p));
|
||||
a.add(new LineSegment(p, b.P1));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// outside miter limit, do a bevel join.
|
||||
|
|
|
@ -299,7 +299,7 @@ public class BorderLayout implements LayoutManager2, java.io.Serializable
|
|||
}
|
||||
|
||||
/**
|
||||
* Adds a component to the layout in the specified constraint position,
|
||||
* Adds a component to the layout in the specified constraint position,
|
||||
* which must be one of the string constants defined in this class.
|
||||
*
|
||||
* @param component The component to add.
|
||||
|
@ -317,7 +317,7 @@ public class BorderLayout implements LayoutManager2, java.io.Serializable
|
|||
}
|
||||
|
||||
/**
|
||||
* Adds a component to the layout in the specified constraint position,
|
||||
* Adds a component to the layout in the specified constraint position,
|
||||
* which must be one of the string constants defined in this class.
|
||||
*
|
||||
* @param constraints The constraint string.
|
||||
|
@ -462,7 +462,7 @@ public class BorderLayout implements LayoutManager2, java.io.Serializable
|
|||
/**
|
||||
* Lays out the specified container according to the constraints in this
|
||||
* object.
|
||||
*
|
||||
*
|
||||
* @param target The container to lay out.
|
||||
*/
|
||||
public void layoutContainer(Container target)
|
||||
|
@ -538,7 +538,7 @@ public class BorderLayout implements LayoutManager2, java.io.Serializable
|
|||
|
||||
/**
|
||||
* Returns a string representation of this layout manager.
|
||||
*
|
||||
*
|
||||
* @return A string representation of this object.
|
||||
*/
|
||||
public String toString()
|
||||
|
@ -634,11 +634,11 @@ public class BorderLayout implements LayoutManager2, java.io.Serializable
|
|||
|
||||
/**
|
||||
* Return the component at the indicated location, or null if no component
|
||||
* is at that location. The constraints argument must be one of the
|
||||
* location constants specified by this class.
|
||||
* is at that location. The constraints argument must be one of the
|
||||
* location constants specified by this class.
|
||||
* @param constraints the location
|
||||
* @return the component at that location, or null
|
||||
* @throws IllegalArgumentException if the constraints argument is not
|
||||
* @throws IllegalArgumentException if the constraints argument is not
|
||||
* recognized
|
||||
* @since 1.5
|
||||
*/
|
||||
|
@ -662,7 +662,7 @@ public class BorderLayout implements LayoutManager2, java.io.Serializable
|
|||
return firstItem;
|
||||
if (constraints == LINE_END)
|
||||
return lastItem;
|
||||
throw new IllegalArgumentException("constraint " + constraints
|
||||
throw new IllegalArgumentException("constraint " + constraints
|
||||
+ " is not recognized");
|
||||
}
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ public class BufferCapabilities implements Cloneable
|
|||
* null
|
||||
*/
|
||||
public BufferCapabilities(ImageCapabilities frontCaps,
|
||||
ImageCapabilities backCaps,
|
||||
ImageCapabilities backCaps,
|
||||
FlipContents flip)
|
||||
{
|
||||
if (frontCaps == null || backCaps == null)
|
||||
|
|
|
@ -51,7 +51,7 @@ import javax.accessibility.AccessibleRole;
|
|||
import javax.accessibility.AccessibleValue;
|
||||
|
||||
/**
|
||||
* This class provides a button widget for the AWT.
|
||||
* This class provides a button widget for the AWT.
|
||||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
* @author Tom Tromey (tromey@cygnus.com)
|
||||
|
@ -94,7 +94,7 @@ private transient ActionListener action_listeners;
|
|||
* The number used to generate the name returned by getName.
|
||||
*/
|
||||
private static transient long next_button_number;
|
||||
|
||||
|
||||
protected class AccessibleAWTButton extends AccessibleAWTComponent
|
||||
implements AccessibleAction, AccessibleValue
|
||||
{
|
||||
|
@ -138,17 +138,17 @@ private transient ActionListener action_listeners;
|
|||
processActionEvent(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, actionCommand));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public String getAccessibleName()
|
||||
{
|
||||
return label;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleAction getAccessibleAction()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleValue getAccessibleValue()
|
||||
{
|
||||
return this;
|
||||
|
@ -188,7 +188,7 @@ private transient ActionListener action_listeners;
|
|||
{
|
||||
return new Integer(0);
|
||||
}
|
||||
|
||||
|
||||
public AccessibleRole getAccessibleRole()
|
||||
{
|
||||
return AccessibleRole.PUSH_BUTTON;
|
||||
|
@ -315,7 +315,7 @@ addActionListener(ActionListener listener)
|
|||
/**
|
||||
* Removes the specified listener from the list of listeners that will
|
||||
* receive action events from this button.
|
||||
*
|
||||
*
|
||||
* @param listener The listener to remove.
|
||||
*/
|
||||
public synchronized void
|
||||
|
@ -339,18 +339,18 @@ removeActionListener(ActionListener listener)
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns all registered EventListers of the given listenerType.
|
||||
* listenerType must be a subclass of EventListener, or a
|
||||
* Returns all registered EventListers of the given listenerType.
|
||||
* listenerType must be a subclass of EventListener, or a
|
||||
* ClassClassException is thrown.
|
||||
*
|
||||
* @param listenerType the listener type to return
|
||||
*
|
||||
* @return an array of listeners
|
||||
*
|
||||
*
|
||||
* @exception ClassCastException If listenerType doesn't specify a class or
|
||||
* interface that implements @see java.util.EventListener.
|
||||
*
|
||||
* @since 1.3
|
||||
* @since 1.3
|
||||
*/
|
||||
public <T extends EventListener> T[] getListeners(Class<T> listenerType)
|
||||
{
|
||||
|
@ -412,10 +412,10 @@ processActionEvent(ActionEvent event)
|
|||
void
|
||||
dispatchEventImpl(AWTEvent e)
|
||||
{
|
||||
if (e.id <= ActionEvent.ACTION_LAST
|
||||
if (e.id <= ActionEvent.ACTION_LAST
|
||||
&& e.id >= ActionEvent.ACTION_FIRST
|
||||
&& (action_listeners != null
|
||||
|| (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0))
|
||||
&& (action_listeners != null
|
||||
|| (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0))
|
||||
processEvent(e);
|
||||
else
|
||||
super.dispatchEventImpl(e);
|
||||
|
@ -464,5 +464,4 @@ public AccessibleContext getAccessibleContext()
|
|||
return next_button_number++;
|
||||
}
|
||||
|
||||
} // class Button
|
||||
|
||||
} // class Button
|
||||
|
|
|
@ -68,7 +68,7 @@ public class Canvas
|
|||
* Compatible with Sun's JDK.
|
||||
*/
|
||||
private static final long serialVersionUID = -2284879212465893870L;
|
||||
|
||||
|
||||
/**
|
||||
* The number used to generate the name returned by getName.
|
||||
*/
|
||||
|
@ -82,8 +82,8 @@ public class Canvas
|
|||
/**
|
||||
* Initializes a new instance of <code>Canvas</code>.
|
||||
*/
|
||||
public Canvas()
|
||||
{
|
||||
public Canvas()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -109,7 +109,7 @@ public class Canvas
|
|||
}
|
||||
|
||||
/**
|
||||
* Repaints the canvas window. This method should be overridden by
|
||||
* Repaints the canvas window. This method should be overridden by
|
||||
* a subclass to do something useful, as this method simply paints
|
||||
* the window with the background color.
|
||||
*
|
||||
|
@ -154,7 +154,7 @@ public class Canvas
|
|||
{
|
||||
return AccessibleRole.CANVAS;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -186,9 +186,9 @@ public class Canvas
|
|||
CanvasBltBufferStrategy(int numBuffers, boolean accelerated)
|
||||
{
|
||||
super(numBuffers,
|
||||
new BufferCapabilities(new ImageCapabilities(accelerated),
|
||||
new ImageCapabilities(accelerated),
|
||||
BufferCapabilities.FlipContents.COPIED));
|
||||
new BufferCapabilities(new ImageCapabilities(accelerated),
|
||||
new ImageCapabilities(accelerated),
|
||||
BufferCapabilities.FlipContents.COPIED));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -209,9 +209,9 @@ public class Canvas
|
|||
throws AWTException
|
||||
{
|
||||
super(numBuffers,
|
||||
new BufferCapabilities(new ImageCapabilities(true),
|
||||
new ImageCapabilities(true),
|
||||
BufferCapabilities.FlipContents.COPIED));
|
||||
new BufferCapabilities(new ImageCapabilities(true),
|
||||
new ImageCapabilities(true),
|
||||
BufferCapabilities.FlipContents.COPIED));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -242,18 +242,18 @@ public class Canvas
|
|||
{
|
||||
if (numBuffers < 1)
|
||||
throw new IllegalArgumentException("Canvas.createBufferStrategy: number"
|
||||
+ " of buffers is less than one");
|
||||
+ " of buffers is less than one");
|
||||
|
||||
if (!isDisplayable())
|
||||
throw new IllegalStateException("Canvas.createBufferStrategy: canvas is"
|
||||
+ " not displayable");
|
||||
+ " not displayable");
|
||||
|
||||
BufferStrategy newStrategy = null;
|
||||
|
||||
// try a flipping strategy
|
||||
try
|
||||
{
|
||||
newStrategy = new CanvasFlipBufferStrategy(numBuffers);
|
||||
newStrategy = new CanvasFlipBufferStrategy(numBuffers);
|
||||
}
|
||||
catch (AWTException e)
|
||||
{
|
||||
|
@ -290,11 +290,11 @@ public class Canvas
|
|||
{
|
||||
if (numBuffers < 1)
|
||||
throw new IllegalArgumentException("Canvas.createBufferStrategy: number"
|
||||
+ " of buffers is less than one");
|
||||
+ " of buffers is less than one");
|
||||
|
||||
if (caps == null)
|
||||
throw new IllegalArgumentException("Canvas.createBufferStrategy:"
|
||||
+ " capabilities object is null");
|
||||
+ " capabilities object is null");
|
||||
|
||||
// a flipping strategy was requested
|
||||
if (caps.isPageFlipping())
|
||||
|
@ -336,7 +336,7 @@ public class Canvas
|
|||
/* Call the paint method */
|
||||
paint(graphics);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>Canvas</code>.
|
||||
*
|
||||
|
|
|
@ -85,7 +85,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
*
|
||||
* @param comp The component to add
|
||||
* @param constraints The name by which the component can later be called
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If `constraints' is not a
|
||||
* <code>String</code>
|
||||
*/
|
||||
|
@ -93,17 +93,17 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
{
|
||||
if (! (constraints instanceof String))
|
||||
throw new IllegalArgumentException ("Object " + constraints
|
||||
+ " is not a string");
|
||||
+ " is not a string");
|
||||
addLayoutComponent ((String) constraints, comp);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a new component to the layout. The name can be used later
|
||||
* to refer to the component.
|
||||
*
|
||||
*
|
||||
* @param name The name by which the component can later be called
|
||||
* @param comp The component to add
|
||||
*
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* <code>addLayoutComponent(Component, Object)</code>.
|
||||
*/
|
||||
|
@ -137,7 +137,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
/**
|
||||
* Return this layout manager's x alignment. This method always
|
||||
* returns Component.CENTER_ALIGNMENT.
|
||||
*
|
||||
*
|
||||
* @param parent Container using this layout manager instance
|
||||
*
|
||||
* @return the x-axis alignment
|
||||
|
@ -150,7 +150,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
/**
|
||||
* Returns this layout manager's y alignment. This method always
|
||||
* returns Component.CENTER_ALIGNMENT.
|
||||
*
|
||||
*
|
||||
* @param parent Container using this layout manager instance
|
||||
*
|
||||
* @return the y-axis alignment
|
||||
|
@ -180,7 +180,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
|
||||
/**
|
||||
* Cause the last component in the container to be displayed.
|
||||
*
|
||||
*
|
||||
* @param parent The parent container, not <code>null</code>.
|
||||
*/
|
||||
public void last (Container parent)
|
||||
|
@ -193,32 +193,32 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
* to be the same size as the parent, less insets and gaps.
|
||||
*
|
||||
* @param parent The parent container.
|
||||
*/
|
||||
*/
|
||||
public void layoutContainer (Container parent)
|
||||
{
|
||||
synchronized (parent.getTreeLock ())
|
||||
{
|
||||
int width = parent.width;
|
||||
int height = parent.height;
|
||||
int width = parent.width;
|
||||
int height = parent.height;
|
||||
|
||||
Insets ins = parent.getInsets ();
|
||||
Insets ins = parent.getInsets ();
|
||||
|
||||
int num = parent.ncomponents;
|
||||
Component[] comps = parent.component;
|
||||
int num = parent.ncomponents;
|
||||
Component[] comps = parent.component;
|
||||
|
||||
int x = ins.left + hgap;
|
||||
int y = ins.top + vgap;
|
||||
width = width - 2 * hgap - ins.left - ins.right;
|
||||
height = height - 2 * vgap - ins.top - ins.bottom;
|
||||
int x = ins.left + hgap;
|
||||
int y = ins.top + vgap;
|
||||
width = width - 2 * hgap - ins.left - ins.right;
|
||||
height = height - 2 * vgap - ins.top - ins.bottom;
|
||||
|
||||
for (int i = 0; i < num; ++i)
|
||||
comps[i].setBounds (x, y, width, height);
|
||||
for (int i = 0; i < num; ++i)
|
||||
comps[i].setBounds (x, y, width, height);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the maximum layout size of the container.
|
||||
*
|
||||
*
|
||||
* @param target The parent container
|
||||
*
|
||||
* @return the maximum layout size
|
||||
|
@ -234,7 +234,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
|
||||
/**
|
||||
* Get the minimum layout size of the container.
|
||||
*
|
||||
*
|
||||
* @param target The parent container
|
||||
*
|
||||
* @return the minimum layout size
|
||||
|
@ -248,7 +248,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
* Cause the next component in the container to be displayed. If
|
||||
* this current card is the last one in the deck, the first
|
||||
* component is displayed.
|
||||
*
|
||||
*
|
||||
* @param parent The parent container, not <code>null</code>.
|
||||
*/
|
||||
public void next (Container parent)
|
||||
|
@ -258,7 +258,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
|
||||
/**
|
||||
* Get the preferred layout size of the container.
|
||||
*
|
||||
*
|
||||
* @param parent The parent container
|
||||
*
|
||||
* @return the preferred layout size
|
||||
|
@ -272,7 +272,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
* Cause the previous component in the container to be displayed.
|
||||
* If this current card is the first one in the deck, the last
|
||||
* component is displayed.
|
||||
*
|
||||
*
|
||||
* @param parent The parent container, not <code>null</code>.
|
||||
*/
|
||||
public void previous (Container parent)
|
||||
|
@ -282,7 +282,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
|
||||
/**
|
||||
* Remove the indicated component from this layout manager.
|
||||
*
|
||||
*
|
||||
* @param comp The component to remove
|
||||
*/
|
||||
public void removeLayoutComponent (Component comp)
|
||||
|
@ -290,20 +290,20 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
Enumeration e = tab.keys ();
|
||||
while (e.hasMoreElements ())
|
||||
{
|
||||
Object key = e.nextElement ();
|
||||
if (tab.get (key) == comp)
|
||||
{
|
||||
tab.remove (key);
|
||||
Container parent = comp.getParent();
|
||||
next(parent);
|
||||
break;
|
||||
}
|
||||
Object key = e.nextElement ();
|
||||
if (tab.get (key) == comp)
|
||||
{
|
||||
tab.remove (key);
|
||||
Container parent = comp.getParent();
|
||||
next(parent);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set this layout manager's horizontal gap.
|
||||
*
|
||||
*
|
||||
* @param hgap The new gap
|
||||
*/
|
||||
public void setHgap (int hgap)
|
||||
|
@ -313,7 +313,7 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
|
||||
/**
|
||||
* Set this layout manager's vertical gap.
|
||||
*
|
||||
*
|
||||
* @param vgap The new gap
|
||||
*/
|
||||
public void setVgap (int vgap)
|
||||
|
@ -324,34 +324,34 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
/**
|
||||
* Cause the named component to be shown. If the component name is
|
||||
* unknown or <code>null</code>, this method does nothing.
|
||||
*
|
||||
*
|
||||
* @param parent The parent container, not <code>null</code>.
|
||||
* @param name The name of the component to show
|
||||
* @param name The name of the component to show
|
||||
*/
|
||||
public void show (Container parent, String name)
|
||||
{
|
||||
if (name == null)
|
||||
return;
|
||||
|
||||
|
||||
if (parent.getLayout() != this)
|
||||
throw new IllegalArgumentException("parent's layout is not this CardLayout");
|
||||
|
||||
|
||||
Object target = tab.get (name);
|
||||
if (target != null)
|
||||
{
|
||||
int num = parent.ncomponents;
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
if (comps[i].isVisible())
|
||||
{
|
||||
if (target == comps[i])
|
||||
return;
|
||||
comps[i].setVisible (false);
|
||||
}
|
||||
}
|
||||
((Component) target).setVisible (true);
|
||||
int num = parent.ncomponents;
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
if (comps[i].isVisible())
|
||||
{
|
||||
if (target == comps[i])
|
||||
return;
|
||||
comps[i].setVisible (false);
|
||||
}
|
||||
}
|
||||
((Component) target).setVisible (true);
|
||||
parent.validate();
|
||||
}
|
||||
}
|
||||
|
@ -368,71 +368,71 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
|
||||
/**
|
||||
* This implements first(), last(), next(), and previous().
|
||||
*
|
||||
*
|
||||
* @param parent The parent container
|
||||
* @param what The type of goto: FIRST, LAST, NEXT or PREV
|
||||
*
|
||||
* @throws IllegalArgumentException if parent has not this
|
||||
*
|
||||
* @throws IllegalArgumentException if parent has not this
|
||||
* CardLayout set as its layout.
|
||||
*/
|
||||
private void gotoComponent (Container parent, int what)
|
||||
{
|
||||
if (parent.getLayout() != this)
|
||||
throw new IllegalArgumentException("parent's layout is not this CardLayout");
|
||||
|
||||
|
||||
synchronized (parent.getTreeLock ())
|
||||
{
|
||||
int num = parent.ncomponents;
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
int num = parent.ncomponents;
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
|
||||
if (num == 1)
|
||||
{
|
||||
comps[0].setVisible(true);
|
||||
return;
|
||||
}
|
||||
if (num == 1)
|
||||
{
|
||||
comps[0].setVisible(true);
|
||||
return;
|
||||
}
|
||||
|
||||
int choice = -1;
|
||||
int choice = -1;
|
||||
|
||||
if (what == FIRST)
|
||||
choice = 0;
|
||||
else if (what == LAST)
|
||||
choice = num - 1;
|
||||
if (what == FIRST)
|
||||
choice = 0;
|
||||
else if (what == LAST)
|
||||
choice = num - 1;
|
||||
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
if (comps[i].isVisible ())
|
||||
{
|
||||
if (choice == i)
|
||||
{
|
||||
// Do nothing if we're already looking at the right
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
if (comps[i].isVisible ())
|
||||
{
|
||||
if (choice == i)
|
||||
{
|
||||
// Do nothing if we're already looking at the right
|
||||
// component.
|
||||
return;
|
||||
}
|
||||
else if (what == PREV)
|
||||
{
|
||||
choice = i - 1;
|
||||
if (choice < 0)
|
||||
choice = num - 1;
|
||||
}
|
||||
else if (what == NEXT)
|
||||
{
|
||||
}
|
||||
else if (what == PREV)
|
||||
{
|
||||
choice = i - 1;
|
||||
if (choice < 0)
|
||||
choice = num - 1;
|
||||
}
|
||||
else if (what == NEXT)
|
||||
{
|
||||
choice = i + 1;
|
||||
if (choice == num)
|
||||
choice = 0;
|
||||
}
|
||||
comps[i].setVisible (false);
|
||||
|
||||
if (choice >= 0)
|
||||
break;
|
||||
} else
|
||||
}
|
||||
comps[i].setVisible (false);
|
||||
|
||||
if (choice >= 0)
|
||||
break;
|
||||
} else
|
||||
{
|
||||
comps[i].setVisible(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (choice >= 0 && choice < num)
|
||||
comps[choice].setVisible (true);
|
||||
if (choice >= 0 && choice < num)
|
||||
comps[choice].setVisible (true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -441,35 +441,35 @@ public class CardLayout implements LayoutManager2, Serializable
|
|||
{
|
||||
synchronized (parent.getTreeLock ())
|
||||
{
|
||||
int w = 0, h = 0, num = parent.ncomponents;
|
||||
Component[] comps = parent.component;
|
||||
int w = 0, h = 0, num = parent.ncomponents;
|
||||
Component[] comps = parent.component;
|
||||
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
Dimension d;
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
Dimension d;
|
||||
|
||||
if (what == MIN)
|
||||
d = comps[i].getMinimumSize ();
|
||||
else if (what == MAX)
|
||||
d = comps[i].getMaximumSize ();
|
||||
else
|
||||
d = comps[i].getPreferredSize ();
|
||||
if (what == MIN)
|
||||
d = comps[i].getMinimumSize ();
|
||||
else if (what == MAX)
|
||||
d = comps[i].getMaximumSize ();
|
||||
else
|
||||
d = comps[i].getPreferredSize ();
|
||||
|
||||
w = Math.max (d.width, w);
|
||||
h = Math.max (d.height, h);
|
||||
}
|
||||
w = Math.max (d.width, w);
|
||||
h = Math.max (d.height, h);
|
||||
}
|
||||
|
||||
Insets i = parent.getInsets ();
|
||||
w += 2 * hgap + i.right + i.left;
|
||||
h += 2 * vgap + i.bottom + i.top;
|
||||
Insets i = parent.getInsets ();
|
||||
w += 2 * hgap + i.right + i.left;
|
||||
h += 2 * vgap + i.bottom + i.top;
|
||||
|
||||
// Handle overflow.
|
||||
if (w < 0)
|
||||
w = Integer.MAX_VALUE;
|
||||
if (h < 0)
|
||||
h = Integer.MAX_VALUE;
|
||||
// Handle overflow.
|
||||
if (w < 0)
|
||||
w = Integer.MAX_VALUE;
|
||||
if (h < 0)
|
||||
h = Integer.MAX_VALUE;
|
||||
|
||||
return new Dimension (w, h);
|
||||
return new Dimension (w, h);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -138,10 +138,10 @@ protected class AccessibleAWTCheckbox
|
|||
public void itemStateChanged(ItemEvent event)
|
||||
{
|
||||
firePropertyChange(ACCESSIBLE_STATE_PROPERTY,
|
||||
state ? null : AccessibleState.CHECKED,
|
||||
state ? null : AccessibleState.CHECKED,
|
||||
state ? AccessibleState.CHECKED : null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns an implementation of the <code>AccessibleAction</code>
|
||||
* interface for this accessible object. In this case, the
|
||||
|
@ -156,7 +156,7 @@ protected class AccessibleAWTCheckbox
|
|||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns an implementation of the <code>AccessibleValue</code>
|
||||
* interface for this accessible object. In this case, the
|
||||
|
@ -171,8 +171,8 @@ protected class AccessibleAWTCheckbox
|
|||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
/*
|
||||
* The following methods are implemented in the JDK (up to
|
||||
* 1.5) as stubs. We do likewise here.
|
||||
*/
|
||||
|
@ -277,7 +277,7 @@ protected class AccessibleAWTCheckbox
|
|||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the role of this accessible object.
|
||||
*
|
||||
|
@ -285,11 +285,11 @@ protected class AccessibleAWTCheckbox
|
|||
* which describes this object.
|
||||
* @see javax.accessibility.AccessibleRole
|
||||
*/
|
||||
public AccessibleRole getAccessibleRole()
|
||||
public AccessibleRole getAccessibleRole()
|
||||
{
|
||||
return AccessibleRole.CHECK_BOX;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the state set of this accessible object.
|
||||
*
|
||||
|
@ -319,7 +319,7 @@ protected class AccessibleAWTCheckbox
|
|||
* Initializes a new instance of <code>Checkbox</code> with no label,
|
||||
* an initial state of off, and that is not part of any checkbox group.
|
||||
*/
|
||||
public
|
||||
public
|
||||
Checkbox()
|
||||
{
|
||||
this("", false, null);
|
||||
|
@ -464,10 +464,10 @@ setState(boolean state)
|
|||
{
|
||||
this.state = state;
|
||||
if (peer != null)
|
||||
{
|
||||
CheckboxPeer cp = (CheckboxPeer) peer;
|
||||
cp.setState (state);
|
||||
}
|
||||
{
|
||||
CheckboxPeer cp = (CheckboxPeer) peer;
|
||||
cp.setState (state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -608,9 +608,9 @@ dispatchEventImpl(AWTEvent e)
|
|||
ItemEvent ie = (ItemEvent) e;
|
||||
int itemState = ie.getStateChange();
|
||||
setState(itemState == ItemEvent.SELECTED ? true : false);
|
||||
if (item_listeners != null
|
||||
|| (eventMask & AWTEvent.ITEM_EVENT_MASK) != 0)
|
||||
processEvent(e);
|
||||
if (item_listeners != null
|
||||
|| (eventMask & AWTEvent.ITEM_EVENT_MASK) != 0)
|
||||
processEvent(e);
|
||||
}
|
||||
else
|
||||
super.dispatchEventImpl(e);
|
||||
|
|
|
@ -106,14 +106,14 @@ getSelectedCheckbox()
|
|||
*
|
||||
* @return The selected checkbox.
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* <code>getSelectedCheckbox()</code>.
|
||||
*/
|
||||
public Checkbox
|
||||
getCurrent()
|
||||
{
|
||||
return(selectedCheckbox);
|
||||
}
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
|
@ -169,5 +169,4 @@ toString()
|
|||
return(getClass().getName() + "[selectedCheckbox=" + selectedCheckbox + "]");
|
||||
}
|
||||
|
||||
} // class CheckboxGroup
|
||||
|
||||
} // class CheckboxGroup
|
||||
|
|
|
@ -287,10 +287,10 @@ dispatchEventImpl(AWTEvent e)
|
|||
}
|
||||
}
|
||||
|
||||
if (e.id <= ItemEvent.ITEM_LAST
|
||||
if (e.id <= ItemEvent.ITEM_LAST
|
||||
&& e.id >= ItemEvent.ITEM_FIRST
|
||||
&& (item_listeners != null
|
||||
|| (eventMask & AWTEvent.ITEM_EVENT_MASK) != 0))
|
||||
&& (item_listeners != null
|
||||
|| (eventMask & AWTEvent.ITEM_EVENT_MASK) != 0))
|
||||
processEvent(e);
|
||||
else
|
||||
super.dispatchEventImpl(e);
|
||||
|
@ -307,7 +307,7 @@ public String
|
|||
paramString()
|
||||
{
|
||||
return ("label=" + getLabel() + ",state=" + state
|
||||
+ "," + super.paramString());
|
||||
+ "," + super.paramString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -321,7 +321,7 @@ paramString()
|
|||
public <T extends EventListener> T[] getListeners (Class<T> listenerType)
|
||||
{
|
||||
if (listenerType == ItemListener.class)
|
||||
return AWTEventMulticaster.getListeners (item_listeners, listenerType);
|
||||
return AWTEventMulticaster.getListeners (item_listeners, listenerType);
|
||||
|
||||
return super.getListeners (listenerType);
|
||||
}
|
||||
|
@ -340,10 +340,10 @@ paramString()
|
|||
implements AccessibleAction, AccessibleValue
|
||||
{
|
||||
// I think the base class provides the necessary implementation
|
||||
|
||||
|
||||
private static final long serialVersionUID = -1122642964303476L;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the AccessibleContext associated with this <code>CheckboxMenuItem</code>.
|
||||
* The context is created, if necessary.
|
||||
|
@ -357,7 +357,7 @@ paramString()
|
|||
accessibleContext = new AccessibleAWTCheckboxMenuItem();
|
||||
return accessibleContext;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>CheckboxMenuItem</code>.
|
||||
*
|
||||
|
@ -374,4 +374,3 @@ paramString()
|
|||
}
|
||||
|
||||
} // class CheckboxMenuItem
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ public class Choice extends Component
|
|||
{
|
||||
return AccessibleRole.COMBO_BOX;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the number of actions associated with this accessible
|
||||
* object. In this case, it is the number of choices available.
|
||||
|
@ -162,7 +162,7 @@ public class Choice extends Component
|
|||
{
|
||||
return (String) pItems.get(i);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Executes the action with the specified id. In this case,
|
||||
* calling this method provides the same behaviour as would
|
||||
|
@ -175,8 +175,8 @@ public class Choice extends Component
|
|||
public boolean doAccessibleAction(int i)
|
||||
{
|
||||
if (i < 0 || i >= pItems.size())
|
||||
return false;
|
||||
|
||||
return false;
|
||||
|
||||
Choice.this.select( i );
|
||||
|
||||
return true;
|
||||
|
@ -248,14 +248,14 @@ public class Choice extends Component
|
|||
if (peer != null)
|
||||
((ChoicePeer) peer).add(item, getItemCount() - 1);
|
||||
|
||||
if (selectedIndex == -1)
|
||||
if (selectedIndex == -1)
|
||||
select( 0 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the specified item to this choice box.
|
||||
*
|
||||
* This method is oboslete since Java 2 platform 1.1. Please use
|
||||
* This method is oboslete since Java 2 platform 1.1. Please use
|
||||
* {@link #add(String)} instead.
|
||||
*
|
||||
* @param item The item to add.
|
||||
|
@ -307,7 +307,7 @@ public class Choice extends Component
|
|||
int index = pItems.indexOf(item);
|
||||
if (index == -1)
|
||||
throw new IllegalArgumentException ("item \""
|
||||
+ item + "\" not found in Choice");
|
||||
+ item + "\" not found in Choice");
|
||||
remove(index);
|
||||
}
|
||||
|
||||
|
@ -327,15 +327,15 @@ public class Choice extends Component
|
|||
|
||||
if( getItemCount() == 0 )
|
||||
selectedIndex = -1;
|
||||
else
|
||||
else
|
||||
{
|
||||
if( selectedIndex > index )
|
||||
selectedIndex--;
|
||||
else if( selectedIndex == index )
|
||||
selectedIndex = 0;
|
||||
if( selectedIndex > index )
|
||||
selectedIndex--;
|
||||
else if( selectedIndex == index )
|
||||
selectedIndex = 0;
|
||||
|
||||
if( peer != null )
|
||||
((ChoicePeer)peer).select( selectedIndex );
|
||||
if( peer != null )
|
||||
((ChoicePeer)peer).select( selectedIndex );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -346,13 +346,13 @@ public class Choice extends Component
|
|||
{
|
||||
if (getItemCount() <= 0)
|
||||
return;
|
||||
|
||||
|
||||
pItems.removeAllElements ();
|
||||
|
||||
if (peer != null)
|
||||
{
|
||||
ChoicePeer cp = (ChoicePeer) peer;
|
||||
cp.removeAll ();
|
||||
ChoicePeer cp = (ChoicePeer) peer;
|
||||
cp.removeAll ();
|
||||
}
|
||||
|
||||
selectedIndex = -1;
|
||||
|
@ -367,8 +367,8 @@ public class Choice extends Component
|
|||
public synchronized String getSelectedItem()
|
||||
{
|
||||
return (selectedIndex == -1
|
||||
? null
|
||||
: ((String)pItems.elementAt(selectedIndex)));
|
||||
? null
|
||||
: ((String)pItems.elementAt(selectedIndex)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -409,11 +409,11 @@ public class Choice extends Component
|
|||
if ((index < 0) || (index >= getItemCount()))
|
||||
throw new IllegalArgumentException("Bad index: " + index);
|
||||
|
||||
if( selectedIndex == index )
|
||||
if( selectedIndex == index )
|
||||
return;
|
||||
|
||||
selectedIndex = index;
|
||||
if( peer != null )
|
||||
if( peer != null )
|
||||
((ChoicePeer)peer).select( index );
|
||||
}
|
||||
|
||||
|
@ -482,9 +482,9 @@ public class Choice extends Component
|
|||
{
|
||||
super.dispatchEventImpl(e);
|
||||
|
||||
if( e.id <= ItemEvent.ITEM_LAST && e.id >= ItemEvent.ITEM_FIRST &&
|
||||
( item_listeners != null ||
|
||||
( eventMask & AWTEvent.ITEM_EVENT_MASK ) != 0 ) )
|
||||
if( e.id <= ItemEvent.ITEM_LAST && e.id >= ItemEvent.ITEM_FIRST &&
|
||||
( item_listeners != null ||
|
||||
( eventMask & AWTEvent.ITEM_EVENT_MASK ) != 0 ) )
|
||||
processEvent(e);
|
||||
}
|
||||
|
||||
|
@ -551,7 +551,7 @@ public class Choice extends Component
|
|||
accessibleContext = new AccessibleAWTChoice();
|
||||
return accessibleContext;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>Choice</code>.
|
||||
*
|
||||
|
@ -566,4 +566,4 @@ public class Choice extends Component
|
|||
{
|
||||
return next_choice_number++;
|
||||
}
|
||||
} // class Choice
|
||||
} // class Choice
|
||||
|
|
|
@ -538,7 +538,7 @@ public class Color implements Paint, Serializable
|
|||
hues[0] = (value & RED_MASK) >> 16;
|
||||
hues[1] = (value & GREEN_MASK) >> 8;
|
||||
hues[2] = value & BLUE_MASK;
|
||||
|
||||
|
||||
// (0,0,0) is a special case.
|
||||
if (hues[0] == 0 && hues[1] == 0 && hues[2] ==0)
|
||||
{
|
||||
|
@ -547,10 +547,10 @@ public class Color implements Paint, Serializable
|
|||
hues[2] = 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
for (int index = 0; index < 3; index++)
|
||||
{
|
||||
|
||||
|
||||
if (hues[index] > 2)
|
||||
hues[index] = (int) Math.min(255, hues[index]/0.7f);
|
||||
if (hues[index] == 1 || hues[index] == 2)
|
||||
|
|
|
@ -59,7 +59,7 @@ class ColorPaintContext implements PaintContext
|
|||
|
||||
private ColorRaster cachedRaster;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Create the context for a given color.
|
||||
*
|
||||
|
@ -69,11 +69,11 @@ class ColorPaintContext implements PaintContext
|
|||
{
|
||||
this(ColorModel.getRGBdefault(), colorRGB);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create the context for a given color.
|
||||
*
|
||||
* @param cm The color model of this context.
|
||||
* @param cm The color model of this context.
|
||||
* @param colorRGB The solid color to use.
|
||||
*/
|
||||
ColorPaintContext(ColorModel cm,int colorRGB)
|
||||
|
@ -91,7 +91,7 @@ class ColorPaintContext implements PaintContext
|
|||
}
|
||||
|
||||
/**
|
||||
* Return the color model of this context.
|
||||
* Return the color model of this context.
|
||||
*
|
||||
* @return the context color model
|
||||
*/
|
||||
|
@ -111,7 +111,7 @@ class ColorPaintContext implements PaintContext
|
|||
*/
|
||||
public Raster getRaster(int x, int y, int width, int height)
|
||||
{
|
||||
if( cachedRaster == null
|
||||
if( cachedRaster == null
|
||||
|| cachedRaster.getWidth() < width
|
||||
|| cachedRaster.getHeight() < height)
|
||||
{
|
||||
|
@ -119,16 +119,16 @@ class ColorPaintContext implements PaintContext
|
|||
}
|
||||
return cachedRaster.createChild(0 ,0 ,width ,height ,0 ,0 , null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* A ColorRaster is a raster that is completely filled with one color. The
|
||||
* A ColorRaster is a raster that is completely filled with one color. The
|
||||
* data layout is taken from the color model given to the constructor.
|
||||
*/
|
||||
private class ColorRaster extends Raster
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* Create a raster that is compaltible with the given color model and
|
||||
* Create a raster that is compaltible with the given color model and
|
||||
* filled with the given color.
|
||||
* @param cm The color model for this raster.
|
||||
* @param x The smallest horizontal corrdinate in the raster.
|
||||
|
@ -146,9 +146,9 @@ class ColorPaintContext implements PaintContext
|
|||
getSampleModel().setPixels(0, 0, width, height, d,
|
||||
dataBuffer);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private Object multiplyData(Object src, Object dest, int factor)
|
||||
{
|
||||
Object from;
|
||||
|
@ -156,7 +156,7 @@ class ColorPaintContext implements PaintContext
|
|||
if (src instanceof byte[])
|
||||
{
|
||||
srcLength = ((byte[])src).length;
|
||||
|
||||
|
||||
if (dest == null) dest = new byte[factor * srcLength];
|
||||
}
|
||||
else if (src instanceof short[])
|
||||
|
@ -173,23 +173,23 @@ class ColorPaintContext implements PaintContext
|
|||
{
|
||||
throw new ClassCastException("Unknown data buffer type");
|
||||
}
|
||||
|
||||
|
||||
System.arraycopy(src,0,dest,0,srcLength);
|
||||
|
||||
|
||||
int count = 1;
|
||||
while(count*2 < factor)
|
||||
{
|
||||
System.arraycopy(dest, 0, dest, count * srcLength, count*srcLength);
|
||||
count *= 2;
|
||||
count *= 2;
|
||||
}
|
||||
|
||||
|
||||
if(factor > count)
|
||||
System.arraycopy(dest,0, dest, count * srcLength,
|
||||
System.arraycopy(dest,0, dest, count * srcLength,
|
||||
(factor - count) * srcLength );
|
||||
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // class ColorPaintContext
|
||||
|
|
|
@ -158,7 +158,7 @@ public abstract class Component
|
|||
{
|
||||
// Word to the wise - this file is huge. Search for '\f' (^L) for logical
|
||||
// sectioning by fields, public API, private API, and nested classes.
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Compatible with JDK 1.0+.
|
||||
|
@ -223,7 +223,7 @@ public abstract class Component
|
|||
/**
|
||||
* The default maximum size.
|
||||
*/
|
||||
private static final Dimension DEFAULT_MAX_SIZE
|
||||
private static final Dimension DEFAULT_MAX_SIZE
|
||||
= new Dimension(Short.MAX_VALUE, Short.MAX_VALUE);
|
||||
|
||||
// Serialized fields from the serialization spec.
|
||||
|
@ -444,19 +444,19 @@ public abstract class Component
|
|||
* by a call to {@link #setMinimumSize(Dimension)} with a non-null value.
|
||||
*/
|
||||
boolean minSizeSet;
|
||||
|
||||
|
||||
/**
|
||||
* The maximum size for the component.
|
||||
* @see #setMaximumSize(Dimension)
|
||||
*/
|
||||
Dimension maxSize;
|
||||
|
||||
|
||||
/**
|
||||
* A flag indicating whether the maximum size for the component has been set
|
||||
* by a call to {@link #setMaximumSize(Dimension)} with a non-null value.
|
||||
*/
|
||||
boolean maxSizeSet;
|
||||
|
||||
|
||||
/**
|
||||
* Cached information on the preferred size. Should have been transient.
|
||||
*
|
||||
|
@ -527,7 +527,7 @@ public abstract class Component
|
|||
*/
|
||||
AccessibleContext accessibleContext;
|
||||
|
||||
|
||||
|
||||
// Guess what - listeners are special cased in serialization. See
|
||||
// readObject and writeObject.
|
||||
|
||||
|
@ -627,7 +627,7 @@ public abstract class Component
|
|||
incrementalDraw = Boolean.getBoolean ("awt.image.incrementalDraw");
|
||||
redrawRate = Long.getLong ("awt.image.redrawrate");
|
||||
}
|
||||
|
||||
|
||||
// Public and protected API.
|
||||
|
||||
/**
|
||||
|
@ -704,7 +704,7 @@ public abstract class Component
|
|||
public void setDropTarget(DropTarget dt)
|
||||
{
|
||||
this.dropTarget = dt;
|
||||
|
||||
|
||||
if (peer != null)
|
||||
dropTarget.addNotify(peer);
|
||||
}
|
||||
|
@ -802,8 +802,8 @@ public abstract class Component
|
|||
|
||||
/**
|
||||
* Tests if the component is displayable. It must be connected to a native
|
||||
* screen resource. This reduces to checking that peer is not null. A
|
||||
* containment hierarchy is made displayable when a window is packed or
|
||||
* screen resource. This reduces to checking that peer is not null. A
|
||||
* containment hierarchy is made displayable when a window is packed or
|
||||
* made visible.
|
||||
*
|
||||
* @return true if the component is displayable
|
||||
|
@ -863,10 +863,10 @@ public abstract class Component
|
|||
* events).
|
||||
*
|
||||
* @param enabled true to enable this component
|
||||
*
|
||||
*
|
||||
* @see #isEnabled()
|
||||
* @see #isLightweight()
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public void setEnabled(boolean enabled)
|
||||
|
@ -898,7 +898,7 @@ public abstract class Component
|
|||
* Enables or disables this component.
|
||||
*
|
||||
* @param enabled true to enable this component
|
||||
*
|
||||
*
|
||||
* @deprecated use {@link #setEnabled(boolean)} instead
|
||||
*/
|
||||
public void enable(boolean enabled)
|
||||
|
@ -964,9 +964,9 @@ public abstract class Component
|
|||
* not show the component, if a parent is invisible.
|
||||
*
|
||||
* @param visible true to make this component visible
|
||||
*
|
||||
*
|
||||
* @see #isVisible()
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public void setVisible(boolean visible)
|
||||
|
@ -1037,7 +1037,7 @@ public abstract class Component
|
|||
* Makes this component visible or invisible.
|
||||
*
|
||||
* @param visible true to make this component visible
|
||||
*
|
||||
*
|
||||
* @deprecated use {@link #setVisible(boolean)} instead
|
||||
*/
|
||||
public void show(boolean visible)
|
||||
|
@ -1124,7 +1124,7 @@ public abstract class Component
|
|||
{
|
||||
if (peer != null)
|
||||
peer.setForeground(c);
|
||||
|
||||
|
||||
Color previous = foreground;
|
||||
foreground = c;
|
||||
firePropertyChange("foreground", previous, c);
|
||||
|
@ -1231,7 +1231,7 @@ public abstract class Component
|
|||
* property.
|
||||
*
|
||||
* @param f the new font for this component
|
||||
*
|
||||
*
|
||||
* @see #getFont()
|
||||
*/
|
||||
public void setFont(Font f)
|
||||
|
@ -1254,7 +1254,7 @@ public abstract class Component
|
|||
ComponentPeer p = peer;
|
||||
if (p != null)
|
||||
{
|
||||
// The peer receives the real font setting, which can depend on
|
||||
// The peer receives the real font setting, which can depend on
|
||||
// the parent font when this component's font has been set to null.
|
||||
f = getFont();
|
||||
if (f != null)
|
||||
|
@ -1591,7 +1591,7 @@ public abstract class Component
|
|||
int oldy = this.y;
|
||||
int oldwidth = this.width;
|
||||
int oldheight = this.height;
|
||||
|
||||
|
||||
boolean resized = oldwidth != width || oldheight != height;
|
||||
boolean moved = oldx != x || oldy != y;
|
||||
|
||||
|
@ -1820,15 +1820,15 @@ public abstract class Component
|
|||
}
|
||||
|
||||
/**
|
||||
* Sets the preferred size that will be returned by
|
||||
* {@link #getPreferredSize()} always, and sends a
|
||||
* {@link PropertyChangeEvent} (with the property name 'preferredSize') to
|
||||
* Sets the preferred size that will be returned by
|
||||
* {@link #getPreferredSize()} always, and sends a
|
||||
* {@link PropertyChangeEvent} (with the property name 'preferredSize') to
|
||||
* all registered listeners.
|
||||
*
|
||||
*
|
||||
* @param size the preferred size (<code>null</code> permitted).
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*
|
||||
*
|
||||
* @see #getPreferredSize()
|
||||
*/
|
||||
public void setPreferredSize(Dimension size)
|
||||
|
@ -1838,21 +1838,21 @@ public abstract class Component
|
|||
prefSizeSet = (size != null);
|
||||
firePropertyChange("preferredSize", old, size);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns <code>true</code> if the current preferred size is not
|
||||
* <code>null</code> and was set by a call to
|
||||
* Returns <code>true</code> if the current preferred size is not
|
||||
* <code>null</code> and was set by a call to
|
||||
* {@link #setPreferredSize(Dimension)}, otherwise returns <code>false</code>.
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public boolean isPreferredSizeSet()
|
||||
{
|
||||
return prefSizeSet;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the component's preferred size.
|
||||
*
|
||||
|
@ -1870,7 +1870,7 @@ public abstract class Component
|
|||
* The actual calculation is pulled out of preferredSize() so that
|
||||
* we can call it from Container.preferredSize() and avoid creating a
|
||||
* new intermediate Dimension object.
|
||||
*
|
||||
*
|
||||
* @return the preferredSize of the component
|
||||
*/
|
||||
Dimension preferredSizeImpl()
|
||||
|
@ -1895,7 +1895,7 @@ public abstract class Component
|
|||
|
||||
/**
|
||||
* Returns the component's minimum size.
|
||||
*
|
||||
*
|
||||
* @return the component's minimum size
|
||||
* @see #getPreferredSize()
|
||||
* @see #setMinimumSize(Dimension)
|
||||
|
@ -1910,11 +1910,11 @@ public abstract class Component
|
|||
* Sets the minimum size that will be returned by {@link #getMinimumSize()}
|
||||
* always, and sends a {@link PropertyChangeEvent} (with the property name
|
||||
* 'minimumSize') to all registered listeners.
|
||||
*
|
||||
*
|
||||
* @param size the minimum size (<code>null</code> permitted).
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*
|
||||
*
|
||||
* @see #getMinimumSize()
|
||||
*/
|
||||
public void setMinimumSize(Dimension size)
|
||||
|
@ -1924,21 +1924,21 @@ public abstract class Component
|
|||
minSizeSet = (size != null);
|
||||
firePropertyChange("minimumSize", old, size);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns <code>true</code> if the current minimum size is not
|
||||
* <code>null</code> and was set by a call to
|
||||
* Returns <code>true</code> if the current minimum size is not
|
||||
* <code>null</code> and was set by a call to
|
||||
* {@link #setMinimumSize(Dimension)}, otherwise returns <code>false</code>.
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public boolean isMinimumSizeSet()
|
||||
{
|
||||
return minSizeSet;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the component's minimum size.
|
||||
*
|
||||
|
@ -1957,7 +1957,7 @@ public abstract class Component
|
|||
* we can call it from Container.preferredSize() and
|
||||
* Component.preferredSizeImpl and avoid creating a
|
||||
* new intermediate Dimension object.
|
||||
*
|
||||
*
|
||||
* @return the minimum size of the component
|
||||
*/
|
||||
Dimension minimumSizeImpl()
|
||||
|
@ -2014,11 +2014,11 @@ public abstract class Component
|
|||
* Sets the maximum size that will be returned by {@link #getMaximumSize()}
|
||||
* always, and sends a {@link PropertyChangeEvent} (with the property name
|
||||
* 'maximumSize') to all registered listeners.
|
||||
*
|
||||
*
|
||||
* @param size the maximum size (<code>null</code> permitted).
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*
|
||||
*
|
||||
* @see #getMaximumSize()
|
||||
*/
|
||||
public void setMaximumSize(Dimension size)
|
||||
|
@ -2030,19 +2030,19 @@ public abstract class Component
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns <code>true</code> if the current maximum size is not
|
||||
* <code>null</code> and was set by a call to
|
||||
* Returns <code>true</code> if the current maximum size is not
|
||||
* <code>null</code> and was set by a call to
|
||||
* {@link #setMaximumSize(Dimension)}, otherwise returns <code>false</code>.
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public boolean isMaximumSizeSet()
|
||||
{
|
||||
return maxSizeSet;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the preferred horizontal alignment of this component. The value
|
||||
* returned will be between {@link #LEFT_ALIGNMENT} and
|
||||
|
@ -2313,7 +2313,7 @@ public abstract class Component
|
|||
* Paints this entire component, including any sub-components.
|
||||
*
|
||||
* @param g the graphics context for this paint job
|
||||
*
|
||||
*
|
||||
* @see #paint(Graphics)
|
||||
*/
|
||||
public void paintAll(Graphics g)
|
||||
|
@ -2336,7 +2336,7 @@ public abstract class Component
|
|||
* @see #repaint(long, int, int, int, int)
|
||||
*/
|
||||
public void repaint()
|
||||
{
|
||||
{
|
||||
repaint(0, 0, 0, width, height);
|
||||
}
|
||||
|
||||
|
@ -2406,7 +2406,7 @@ public abstract class Component
|
|||
// region to this component.
|
||||
if (parent != null)
|
||||
{
|
||||
int px = this.x + Math.max(0, x);
|
||||
int px = this.x + Math.max(0, x);
|
||||
int py = this.y + Math.max(0, y);
|
||||
int pw = Math.min(this.width, width);
|
||||
int ph = Math.min(this.height, height);
|
||||
|
@ -2431,7 +2431,7 @@ public abstract class Component
|
|||
* in this class simply calls the <code>paint()</code> method.
|
||||
*
|
||||
* @param g the graphics context of the print device
|
||||
*
|
||||
*
|
||||
* @see #paint(Graphics)
|
||||
*/
|
||||
public void print(Graphics g)
|
||||
|
@ -2440,10 +2440,10 @@ public abstract class Component
|
|||
}
|
||||
|
||||
/**
|
||||
* Prints this component, including all sub-components.
|
||||
* Prints this component, including all sub-components.
|
||||
*
|
||||
* @param g the graphics context of the print device
|
||||
*
|
||||
*
|
||||
* @see #paintAll(Graphics)
|
||||
*/
|
||||
public void printAll(Graphics g)
|
||||
|
@ -2485,18 +2485,18 @@ public abstract class Component
|
|||
repaint();
|
||||
else if ((flags & SOMEBITS) != 0)
|
||||
{
|
||||
if (incrementalDraw)
|
||||
{
|
||||
if (redrawRate != null)
|
||||
{
|
||||
long tm = redrawRate.longValue();
|
||||
if (tm < 0)
|
||||
tm = 0;
|
||||
if (incrementalDraw)
|
||||
{
|
||||
if (redrawRate != null)
|
||||
{
|
||||
long tm = redrawRate.longValue();
|
||||
if (tm < 0)
|
||||
tm = 0;
|
||||
repaint(tm);
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
repaint(100);
|
||||
}
|
||||
}
|
||||
}
|
||||
return (flags & (ALLBITS | ABORT | ERROR)) == 0;
|
||||
}
|
||||
|
@ -2650,9 +2650,9 @@ public abstract class Component
|
|||
|
||||
boolean retval;
|
||||
if (p != null)
|
||||
retval = p.prepareImage(image, width, height, observer);
|
||||
retval = p.prepareImage(image, width, height, observer);
|
||||
else
|
||||
retval = getToolkit().prepareImage(image, width, height, observer);
|
||||
retval = getToolkit().prepareImage(image, width, height, observer);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
@ -2855,14 +2855,14 @@ public abstract class Component
|
|||
/**
|
||||
* By default, no old mouse events should be ignored.
|
||||
* This can be overridden by subclasses.
|
||||
*
|
||||
*
|
||||
* @return false, no mouse events are ignored.
|
||||
*/
|
||||
static boolean ignoreOldMouseEvents()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* AWT 1.0 event handler.
|
||||
*
|
||||
|
@ -3414,19 +3414,19 @@ public abstract class Component
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns all registered {@link EventListener}s of the given
|
||||
* Returns all registered {@link EventListener}s of the given
|
||||
* <code>listenerType</code>.
|
||||
*
|
||||
* @param listenerType the class of listeners to filter (<code>null</code>
|
||||
* @param listenerType the class of listeners to filter (<code>null</code>
|
||||
* not permitted).
|
||||
*
|
||||
*
|
||||
* @return An array of registered listeners.
|
||||
*
|
||||
*
|
||||
* @throws ClassCastException if <code>listenerType</code> does not implement
|
||||
* the {@link EventListener} interface.
|
||||
* @throws NullPointerException if <code>listenerType</code> is
|
||||
* @throws NullPointerException if <code>listenerType</code> is
|
||||
* <code>null</code>.
|
||||
*
|
||||
*
|
||||
* @see #getComponentListeners()
|
||||
* @see #getFocusListeners()
|
||||
* @see #getHierarchyListeners()
|
||||
|
@ -3819,8 +3819,8 @@ public abstract class Component
|
|||
mouseListener.mouseClicked(e);
|
||||
break;
|
||||
case MouseEvent.MOUSE_ENTERED:
|
||||
if( isLightweight() )
|
||||
setCursor( getCursor() );
|
||||
if( isLightweight() )
|
||||
setCursor( getCursor() );
|
||||
mouseListener.mouseEntered(e);
|
||||
break;
|
||||
case MouseEvent.MOUSE_EXITED:
|
||||
|
@ -3882,7 +3882,7 @@ public abstract class Component
|
|||
{
|
||||
mouseWheelListener.mouseWheelMoved(e);
|
||||
e.consume();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3977,37 +3977,37 @@ public abstract class Component
|
|||
{
|
||||
switch (evt.id)
|
||||
{
|
||||
// Handle key events.
|
||||
// Handle key events.
|
||||
case Event.KEY_ACTION:
|
||||
case Event.KEY_PRESS:
|
||||
return keyDown (evt, evt.key);
|
||||
return keyDown (evt, evt.key);
|
||||
case Event.KEY_ACTION_RELEASE:
|
||||
case Event.KEY_RELEASE:
|
||||
return keyUp (evt, evt.key);
|
||||
return keyUp (evt, evt.key);
|
||||
|
||||
// Handle mouse events.
|
||||
// Handle mouse events.
|
||||
case Event.MOUSE_DOWN:
|
||||
return mouseDown (evt, evt.x, evt.y);
|
||||
return mouseDown (evt, evt.x, evt.y);
|
||||
case Event.MOUSE_UP:
|
||||
return mouseUp (evt, evt.x, evt.y);
|
||||
return mouseUp (evt, evt.x, evt.y);
|
||||
case Event.MOUSE_MOVE:
|
||||
return mouseMove (evt, evt.x, evt.y);
|
||||
return mouseMove (evt, evt.x, evt.y);
|
||||
case Event.MOUSE_DRAG:
|
||||
return mouseDrag (evt, evt.x, evt.y);
|
||||
return mouseDrag (evt, evt.x, evt.y);
|
||||
case Event.MOUSE_ENTER:
|
||||
return mouseEnter (evt, evt.x, evt.y);
|
||||
return mouseEnter (evt, evt.x, evt.y);
|
||||
case Event.MOUSE_EXIT:
|
||||
return mouseExit (evt, evt.x, evt.y);
|
||||
return mouseExit (evt, evt.x, evt.y);
|
||||
|
||||
// Handle focus events.
|
||||
// Handle focus events.
|
||||
case Event.GOT_FOCUS:
|
||||
return gotFocus (evt, evt.arg);
|
||||
return gotFocus (evt, evt.arg);
|
||||
case Event.LOST_FOCUS:
|
||||
return lostFocus (evt, evt.arg);
|
||||
return lostFocus (evt, evt.arg);
|
||||
|
||||
// Handle action event.
|
||||
// Handle action event.
|
||||
case Event.ACTION_EVENT:
|
||||
return action (evt, evt.arg);
|
||||
return action (evt, evt.arg);
|
||||
}
|
||||
// Unknown event.
|
||||
return false;
|
||||
|
@ -4186,7 +4186,7 @@ public abstract class Component
|
|||
// much.
|
||||
invalidate();
|
||||
|
||||
if (dropTarget != null)
|
||||
if (dropTarget != null)
|
||||
dropTarget.addNotify(peer);
|
||||
|
||||
// Fetch the peerFont for later installation in validate().
|
||||
|
@ -4354,7 +4354,7 @@ public abstract class Component
|
|||
* @since 1.4
|
||||
*/
|
||||
public void setFocusTraversalKeys(int id,
|
||||
Set<? extends AWTKeyStroke> keystrokes)
|
||||
Set<? extends AWTKeyStroke> keystrokes)
|
||||
{
|
||||
if (keystrokes == null)
|
||||
{
|
||||
|
@ -4438,12 +4438,12 @@ public abstract class Component
|
|||
* @return set of traversal keys
|
||||
*
|
||||
* @throws IllegalArgumentException if id is invalid
|
||||
*
|
||||
*
|
||||
* @see #setFocusTraversalKeys (int, Set)
|
||||
* @see KeyboardFocusManager#FORWARD_TRAVERSAL_KEYS
|
||||
* @see KeyboardFocusManager#BACKWARD_TRAVERSAL_KEYS
|
||||
* @see KeyboardFocusManager#UP_CYCLE_TRAVERSAL_KEYS
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public Set<AWTKeyStroke> getFocusTraversalKeys (int id)
|
||||
|
@ -4506,8 +4506,8 @@ public abstract class Component
|
|||
public void setFocusTraversalKeysEnabled (boolean focusTraversalKeysEnabled)
|
||||
{
|
||||
firePropertyChange ("focusTraversalKeysEnabled",
|
||||
this.focusTraversalKeysEnabled,
|
||||
focusTraversalKeysEnabled);
|
||||
this.focusTraversalKeysEnabled,
|
||||
focusTraversalKeysEnabled);
|
||||
this.focusTraversalKeysEnabled = focusTraversalKeysEnabled;
|
||||
}
|
||||
|
||||
|
@ -4670,7 +4670,7 @@ public abstract class Component
|
|||
private boolean requestFocusImpl(boolean temporary, boolean focusWindow)
|
||||
{
|
||||
boolean retval = false;
|
||||
|
||||
|
||||
// Don't try to focus non-focusable and non-visible components.
|
||||
if (isFocusable() && isVisible())
|
||||
{
|
||||
|
@ -4954,9 +4954,9 @@ public abstract class Component
|
|||
* Adds the specified popup menu to this component.
|
||||
*
|
||||
* @param popup the popup menu to be added
|
||||
*
|
||||
*
|
||||
* @see #remove(MenuComponent)
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public synchronized void add(PopupMenu popup)
|
||||
|
@ -5233,7 +5233,7 @@ p * <li>the set of backward traversal keys
|
|||
Object newValue)
|
||||
{
|
||||
if (changeSupport != null)
|
||||
changeSupport.firePropertyChange(propertyName, oldValue, newValue);
|
||||
changeSupport.firePropertyChange(propertyName, oldValue, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -5379,7 +5379,7 @@ p * <li>the set of backward traversal keys
|
|||
*/
|
||||
public void setComponentOrientation(ComponentOrientation o)
|
||||
{
|
||||
|
||||
|
||||
ComponentOrientation oldOrientation = componentOrientation;
|
||||
componentOrientation = o;
|
||||
firePropertyChange("componentOrientation", oldOrientation, o);
|
||||
|
@ -5426,7 +5426,7 @@ p * <li>the set of backward traversal keys
|
|||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Helper methods; some are package visible for use by subclasses.
|
||||
|
||||
/**
|
||||
|
@ -5463,13 +5463,13 @@ p * <li>the set of backward traversal keys
|
|||
{
|
||||
Object target = e.getSource ();
|
||||
Event translated = null;
|
||||
|
||||
|
||||
if (e instanceof WindowEvent)
|
||||
{
|
||||
WindowEvent we = (WindowEvent) e;
|
||||
int id = we.id;
|
||||
int newId = 0;
|
||||
|
||||
|
||||
switch (id)
|
||||
{
|
||||
case WindowEvent.WINDOW_DEICONIFIED:
|
||||
|
@ -5666,22 +5666,22 @@ p * <li>the set of backward traversal keys
|
|||
}
|
||||
else if (e instanceof AdjustmentEvent)
|
||||
{
|
||||
AdjustmentEvent ae = (AdjustmentEvent) e;
|
||||
int type = ae.getAdjustmentType();
|
||||
int oldType;
|
||||
if (type == AdjustmentEvent.BLOCK_DECREMENT)
|
||||
oldType = Event.SCROLL_PAGE_UP;
|
||||
else if (type == AdjustmentEvent.BLOCK_INCREMENT)
|
||||
oldType = Event.SCROLL_PAGE_DOWN;
|
||||
else if (type == AdjustmentEvent.TRACK)
|
||||
oldType = Event.SCROLL_ABSOLUTE;
|
||||
else if (type == AdjustmentEvent.UNIT_DECREMENT)
|
||||
oldType = Event.SCROLL_LINE_UP;
|
||||
else if (type == AdjustmentEvent.UNIT_INCREMENT)
|
||||
oldType = Event.SCROLL_LINE_DOWN;
|
||||
else
|
||||
oldType = type;
|
||||
translated = new Event(target, oldType, new Integer(ae.getValue()));
|
||||
AdjustmentEvent ae = (AdjustmentEvent) e;
|
||||
int type = ae.getAdjustmentType();
|
||||
int oldType;
|
||||
if (type == AdjustmentEvent.BLOCK_DECREMENT)
|
||||
oldType = Event.SCROLL_PAGE_UP;
|
||||
else if (type == AdjustmentEvent.BLOCK_INCREMENT)
|
||||
oldType = Event.SCROLL_PAGE_DOWN;
|
||||
else if (type == AdjustmentEvent.TRACK)
|
||||
oldType = Event.SCROLL_ABSOLUTE;
|
||||
else if (type == AdjustmentEvent.UNIT_DECREMENT)
|
||||
oldType = Event.SCROLL_LINE_UP;
|
||||
else if (type == AdjustmentEvent.UNIT_INCREMENT)
|
||||
oldType = Event.SCROLL_LINE_DOWN;
|
||||
else
|
||||
oldType = type;
|
||||
translated = new Event(target, oldType, new Integer(ae.getValue()));
|
||||
}
|
||||
else if (e instanceof ActionEvent)
|
||||
translated = new Event (target, Event.ACTION_EVENT,
|
||||
|
@ -5760,14 +5760,14 @@ p * <li>the set of backward traversal keys
|
|||
switch (type)
|
||||
{
|
||||
case HierarchyEvent.HIERARCHY_CHANGED:
|
||||
return (hierarchyListener != null
|
||||
return (hierarchyListener != null
|
||||
|| (eventMask & AWTEvent.HIERARCHY_EVENT_MASK) != 0);
|
||||
|
||||
|
||||
case HierarchyEvent.ANCESTOR_MOVED:
|
||||
case HierarchyEvent.ANCESTOR_RESIZED:
|
||||
return (hierarchyBoundsListener != null
|
||||
return (hierarchyBoundsListener != null
|
||||
|| (eventMask & AWTEvent.HIERARCHY_BOUNDS_EVENT_MASK) != 0);
|
||||
|
||||
|
||||
case ComponentEvent.COMPONENT_HIDDEN:
|
||||
case ComponentEvent.COMPONENT_MOVED:
|
||||
case ComponentEvent.COMPONENT_RESIZED:
|
||||
|
@ -5795,7 +5795,7 @@ p * <li>the set of backward traversal keys
|
|||
case MouseEvent.MOUSE_WHEEL:
|
||||
return (mouseWheelListener != null
|
||||
|| (eventMask & AWTEvent.MOUSE_WHEEL_EVENT_MASK) != 0);
|
||||
|
||||
|
||||
case FocusEvent.FOCUS_GAINED:
|
||||
case FocusEvent.FOCUS_LOST:
|
||||
return (focusListener != null
|
||||
|
@ -5805,11 +5805,11 @@ p * <li>the set of backward traversal keys
|
|||
case InputMethodEvent.CARET_POSITION_CHANGED:
|
||||
return (inputMethodListener != null
|
||||
|| (eventMask & AWTEvent.INPUT_METHOD_EVENT_MASK) != 0);
|
||||
|
||||
|
||||
case PaintEvent.PAINT:
|
||||
case PaintEvent.UPDATE:
|
||||
return (eventMask & AWTEvent.PAINT_EVENT_MASK) != 0;
|
||||
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
@ -5966,14 +5966,14 @@ p * <li>the set of backward traversal keys
|
|||
s.writeObject(null);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Nested classes.
|
||||
|
||||
|
||||
/**
|
||||
* This class fixes the bounds for a Heavyweight component that
|
||||
* is placed inside a Lightweight container. When the lightweight is
|
||||
* moved or resized, setBounds for the lightweight peer does nothing.
|
||||
* Therefore, it was never moved on the screen. This class is
|
||||
* Therefore, it was never moved on the screen. This class is
|
||||
* attached to the lightweight, and it adjusts the position and size
|
||||
* of the peer when notified.
|
||||
* This is the same for show and hide.
|
||||
|
@ -5981,20 +5981,20 @@ p * <li>the set of backward traversal keys
|
|||
class HeavyweightInLightweightListener
|
||||
implements ComponentListener
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* Constructor. Adds component listener to lightweight parent.
|
||||
*
|
||||
*
|
||||
* @param parent - the lightweight container.
|
||||
*/
|
||||
public HeavyweightInLightweightListener(Container parent)
|
||||
{
|
||||
parent.addComponentListener(this);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This method is called when the component is resized.
|
||||
*
|
||||
*
|
||||
* @param event the <code>ComponentEvent</code> indicating the resize
|
||||
*/
|
||||
public void componentResized(ComponentEvent event)
|
||||
|
@ -6004,7 +6004,7 @@ p * <li>the set of backward traversal keys
|
|||
|
||||
/**
|
||||
* This method is called when the component is moved.
|
||||
*
|
||||
*
|
||||
* @param event the <code>ComponentEvent</code> indicating the move
|
||||
*/
|
||||
public void componentMoved(ComponentEvent event)
|
||||
|
@ -6015,7 +6015,7 @@ p * <li>the set of backward traversal keys
|
|||
|
||||
/**
|
||||
* This method is called when the component is made visible.
|
||||
*
|
||||
*
|
||||
* @param event the <code>ComponentEvent</code> indicating the visibility
|
||||
*/
|
||||
public void componentShown(ComponentEvent event)
|
||||
|
@ -6026,7 +6026,7 @@ p * <li>the set of backward traversal keys
|
|||
|
||||
/**
|
||||
* This method is called when the component is hidden.
|
||||
*
|
||||
*
|
||||
* @param event the <code>ComponentEvent</code> indicating the visibility
|
||||
*/
|
||||
public void componentHidden(ComponentEvent event)
|
||||
|
@ -6035,7 +6035,7 @@ p * <li>the set of backward traversal keys
|
|||
peer.hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This class provides accessibility support for subclasses of container.
|
||||
*
|
||||
|
@ -6732,13 +6732,13 @@ p * <li>the set of backward traversal keys
|
|||
protected void createBackBuffers(int numBuffers)
|
||||
{
|
||||
GraphicsConfiguration c =
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
|
||||
backBuffers = new VolatileImage[numBuffers];
|
||||
|
||||
for (int i = 0; i < numBuffers; i++)
|
||||
backBuffers[i] = c.createCompatibleVolatileImage(width, height);
|
||||
backBuffers[i] = c.createCompatibleVolatileImage(width, height);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -6769,30 +6769,30 @@ p * <li>the set of backward traversal keys
|
|||
public void show()
|
||||
{
|
||||
GraphicsConfiguration c =
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
|
||||
// draw the front buffer.
|
||||
getGraphics().drawImage(backBuffers[backBuffers.length - 1],
|
||||
width, height, null);
|
||||
width, height, null);
|
||||
|
||||
BufferCapabilities.FlipContents f = getCapabilities().getFlipContents();
|
||||
|
||||
// blit the back buffers.
|
||||
for (int i = backBuffers.length - 1; i > 0 ; i--)
|
||||
backBuffers[i] = backBuffers[i - 1];
|
||||
backBuffers[i] = backBuffers[i - 1];
|
||||
|
||||
// create new backmost buffer.
|
||||
if (f == BufferCapabilities.FlipContents.UNDEFINED)
|
||||
backBuffers[0] = c.createCompatibleVolatileImage(width, height);
|
||||
backBuffers[0] = c.createCompatibleVolatileImage(width, height);
|
||||
|
||||
// create new backmost buffer and clear it to the background
|
||||
// color.
|
||||
if (f == BufferCapabilities.FlipContents.BACKGROUND)
|
||||
{
|
||||
backBuffers[0] = c.createCompatibleVolatileImage(width, height);
|
||||
backBuffers[0].getGraphics().clearRect(0, 0, width, height);
|
||||
}
|
||||
{
|
||||
backBuffers[0] = c.createCompatibleVolatileImage(width, height);
|
||||
backBuffers[0].getGraphics().clearRect(0, 0, width, height);
|
||||
}
|
||||
|
||||
// FIXME: set the backmost buffer to the prior contents of the
|
||||
// front buffer. How do we retrieve the contents of the front
|
||||
|
@ -6802,7 +6802,7 @@ p * <li>the set of backward traversal keys
|
|||
|
||||
// set the backmost buffer to a copy of the new front buffer.
|
||||
if (f == BufferCapabilities.FlipContents.COPIED)
|
||||
backBuffers[0] = backBuffers[backBuffers.length - 1];
|
||||
backBuffers[0] = backBuffers[backBuffers.length - 1];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -6811,15 +6811,15 @@ p * <li>the set of backward traversal keys
|
|||
protected void revalidate()
|
||||
{
|
||||
GraphicsConfiguration c =
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
|
||||
for (int i = 0; i < backBuffers.length; i++)
|
||||
{
|
||||
int result = backBuffers[i].validate(c);
|
||||
if (result == VolatileImage.IMAGE_INCOMPATIBLE)
|
||||
backBuffers[i] = c.createCompatibleVolatileImage(width, height);
|
||||
}
|
||||
{
|
||||
int result = backBuffers[i].validate(c);
|
||||
if (result == VolatileImage.IMAGE_INCOMPATIBLE)
|
||||
backBuffers[i] = c.createCompatibleVolatileImage(width, height);
|
||||
}
|
||||
validatedContents = true;
|
||||
}
|
||||
|
||||
|
@ -6832,13 +6832,13 @@ p * <li>the set of backward traversal keys
|
|||
public boolean contentsLost()
|
||||
{
|
||||
for (int i = 0; i < backBuffers.length; i++)
|
||||
{
|
||||
if (backBuffers[i].contentsLost())
|
||||
{
|
||||
validatedContents = false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (backBuffers[i].contentsLost())
|
||||
{
|
||||
validatedContents = false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// we know that the buffer resources are valid now because we
|
||||
// just checked them
|
||||
validatedContents = true;
|
||||
|
@ -6855,19 +6855,19 @@ p * <li>the set of backward traversal keys
|
|||
public boolean contentsRestored()
|
||||
{
|
||||
GraphicsConfiguration c =
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
|
||||
boolean imageRestored = false;
|
||||
|
||||
for (int i = 0; i < backBuffers.length; i++)
|
||||
{
|
||||
int result = backBuffers[i].validate(c);
|
||||
if (result == VolatileImage.IMAGE_RESTORED)
|
||||
imageRestored = true;
|
||||
else if (result == VolatileImage.IMAGE_INCOMPATIBLE)
|
||||
return false;
|
||||
}
|
||||
{
|
||||
int result = backBuffers[i].validate(c);
|
||||
if (result == VolatileImage.IMAGE_RESTORED)
|
||||
imageRestored = true;
|
||||
else if (result == VolatileImage.IMAGE_INCOMPATIBLE)
|
||||
return false;
|
||||
}
|
||||
// we know that the buffer resources are valid now because we
|
||||
// just checked them
|
||||
validatedContents = true;
|
||||
|
@ -6939,12 +6939,12 @@ p * <li>the set of backward traversal keys
|
|||
height = getHeight();
|
||||
|
||||
if (numBuffers > 1)
|
||||
createBuffers(numBuffers, caps);
|
||||
createBuffers(numBuffers, caps);
|
||||
else
|
||||
{
|
||||
drawVBuffer = peer.createVolatileImage(width, height);
|
||||
drawBuffer = drawVBuffer;
|
||||
}
|
||||
{
|
||||
drawVBuffer = peer.createVolatileImage(width, height);
|
||||
drawBuffer = drawVBuffer;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -6967,14 +6967,14 @@ p * <li>the set of backward traversal keys
|
|||
throws AWTException
|
||||
{
|
||||
if (numBuffers <= 1)
|
||||
throw new IllegalArgumentException("FlipBufferStrategy.createBuffers:"
|
||||
+ " numBuffers must be greater than"
|
||||
+ " one.");
|
||||
throw new IllegalArgumentException("FlipBufferStrategy.createBuffers:"
|
||||
+ " numBuffers must be greater than"
|
||||
+ " one.");
|
||||
|
||||
if (!caps.isPageFlipping())
|
||||
throw new IllegalArgumentException("FlipBufferStrategy.createBuffers:"
|
||||
+ " flipping must be a specified"
|
||||
+ " capability.");
|
||||
throw new IllegalArgumentException("FlipBufferStrategy.createBuffers:"
|
||||
+ " flipping must be a specified"
|
||||
+ " capability.");
|
||||
|
||||
peer.createBuffers(numBuffers, caps);
|
||||
}
|
||||
|
@ -7033,11 +7033,11 @@ p * <li>the set of backward traversal keys
|
|||
protected void revalidate()
|
||||
{
|
||||
GraphicsConfiguration c =
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
|
||||
if (drawVBuffer.validate(c) == VolatileImage.IMAGE_INCOMPATIBLE)
|
||||
drawVBuffer = peer.createVolatileImage(width, height);
|
||||
drawVBuffer = peer.createVolatileImage(width, height);
|
||||
validatedContents = true;
|
||||
}
|
||||
|
||||
|
@ -7050,10 +7050,10 @@ p * <li>the set of backward traversal keys
|
|||
public boolean contentsLost()
|
||||
{
|
||||
if (drawVBuffer.contentsLost())
|
||||
{
|
||||
validatedContents = false;
|
||||
return true;
|
||||
}
|
||||
{
|
||||
validatedContents = false;
|
||||
return true;
|
||||
}
|
||||
// we know that the buffer resources are valid now because we
|
||||
// just checked them
|
||||
validatedContents = true;
|
||||
|
@ -7070,17 +7070,17 @@ p * <li>the set of backward traversal keys
|
|||
public boolean contentsRestored()
|
||||
{
|
||||
GraphicsConfiguration c =
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
GraphicsEnvironment.getLocalGraphicsEnvironment()
|
||||
.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
|
||||
int result = drawVBuffer.validate(c);
|
||||
|
||||
boolean imageRestored = false;
|
||||
|
||||
if (result == VolatileImage.IMAGE_RESTORED)
|
||||
imageRestored = true;
|
||||
imageRestored = true;
|
||||
else if (result == VolatileImage.IMAGE_INCOMPATIBLE)
|
||||
return false;
|
||||
return false;
|
||||
|
||||
// we know that the buffer resources are valid now because we
|
||||
// just checked them
|
||||
|
|
|
@ -330,7 +330,7 @@ public class Container extends Component
|
|||
|
||||
if (component == null)
|
||||
component = new Component[4]; // FIXME, better initial size?
|
||||
|
||||
|
||||
// This isn't the most efficient implementation. We could do less
|
||||
// copying when growing the array. It probably doesn't matter.
|
||||
if (ncomponents >= component.length)
|
||||
|
@ -340,7 +340,7 @@ public class Container extends Component
|
|||
System.arraycopy(component, 0, c, 0, ncomponents);
|
||||
component = c;
|
||||
}
|
||||
|
||||
|
||||
if (index == -1)
|
||||
component[ncomponents++] = comp;
|
||||
else
|
||||
|
@ -379,8 +379,8 @@ public class Container extends Component
|
|||
// Notify the layout manager.
|
||||
if (layoutMgr != null)
|
||||
{
|
||||
// If we have a LayoutManager2 the constraints are "real",
|
||||
// otherwise they are the "name" of the Component to add.
|
||||
// If we have a LayoutManager2 the constraints are "real",
|
||||
// otherwise they are the "name" of the Component to add.
|
||||
if (layoutMgr instanceof LayoutManager2)
|
||||
{
|
||||
LayoutManager2 lm2 = (LayoutManager2) layoutMgr;
|
||||
|
@ -990,21 +990,21 @@ public class Container extends Component
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns all registered {@link EventListener}s of the given
|
||||
* Returns all registered {@link EventListener}s of the given
|
||||
* <code>listenerType</code>.
|
||||
*
|
||||
* @param listenerType the class of listeners to filter (<code>null</code>
|
||||
* @param listenerType the class of listeners to filter (<code>null</code>
|
||||
* not permitted).
|
||||
*
|
||||
*
|
||||
* @return An array of registered listeners.
|
||||
*
|
||||
*
|
||||
* @throws ClassCastException if <code>listenerType</code> does not implement
|
||||
* the {@link EventListener} interface.
|
||||
* @throws NullPointerException if <code>listenerType</code> is
|
||||
* @throws NullPointerException if <code>listenerType</code> is
|
||||
* <code>null</code>.
|
||||
*
|
||||
*
|
||||
* @see #getContainerListeners()
|
||||
*
|
||||
*
|
||||
* @since 1.3
|
||||
*/
|
||||
public <T extends EventListener> T[] getListeners(Class<T> listenerType)
|
||||
|
@ -1080,11 +1080,11 @@ public class Container extends Component
|
|||
* child component claims the point, the container itself is returned,
|
||||
* unless the point does not exist within this container, in which
|
||||
* case <code>null</code> is returned.
|
||||
*
|
||||
*
|
||||
* When components overlap, the first component is returned. The component
|
||||
* that is closest to (x, y), containing that location, is returned.
|
||||
* that is closest to (x, y), containing that location, is returned.
|
||||
* Heavyweight components take precedence of lightweight components.
|
||||
*
|
||||
*
|
||||
* This function does not ignore invisible components. If there is an invisible
|
||||
* component at (x,y), it will be returned.
|
||||
*
|
||||
|
@ -1133,14 +1133,14 @@ public class Container extends Component
|
|||
* child component claims the point, the container itself is returned,
|
||||
* unless the point does not exist within this container, in which
|
||||
* case <code>null</code> is returned.
|
||||
*
|
||||
*
|
||||
* When components overlap, the first component is returned. The component
|
||||
* that is closest to (x, y), containing that location, is returned.
|
||||
* that is closest to (x, y), containing that location, is returned.
|
||||
* Heavyweight components take precedence of lightweight components.
|
||||
*
|
||||
*
|
||||
* This function does not ignore invisible components. If there is an invisible
|
||||
* component at (x,y), it will be returned.
|
||||
*
|
||||
*
|
||||
* @param x The x position of the point to return the component at.
|
||||
* @param y The y position of the point to return the component at.
|
||||
*
|
||||
|
@ -1155,7 +1155,7 @@ public class Container extends Component
|
|||
{
|
||||
if (!contains (x, y))
|
||||
return null;
|
||||
|
||||
|
||||
// First find the component closest to (x,y) that is a heavyweight.
|
||||
for (int i = 0; i < ncomponents; ++i)
|
||||
{
|
||||
|
@ -1165,7 +1165,7 @@ public class Container extends Component
|
|||
if (comp.contains (x2, y2) && !comp.isLightweight())
|
||||
return comp;
|
||||
}
|
||||
|
||||
|
||||
// if a heavyweight component is not found, look for a lightweight
|
||||
// closest to (x,y).
|
||||
for (int i = 0; i < ncomponents; ++i)
|
||||
|
@ -1176,7 +1176,7 @@ public class Container extends Component
|
|||
if (comp.contains (x2, y2) && comp.isLightweight())
|
||||
return comp;
|
||||
}
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
@ -1190,12 +1190,12 @@ public class Container extends Component
|
|||
* case <code>null</code> is returned.
|
||||
*
|
||||
* The top-most child component is returned in the case where components overlap.
|
||||
* This is determined by finding the component closest to (x,y) and contains
|
||||
* This is determined by finding the component closest to (x,y) and contains
|
||||
* that location. Heavyweight components take precedence of lightweight components.
|
||||
*
|
||||
*
|
||||
* This function does not ignore invisible components. If there is an invisible
|
||||
* component at (x,y), it will be returned.
|
||||
*
|
||||
*
|
||||
* @param p The point to return the component at.
|
||||
* @return The component containing the specified point, or <code>null</code>
|
||||
* if there is no such point.
|
||||
|
@ -1206,19 +1206,19 @@ public class Container extends Component
|
|||
}
|
||||
|
||||
/**
|
||||
* Locates the visible child component that contains the specified position.
|
||||
* Locates the visible child component that contains the specified position.
|
||||
* The top-most child component is returned in the case where there is overlap
|
||||
* in the components. If the containing child component is a Container,
|
||||
* this method will continue searching for the deepest nested child
|
||||
* this method will continue searching for the deepest nested child
|
||||
* component. Components which are not visible are ignored during the search.
|
||||
*
|
||||
* findComponentAt differs from getComponentAt, because it recursively
|
||||
*
|
||||
* findComponentAt differs from getComponentAt, because it recursively
|
||||
* searches a Container's children.
|
||||
*
|
||||
*
|
||||
* @param x - x coordinate
|
||||
* @param y - y coordinate
|
||||
* @return null if the component does not contain the position.
|
||||
* If there is no child component at the requested point and the point is
|
||||
* @return null if the component does not contain the position.
|
||||
* If there is no child component at the requested point and the point is
|
||||
* within the bounds of the container the container itself is returned.
|
||||
*/
|
||||
public Component findComponentAt(int x, int y)
|
||||
|
@ -1252,20 +1252,20 @@ public class Container extends Component
|
|||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Locates the visible child component that contains the specified position.
|
||||
* Locates the visible child component that contains the specified position.
|
||||
* The top-most child component is returned in the case where there is overlap
|
||||
* in the components. If the containing child component is a Container,
|
||||
* this method will continue searching for the deepest nested child
|
||||
* this method will continue searching for the deepest nested child
|
||||
* component. Components which are not visible are ignored during the search.
|
||||
*
|
||||
* findComponentAt differs from getComponentAt, because it recursively
|
||||
*
|
||||
* findComponentAt differs from getComponentAt, because it recursively
|
||||
* searches a Container's children.
|
||||
*
|
||||
*
|
||||
* @param p - the component's location
|
||||
* @return null if the component does not contain the position.
|
||||
* If there is no child component at the requested point and the point is
|
||||
* @return null if the component does not contain the position.
|
||||
* If there is no child component at the requested point and the point is
|
||||
* within the bounds of the container the container itself is returned.
|
||||
*/
|
||||
public Component findComponentAt(Point p)
|
||||
|
@ -1324,10 +1324,10 @@ public class Container extends Component
|
|||
while (true)
|
||||
{
|
||||
if (comp == null)
|
||||
return false;
|
||||
return false;
|
||||
comp = comp.getParent();
|
||||
if (comp == this)
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1401,7 +1401,7 @@ public class Container extends Component
|
|||
* @since 1.4
|
||||
*/
|
||||
public void setFocusTraversalKeys(int id,
|
||||
Set<? extends AWTKeyStroke> keystrokes)
|
||||
Set<? extends AWTKeyStroke> keystrokes)
|
||||
{
|
||||
if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS &&
|
||||
id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS &&
|
||||
|
@ -1495,7 +1495,7 @@ public class Container extends Component
|
|||
|
||||
focusTraversalKeys[id] = keystrokes;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the Set of focus traversal keys for a given traversal operation for
|
||||
* this Container.
|
||||
|
@ -1619,14 +1619,14 @@ public class Container extends Component
|
|||
{
|
||||
Container ancestor = getFocusCycleRootAncestor ();
|
||||
|
||||
if (ancestor != this && ancestor != null)
|
||||
return ancestor.getFocusTraversalPolicy ();
|
||||
else
|
||||
{
|
||||
KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();
|
||||
if (ancestor != this && ancestor != null)
|
||||
return ancestor.getFocusTraversalPolicy ();
|
||||
else
|
||||
{
|
||||
KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();
|
||||
|
||||
return manager.getDefaultFocusTraversalPolicy ();
|
||||
}
|
||||
return manager.getDefaultFocusTraversalPolicy ();
|
||||
}
|
||||
}
|
||||
else
|
||||
return focusTraversalPolicy;
|
||||
|
@ -1692,7 +1692,7 @@ public class Container extends Component
|
|||
* @param b <code>true</code> if this container provides a focus traversal
|
||||
* policy, <code>false</code> when the root container's focus
|
||||
* traversal policy should be used
|
||||
*
|
||||
*
|
||||
* @see #isFocusTraversalPolicyProvider()
|
||||
*
|
||||
* @since 1.5
|
||||
|
@ -1754,7 +1754,7 @@ public class Container extends Component
|
|||
for (int i = 0; i < ncomponents; i++)
|
||||
{
|
||||
if (component[i] instanceof Container)
|
||||
((Container) component[i]).applyComponentOrientation(orientation);
|
||||
((Container) component[i]).applyComponentOrientation(orientation);
|
||||
else
|
||||
component[i].setComponentOrientation(orientation);
|
||||
}
|
||||
|
@ -1892,7 +1892,7 @@ public class Container extends Component
|
|||
Component comp = component[i];
|
||||
boolean applicable = comp.isVisible()
|
||||
&& (comp.isLightweight() || ! lightweightOnly);
|
||||
|
||||
|
||||
if (applicable)
|
||||
visitChild(gfx, visitor, comp);
|
||||
}
|
||||
|
@ -1916,7 +1916,7 @@ public class Container extends Component
|
|||
Component comp)
|
||||
{
|
||||
Rectangle bounds = comp.getBounds();
|
||||
|
||||
|
||||
if(!gfx.hitClip(bounds.x,bounds.y, bounds.width, bounds.height))
|
||||
return;
|
||||
Graphics g2 = gfx.create(bounds.x, bounds.y, bounds.width,
|
||||
|
@ -1939,7 +1939,7 @@ public class Container extends Component
|
|||
*/
|
||||
void dispatchEventImpl(AWTEvent e)
|
||||
{
|
||||
LightweightDispatcher dispatcher = LightweightDispatcher.getInstance();
|
||||
LightweightDispatcher dispatcher = LightweightDispatcher.getInstance();
|
||||
if (! isLightweight() && dispatcher.dispatchEvent(e))
|
||||
{
|
||||
// Some lightweight descendent got this event dispatched. Consume
|
||||
|
@ -1980,11 +1980,11 @@ public class Container extends Component
|
|||
*/
|
||||
boolean eventTypeEnabled(int eventId)
|
||||
{
|
||||
if(eventId <= ContainerEvent.CONTAINER_LAST
|
||||
if(eventId <= ContainerEvent.CONTAINER_LAST
|
||||
&& eventId >= ContainerEvent.CONTAINER_FIRST)
|
||||
return containerListener != null
|
||||
|| (eventMask & AWTEvent.CONTAINER_EVENT_MASK) != 0;
|
||||
else
|
||||
else
|
||||
return super.eventTypeEnabled(eventId);
|
||||
}
|
||||
|
||||
|
@ -2199,7 +2199,7 @@ public class Container extends Component
|
|||
static class GfxPaintVisitor extends GfxVisitor
|
||||
{
|
||||
public static final GfxVisitor INSTANCE = new GfxPaintVisitor();
|
||||
|
||||
|
||||
public void visit(Component c, Graphics gfx)
|
||||
{
|
||||
c.paint(gfx);
|
||||
|
@ -2209,7 +2209,7 @@ public class Container extends Component
|
|||
static class GfxPrintVisitor extends GfxVisitor
|
||||
{
|
||||
public static final GfxVisitor INSTANCE = new GfxPrintVisitor();
|
||||
|
||||
|
||||
public void visit(Component c, Graphics gfx)
|
||||
{
|
||||
c.print(gfx);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* ContainerOrderFocusTraversalPolicy.java --
|
||||
/* ContainerOrderFocusTraversalPolicy.java --
|
||||
Copyright (C) 2002, 2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -108,21 +108,21 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
Container prevAncestor = ancestor;
|
||||
while (ancestor != root)
|
||||
{
|
||||
ancestor = current.getFocusCycleRootAncestor ();
|
||||
if (ancestor == prevAncestor)
|
||||
{
|
||||
ancestor = current.getFocusCycleRootAncestor ();
|
||||
if (ancestor == prevAncestor)
|
||||
{
|
||||
// We've reached the top focus cycle root ancestor. Check
|
||||
// if it is root.
|
||||
if (ancestor == null)
|
||||
ancestor = root;
|
||||
else if (ancestor != root)
|
||||
throw new IllegalArgumentException ("the given container is not"
|
||||
+ " a focus cycle root of the"
|
||||
+ " current component");
|
||||
throw new IllegalArgumentException ("the given container is not"
|
||||
+ " a focus cycle root of the"
|
||||
+ " current component");
|
||||
else
|
||||
break;
|
||||
}
|
||||
prevAncestor = ancestor;
|
||||
}
|
||||
prevAncestor = ancestor;
|
||||
}
|
||||
|
||||
// FIXME: is this the right thing to do here? It moves the context
|
||||
|
@ -151,7 +151,7 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
componentIndex = i;
|
||||
}
|
||||
|
||||
// Search forward for the next acceptable component.
|
||||
// Search forward for the next acceptable component.
|
||||
// Search through all components at least one time
|
||||
// i.e. start at componentIndex + 1 --> nComponents -1 --> 0 ---> componentIndex
|
||||
int i = componentIndex + 1;
|
||||
|
@ -159,24 +159,24 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
Component next = getNextAvailableComponent(components, i, end);
|
||||
if (next != null)
|
||||
return next;
|
||||
|
||||
|
||||
// Now check remainder of components from 0 to componentIndex
|
||||
i = 0;
|
||||
end = componentIndex;
|
||||
next = getNextAvailableComponent(components, i, end);
|
||||
if (next != null)
|
||||
return next;
|
||||
|
||||
return next;
|
||||
|
||||
// No focusable components after current in its Container. So go
|
||||
// to the next Component after current's Container (parent).
|
||||
Component result = getComponentAfter (root, parent);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the next available component in the array between the given range.
|
||||
*
|
||||
*
|
||||
* @param components - the array of components.
|
||||
* @param start - where to start
|
||||
* @param end - where to end
|
||||
|
@ -207,7 +207,7 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
|
||||
/**
|
||||
* Gets the previous available component in the array between the given range.
|
||||
*
|
||||
*
|
||||
* @param components - the array of components.
|
||||
* @param start - where to start
|
||||
* @param end - where to end
|
||||
|
@ -215,7 +215,7 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
*/
|
||||
Component getPrevAvailableComponent(Component[] components, int start, int end)
|
||||
{
|
||||
while (start >= end)
|
||||
while (start >= end)
|
||||
{
|
||||
Component c = components[start];
|
||||
if (c.visible && c.isDisplayable() && c.enabled && c.focusable)
|
||||
|
@ -238,7 +238,7 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
* Returns the Component that should receive the focus before
|
||||
* <code>current</code>. <code>root</code> must be a focus cycle root of
|
||||
* current.
|
||||
*
|
||||
*
|
||||
* @param root a focus cycle root of current
|
||||
* @param current a (possibly indirect) child of root, or root itself
|
||||
* @return the previous Component in the focus traversal order for root, or
|
||||
|
@ -260,21 +260,21 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
Container prevAncestor = ancestor;
|
||||
while (ancestor != root)
|
||||
{
|
||||
ancestor = current.getFocusCycleRootAncestor ();
|
||||
if (ancestor == prevAncestor)
|
||||
{
|
||||
// We've reached the top focus cycle root ancestor. Check
|
||||
// if it is root.
|
||||
ancestor = current.getFocusCycleRootAncestor ();
|
||||
if (ancestor == prevAncestor)
|
||||
{
|
||||
// We've reached the top focus cycle root ancestor. Check
|
||||
// if it is root.
|
||||
if (ancestor == null)
|
||||
ancestor = root;
|
||||
else if (ancestor != root)
|
||||
throw new IllegalArgumentException ("the given container is not"
|
||||
+ " a focus cycle root of the"
|
||||
+ " current component");
|
||||
else
|
||||
break;
|
||||
}
|
||||
prevAncestor = ancestor;
|
||||
throw new IllegalArgumentException ("the given container is not"
|
||||
+ " a focus cycle root of the"
|
||||
+ " current component");
|
||||
else
|
||||
break;
|
||||
}
|
||||
prevAncestor = ancestor;
|
||||
}
|
||||
|
||||
// FIXME: is this the right thing to do here? It moves the context
|
||||
|
@ -311,13 +311,13 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
Component prev = getPrevAvailableComponent(components, i, end);
|
||||
if (prev != null)
|
||||
return prev;
|
||||
|
||||
|
||||
// Now check remainder of components
|
||||
i = numComponents -1;
|
||||
end = componentIndex;
|
||||
prev = getPrevAvailableComponent(components, i, end);
|
||||
if (prev != null)
|
||||
return prev;
|
||||
return prev;
|
||||
|
||||
// No focusable components before current in its Container. So go
|
||||
// to the previous Component before current's Container (parent).
|
||||
|
@ -369,7 +369,7 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
return first;
|
||||
}
|
||||
else if (accept(component))
|
||||
return component;
|
||||
return component;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
@ -399,14 +399,14 @@ public class ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy
|
|||
return root;
|
||||
|
||||
Component[] componentArray = root.getComponents ();
|
||||
|
||||
|
||||
for (int i = componentArray.length - 1; i >= 0; i--)
|
||||
{
|
||||
Component component = componentArray [i];
|
||||
|
||||
if (component.visible && component.isDisplayable() && component.enabled
|
||||
|
||||
if (component.visible && component.isDisplayable() && component.enabled
|
||||
&& component.focusable)
|
||||
return component;
|
||||
return component;
|
||||
|
||||
if (component instanceof Container)
|
||||
{
|
||||
|
|
|
@ -125,7 +125,7 @@ public class Cursor implements java.io.Serializable
|
|||
"North Resize Cursor", "South Resize Cursor",
|
||||
"West Resize Cursor", "East Resize Cursor",
|
||||
"Hand Cursor", "Move Cursor" };
|
||||
|
||||
|
||||
public static final int CUSTOM_CURSOR = 0xFFFFFFFF;
|
||||
|
||||
private static final int PREDEFINED_COUNT = 14;
|
||||
|
@ -154,11 +154,11 @@ public class Cursor implements java.io.Serializable
|
|||
this.type = type;
|
||||
|
||||
name = NAMES[type];
|
||||
|
||||
|
||||
// FIXME: lookup?
|
||||
}
|
||||
|
||||
/** This constructor is used internally only.
|
||||
/** This constructor is used internally only.
|
||||
* Application code should call Toolkit.createCustomCursor().
|
||||
*/
|
||||
protected Cursor(String name)
|
||||
|
@ -233,7 +233,7 @@ public class Cursor implements java.io.Serializable
|
|||
public String toString()
|
||||
{
|
||||
return (this.getClass()
|
||||
+ "[type=" + getType()
|
||||
+ ",name=" + getName() + "]");
|
||||
+ "[type=" + getType()
|
||||
+ ",name=" + getName() + "]");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* DefaultFocusTraversalPolicy.java --
|
||||
/* DefaultFocusTraversalPolicy.java --
|
||||
Copyright (C) 2002, 2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -90,14 +90,14 @@ public class DefaultFocusTraversalPolicy
|
|||
protected boolean accept (Component comp)
|
||||
{
|
||||
if (comp.visible
|
||||
&& comp.isDisplayable ()
|
||||
&& comp.enabled)
|
||||
&& comp.isDisplayable ()
|
||||
&& comp.enabled)
|
||||
{
|
||||
if (comp.isFocusTraversableOverridden != 0
|
||||
&& (comp.isFocusTraversable () || comp.isFocusable()))
|
||||
if (comp.isFocusTraversableOverridden != 0
|
||||
&& (comp.isFocusTraversable () || comp.isFocusable()))
|
||||
return true;
|
||||
|
||||
if (!(comp instanceof Canvas
|
||||
|
||||
if (!(comp instanceof Canvas
|
||||
|| comp instanceof Panel
|
||||
|| comp instanceof Label
|
||||
|| comp instanceof ScrollPane
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* DefaultKeyboardFocusManager.java --
|
||||
/* DefaultKeyboardFocusManager.java --
|
||||
Copyright (C) 2002, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -146,7 +146,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager
|
|||
*/
|
||||
private AWTKeyStroke waitForKeyStroke = null;
|
||||
|
||||
/** The {@link java.util.SortedSet} of current
|
||||
/** The {@link java.util.SortedSet} of current
|
||||
* {@link EventDelayRequest}s. */
|
||||
private SortedSet delayRequests = new TreeSet ();
|
||||
|
||||
|
@ -339,9 +339,9 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager
|
|||
Component focusOwner = getFocusOwner();
|
||||
if (focusOwner == null)
|
||||
focusOwner = getFocusedWindow();
|
||||
|
||||
|
||||
if (focusOwner != null)
|
||||
redispatchEvent(focusOwner, e);
|
||||
redispatchEvent(focusOwner, e);
|
||||
|
||||
// Loop through all registered KeyEventPostProcessors, giving
|
||||
// each a chance to process this event.
|
||||
|
@ -358,7 +358,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager
|
|||
// MenuShortcut.
|
||||
if (postProcessKeyEvent (e))
|
||||
return true;
|
||||
|
||||
|
||||
// Always return true.
|
||||
return true;
|
||||
}
|
||||
|
@ -469,26 +469,26 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager
|
|||
|
||||
if (forwardKeystrokes.contains (eventKeystroke))
|
||||
{
|
||||
waitForKeyStroke = oppositeKeystroke;
|
||||
waitForKeyStroke = oppositeKeystroke;
|
||||
focusNextComponent (comp);
|
||||
e.consume ();
|
||||
}
|
||||
else if (backwardKeystrokes.contains (eventKeystroke))
|
||||
{
|
||||
waitForKeyStroke = oppositeKeystroke;
|
||||
waitForKeyStroke = oppositeKeystroke;
|
||||
focusPreviousComponent (comp);
|
||||
e.consume ();
|
||||
}
|
||||
else if (upKeystrokes.contains (eventKeystroke))
|
||||
{
|
||||
waitForKeyStroke = oppositeKeystroke;
|
||||
waitForKeyStroke = oppositeKeystroke;
|
||||
upFocusCycle (comp);
|
||||
e.consume ();
|
||||
}
|
||||
else if (comp instanceof Container
|
||||
&& downKeystrokes.contains (eventKeystroke))
|
||||
{
|
||||
waitForKeyStroke = oppositeKeystroke;
|
||||
waitForKeyStroke = oppositeKeystroke;
|
||||
downFocusCycle ((Container) comp);
|
||||
e.consume ();
|
||||
}
|
||||
|
|
|
@ -53,11 +53,11 @@ import java.net.URI;
|
|||
* specified file type. For example, opening an odf file results in launching
|
||||
* OpenOffice. If an operation is not supported, or the application fails to
|
||||
* launch, an exception is generated.
|
||||
*
|
||||
*
|
||||
* <strong>Implementation note: </strong>As this class is used to manage Desktop
|
||||
* integration, we provide some extension to configure the behaviour of this
|
||||
* class depending on the type of dektop that is detected.<br />
|
||||
*
|
||||
*
|
||||
* First of all, we support 5 system properties that can be used to define
|
||||
* the application to launch in any given case. These properties are:<br />
|
||||
* <br />
|
||||
|
@ -91,8 +91,8 @@ import java.net.URI;
|
|||
* <br /><br />
|
||||
* <code>
|
||||
* gconftool-2 -g /apps/classpath/gnu/java/awt/peer/Desktop/html/command
|
||||
* </code>
|
||||
*
|
||||
* </code>
|
||||
*
|
||||
* @author Mario Torre <neugens@limasoftware.net>
|
||||
* @since 1.6
|
||||
*/
|
||||
|
@ -100,11 +100,11 @@ public class Desktop
|
|||
{
|
||||
/**
|
||||
* Represents an action type supported by a platform.
|
||||
*
|
||||
*
|
||||
* To determine if a given action is supported by the platform,
|
||||
* use the <code>Desktop.isSupported(java.awt.Desktop.Action)</code>
|
||||
* method.
|
||||
*
|
||||
*
|
||||
* @author Mario Torre <neugens@limasoftware.net>
|
||||
*/
|
||||
public enum Action
|
||||
|
@ -118,15 +118,15 @@ public class Desktop
|
|||
{
|
||||
/* nothing to be done */
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns an instance of the Desktop Class.
|
||||
*
|
||||
* If this implementation does not support Desktop, an
|
||||
*
|
||||
* If this implementation does not support Desktop, an
|
||||
* UnsupportedOperationException will be thrown.
|
||||
* Also, an HeadlessException will be generated if
|
||||
* GraphicsEnvironment.isHeadless() returns true.
|
||||
*
|
||||
*
|
||||
* @throws UnsupportedOperationException
|
||||
* @throws HeadlessException
|
||||
*/
|
||||
|
@ -135,23 +135,23 @@ public class Desktop
|
|||
{
|
||||
if (GraphicsEnvironment.isHeadless())
|
||||
throw new HeadlessException();
|
||||
|
||||
|
||||
if (!Desktop.isDesktopSupported())
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
|
||||
Desktop desktop = new Desktop();
|
||||
desktop.peer = Toolkit.getDefaultToolkit().createDesktopPeer(desktop);
|
||||
|
||||
|
||||
return desktop;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if this implementation supports Desktop.
|
||||
* If true, use getDesktop to get an instance of this class.
|
||||
*
|
||||
*
|
||||
* This implementation will return false when GraphicsEnvironment.isHeadless
|
||||
* returns true.
|
||||
*
|
||||
*
|
||||
* @return true if this class is supported on the current platform;
|
||||
* false otherwise
|
||||
*/
|
||||
|
@ -159,13 +159,13 @@ public class Desktop
|
|||
{
|
||||
if (GraphicsEnvironment.isHeadless())
|
||||
return false;
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if the given Action is supported by this implementation.
|
||||
*
|
||||
*
|
||||
* @param action
|
||||
* @return
|
||||
*/
|
||||
|
@ -173,14 +173,14 @@ public class Desktop
|
|||
{
|
||||
return peer.isSupported(action);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Launches the Desktop default browser to open the given <code>uri</code>.
|
||||
*
|
||||
*
|
||||
* If a security manager exists and denies
|
||||
* AWTPermission("showWindowWithoutWarningBanner"),a SecurityException will
|
||||
* be generated.
|
||||
*
|
||||
*
|
||||
* @param uri
|
||||
* @throws IOException
|
||||
*/
|
||||
|
@ -189,16 +189,16 @@ public class Desktop
|
|||
{
|
||||
peer.browse(uri);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Launch the edit command to edit this file.
|
||||
* File should already exist before the editing starts.
|
||||
*
|
||||
* File should already exist before the editing starts.
|
||||
*
|
||||
* If a security manager exists and
|
||||
* SecurityManager.checkRead(java.lang.String) method denies read access to
|
||||
* the file, or SecurityManager.checkPrintJobAccess() method denies the
|
||||
* permission to print the file, a SecurityException will be generated.
|
||||
*
|
||||
*
|
||||
* @param file
|
||||
* @throws IOException
|
||||
*/
|
||||
|
@ -207,10 +207,10 @@ public class Desktop
|
|||
{
|
||||
peer.edit(file);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Launches the Desktop default mailer.
|
||||
*
|
||||
*
|
||||
* If a security manager exists and denies
|
||||
* AWTPermission("showWindowWithoutWarningBanner"), a SecurityException will
|
||||
* be generated.
|
||||
|
@ -222,16 +222,16 @@ public class Desktop
|
|||
{
|
||||
peer.mail();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Launches the Desktop default mailer, with the given mailtoURI
|
||||
* as agrument. The <code>mailtoURI</code> must conform to the
|
||||
* {@link http://www.ietf.org/rfc/rfc2368.txt The mailto URL scheme (RFC 2368)}
|
||||
*
|
||||
* {@link http://www.ietf.org/rfc/rfc2368.txt The mailto URL scheme (RFC 2368)}
|
||||
*
|
||||
* If a security manager exists and denies
|
||||
* AWTPermission("showWindowWithoutWarningBanner"), a SecurityException will
|
||||
* be generated.
|
||||
*
|
||||
*
|
||||
* @param mailtoURI
|
||||
* @throws IOException
|
||||
*/
|
||||
|
@ -240,11 +240,11 @@ public class Desktop
|
|||
{
|
||||
peer.mail(mailtoURI);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Launches the Desktop default application to open the given File.
|
||||
* If <code>file</code> is a directory, a file manager is launched.
|
||||
*
|
||||
*
|
||||
* @param file
|
||||
* @throws IOException
|
||||
*/
|
||||
|
@ -256,7 +256,7 @@ public class Desktop
|
|||
|
||||
/**
|
||||
* Launch the print program to print this file.
|
||||
*
|
||||
*
|
||||
* @param file
|
||||
* @throws IOException
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Dialog.java -- An AWT dialog box
|
||||
Copyright (C) 1999, 2000, 2001, 2002, 2005, 2006
|
||||
Copyright (C) 1999, 2000, 2001, 2002, 2005, 2006
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -47,15 +47,15 @@ import javax.accessibility.AccessibleState;
|
|||
import javax.accessibility.AccessibleStateSet;
|
||||
|
||||
/**
|
||||
* <code>Dialog</code> provides a top-level window normally used to receive
|
||||
* <code>Dialog</code> provides a top-level window normally used to receive
|
||||
* user input in applications.
|
||||
* <p>
|
||||
* A dialog always has another top-level window as owner and is only visible
|
||||
* if this owner is visible to the user. The default layout of dialogs is the
|
||||
* if this owner is visible to the user. The default layout of dialogs is the
|
||||
* <code>BorderLayout</code>. Dialogs can be modal (blocks user input to other
|
||||
* components) or non-modal (user input in other components are allowed).
|
||||
* </p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
* @author Tom Tromey (tromey@redhat.com)
|
||||
*/
|
||||
|
@ -106,7 +106,7 @@ public class Dialog extends Window
|
|||
private boolean blocked = false;
|
||||
|
||||
/**
|
||||
* Secondary EventQueue to handle AWT events while we are blocked for
|
||||
* Secondary EventQueue to handle AWT events while we are blocked for
|
||||
* modality in show.
|
||||
*/
|
||||
private EventQueue eq2 = null;
|
||||
|
@ -119,10 +119,10 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Initializes a new instance of <code>Dialog</code> with the specified
|
||||
* parent, that is resizable and not modal, and which has no title.
|
||||
*
|
||||
*
|
||||
* @param parent The parent frame of this dialog box.
|
||||
* @exception IllegalArgumentException If the owner's GraphicsConfiguration
|
||||
* is not from a screen device, or if owner is null. This exception is
|
||||
* @exception IllegalArgumentException If the owner's GraphicsConfiguration
|
||||
* is not from a screen device, or if owner is null. This exception is
|
||||
* always thrown when GraphicsEnvironment.isHeadless() returns true.
|
||||
*/
|
||||
public Dialog(Frame parent)
|
||||
|
@ -133,13 +133,13 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Initializes a new instance of <code>Dialog</code> with the specified
|
||||
* parent and modality, that is resizable and which has no title.
|
||||
*
|
||||
*
|
||||
* @param parent The parent frame of this dialog box.
|
||||
* @param modal <code>true</code> if this dialog box is modal,
|
||||
* <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If the owner's GraphicsConfiguration
|
||||
* is not from a screen device, or if owner is null. This exception is
|
||||
* is not from a screen device, or if owner is null. This exception is
|
||||
* always thrown when GraphicsEnvironment.isHeadless() returns true.
|
||||
*/
|
||||
public Dialog(Frame parent, boolean modal)
|
||||
|
@ -149,14 +149,14 @@ public class Dialog extends Window
|
|||
|
||||
/**
|
||||
* Initializes a new instance of <code>Dialog</code> with the specified
|
||||
* parent, that is resizable and not modal, and which has the specified
|
||||
* parent, that is resizable and not modal, and which has the specified
|
||||
* title.
|
||||
*
|
||||
*
|
||||
* @param parent The parent frame of this dialog box.
|
||||
* @param title The title string for this dialog box.
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If the owner's GraphicsConfiguration
|
||||
* is not from a screen device, or if owner is null. This exceptionnis
|
||||
* is not from a screen device, or if owner is null. This exceptionnis
|
||||
* always thrown when GraphicsEnvironment.isHeadless() returns true.
|
||||
*/
|
||||
public Dialog(Frame parent, String title)
|
||||
|
@ -167,12 +167,12 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Initializes a new instance of <code>Dialog</code> with the specified,
|
||||
* parent, title, and modality, that is resizable.
|
||||
*
|
||||
*
|
||||
* @param parent The parent frame of this dialog box.
|
||||
* @param title The title string for this dialog box.
|
||||
* @param modal <code>true</code> if this dialog box is modal,
|
||||
* <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If owner is null or
|
||||
* GraphicsEnvironment.isHeadless() returns true.
|
||||
*/
|
||||
|
@ -185,15 +185,15 @@ public class Dialog extends Window
|
|||
* Initializes a new instance of <code>Dialog</code> with the specified,
|
||||
* parent, title, modality and <code>GraphicsConfiguration</code>, that is
|
||||
* resizable.
|
||||
*
|
||||
*
|
||||
* @param parent The parent frame of this dialog box.
|
||||
* @param title The title string for this dialog box.
|
||||
* @param modal <code>true</code> if this dialog box is modal,
|
||||
* <code>false</code> otherwise.
|
||||
* @param gc The <code>GraphicsConfiguration</code> object to use. If
|
||||
* <code>null</code> the <code>GraphicsConfiguration</code> of the target
|
||||
* @param gc The <code>GraphicsConfiguration</code> object to use. If
|
||||
* <code>null</code> the <code>GraphicsConfiguration</code> of the target
|
||||
* frame is used.
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If owner is null, the
|
||||
* GraphicsConfiguration is not a screen device or
|
||||
* GraphicsEnvironment.isHeadless() returns true.
|
||||
|
@ -216,12 +216,12 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Initializes a new instance of <code>Dialog</code> with the specified,
|
||||
* parent, that is resizable.
|
||||
*
|
||||
*
|
||||
* @param owner The parent frame of this dialog box.
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If parent is null. This exception is
|
||||
* always thrown when GraphicsEnvironment.isHeadless() returns true.
|
||||
*
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
public Dialog(Dialog owner)
|
||||
|
@ -232,10 +232,10 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Initializes a new instance of <code>Dialog</code> with the specified,
|
||||
* parent and title, that is resizable.
|
||||
*
|
||||
*
|
||||
* @param owner The parent frame of this dialog box.
|
||||
* @param title The title string for this dialog box.
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If parent is null. This exception is
|
||||
* always thrown when GraphicsEnvironment.isHeadless() returns
|
||||
* true.
|
||||
|
@ -249,12 +249,12 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Initializes a new instance of <code>Dialog</code> with the specified,
|
||||
* parent, title and modality, that is resizable.
|
||||
*
|
||||
*
|
||||
* @param owner The parent frame of this dialog box.
|
||||
* @param title The title string for this dialog box.
|
||||
* @param modal <code>true</code> if this dialog box is modal,
|
||||
* <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If parent is null. This exception is
|
||||
* always thrown when GraphicsEnvironment.isHeadless() returns true.
|
||||
* @since 1.2
|
||||
|
@ -268,19 +268,19 @@ public class Dialog extends Window
|
|||
* Initializes a new instance of <code>Dialog</code> with the specified,
|
||||
* parent, title, modality and <code>GraphicsConfiguration</code>, that is
|
||||
* resizable.
|
||||
*
|
||||
*
|
||||
* @param parent The parent frame of this dialog box.
|
||||
* @param title The title string for this dialog box.
|
||||
* @param modal <code>true</code> if this dialog box is modal,
|
||||
* <code>false</code> otherwise.
|
||||
* @param gc The <code>GraphicsConfiguration</code> object to use. If
|
||||
* <code>null</code> the <code>GraphicsConfiguration</code> of the target
|
||||
* @param gc The <code>GraphicsConfiguration</code> object to use. If
|
||||
* <code>null</code> the <code>GraphicsConfiguration</code> of the target
|
||||
* frame is used.
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If parent is null, the
|
||||
* GraphicsConfiguration is not a screen device or
|
||||
* GraphicsConfiguration is not a screen device or
|
||||
* GraphicsEnvironment.isHeadless() returns true.
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public Dialog(Dialog parent, String title, boolean modal,
|
||||
|
@ -299,7 +299,7 @@ public class Dialog extends Window
|
|||
|
||||
/**
|
||||
* Returns the title of this dialog box.
|
||||
*
|
||||
*
|
||||
* @return The title of this dialog box.
|
||||
*/
|
||||
public String getTitle()
|
||||
|
@ -309,7 +309,7 @@ public class Dialog extends Window
|
|||
|
||||
/**
|
||||
* Sets the title of this dialog box to the specified string.
|
||||
*
|
||||
*
|
||||
* @param title the new title. If <code>null</code> an empty
|
||||
* title will be set.
|
||||
*/
|
||||
|
@ -327,7 +327,7 @@ public class Dialog extends Window
|
|||
|
||||
/**
|
||||
* Tests whether or not this dialog box is modal.
|
||||
*
|
||||
*
|
||||
* @return <code>true</code> if this dialog box is modal, <code>false</code>
|
||||
* otherwise.
|
||||
*/
|
||||
|
@ -339,9 +339,9 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Changes the modality of this dialog box. This can only be done before the
|
||||
* peer is created.
|
||||
*
|
||||
*
|
||||
* @param modal <code>true</code> to make this dialog box modal,
|
||||
* <code>false</code> to make it non-modal.
|
||||
* <code>false</code> to make it non-modal.
|
||||
*/
|
||||
public void setModal(boolean modal)
|
||||
{
|
||||
|
@ -350,7 +350,7 @@ public class Dialog extends Window
|
|||
|
||||
/**
|
||||
* Tests whether or not this dialog box is resizable.
|
||||
*
|
||||
*
|
||||
* @return <code>true</code> if this dialog is resizable,
|
||||
* <code>false</code> otherwise.
|
||||
*/
|
||||
|
@ -361,7 +361,7 @@ public class Dialog extends Window
|
|||
|
||||
/**
|
||||
* Changes the resizability of this dialog box.
|
||||
*
|
||||
*
|
||||
* @param resizable <code>true</code> to make this dialog resizable,
|
||||
* <code>false</code> to make it non-resizable.
|
||||
*/
|
||||
|
@ -391,7 +391,7 @@ public class Dialog extends Window
|
|||
* dialog is hidden by someone calling hide or dispose. If this is the event
|
||||
* dispatching thread we must ensure that another event thread runs while the
|
||||
* one which invoked this method is blocked.
|
||||
*
|
||||
*
|
||||
* @deprecated Use {@link Component#setVisible(boolean)} instead.
|
||||
*/
|
||||
public synchronized void show()
|
||||
|
@ -438,7 +438,7 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Hides the Dialog and then causes show() to return if it is currently
|
||||
* blocked.
|
||||
*
|
||||
*
|
||||
* @deprecated Use {@link Component#setVisible(boolean)} instead.
|
||||
*/
|
||||
public synchronized void hide()
|
||||
|
@ -467,7 +467,7 @@ public class Dialog extends Window
|
|||
|
||||
/**
|
||||
* Returns a debugging string for this component.
|
||||
*
|
||||
*
|
||||
* @return A debugging string for this component.
|
||||
*/
|
||||
protected String paramString()
|
||||
|
@ -478,10 +478,10 @@ public class Dialog extends Window
|
|||
|
||||
/**
|
||||
* Returns whether this frame is undecorated or not.
|
||||
*
|
||||
*
|
||||
* @return <code>true</code> if this dialog is undecorated,
|
||||
* <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public boolean isUndecorated()
|
||||
|
@ -492,10 +492,10 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Disables or enables decorations for this frame. This method can only be
|
||||
* called while the frame is not displayable.
|
||||
*
|
||||
*
|
||||
* @param undecorated <code>true</code> to disable dialog decorations,
|
||||
* <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @exception IllegalComponentStateException If this frame is displayable.
|
||||
* @since 1.4
|
||||
*/
|
||||
|
@ -517,7 +517,7 @@ public class Dialog extends Window
|
|||
|
||||
/**
|
||||
* Gets the role of this object.
|
||||
* @return AccessibleRole.DIALOG
|
||||
* @return AccessibleRole.DIALOG
|
||||
*/
|
||||
public AccessibleRole getAccessibleRole()
|
||||
{
|
||||
|
@ -542,7 +542,7 @@ public class Dialog extends Window
|
|||
/**
|
||||
* Gets the AccessibleContext associated with this <code>Dialog</code>. The
|
||||
* context is created, if necessary.
|
||||
*
|
||||
*
|
||||
* @return the associated context
|
||||
*/
|
||||
public AccessibleContext getAccessibleContext()
|
||||
|
@ -552,7 +552,7 @@ public class Dialog extends Window
|
|||
accessibleContext = new AccessibleAWTDialog();
|
||||
return accessibleContext;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>Dialog</code>.
|
||||
*
|
||||
|
|
|
@ -147,9 +147,9 @@ public final class DisplayMode
|
|||
public boolean equals (DisplayMode dm)
|
||||
{
|
||||
return (width == dm.width
|
||||
&& height == dm.height
|
||||
&& bitDepth == dm.bitDepth
|
||||
&& refreshRate == dm.refreshRate);
|
||||
&& height == dm.height
|
||||
&& bitDepth == dm.bitDepth
|
||||
&& refreshRate == dm.refreshRate);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -115,10 +115,10 @@ public class Event implements java.io.Serializable
|
|||
|
||||
public Object arg;
|
||||
public int clickCount;
|
||||
boolean consumed; // Required by serialization spec.
|
||||
boolean consumed; // Required by serialization spec.
|
||||
public Event evt;
|
||||
public int id;
|
||||
public int key;
|
||||
public int key;
|
||||
public int modifiers;
|
||||
public Object target;
|
||||
public long when;
|
||||
|
@ -131,9 +131,9 @@ public class Event implements java.io.Serializable
|
|||
this.target = target;
|
||||
this.arg = arg;
|
||||
}
|
||||
|
||||
public Event (Object target, long when, int id, int x, int y, int key,
|
||||
int modifiers)
|
||||
|
||||
public Event (Object target, long when, int id, int x, int y, int key,
|
||||
int modifiers)
|
||||
{
|
||||
this.target = target;
|
||||
this.when = when;
|
||||
|
@ -144,8 +144,8 @@ public class Event implements java.io.Serializable
|
|||
this.modifiers = modifiers;
|
||||
}
|
||||
|
||||
public Event (Object target, long when, int id, int x, int y, int key,
|
||||
int modifiers, Object arg)
|
||||
public Event (Object target, long when, int id, int x, int y, int key,
|
||||
int modifiers, Object arg)
|
||||
{
|
||||
this (target, when, id, x, y, key, modifiers);
|
||||
this.arg = arg;
|
||||
|
@ -167,7 +167,7 @@ public class Event implements java.io.Serializable
|
|||
+ ",target=" + target + ",arg=" + arg;
|
||||
}
|
||||
|
||||
public boolean shiftDown()
|
||||
public boolean shiftDown()
|
||||
{
|
||||
return ((modifiers & SHIFT_MASK) == 0 ? false : true);
|
||||
}
|
||||
|
|
|
@ -65,8 +65,8 @@ class EventDispatchThread extends Thread
|
|||
System.getProperty("gnu.awt.dispatchthread.priority");
|
||||
if (priorityString != null)
|
||||
{
|
||||
priority = Integer.parseInt(priorityString);
|
||||
}
|
||||
priority = Integer.parseInt(priorityString);
|
||||
}
|
||||
}
|
||||
catch (NumberFormatException ex)
|
||||
{
|
||||
|
@ -83,25 +83,25 @@ class EventDispatchThread extends Thread
|
|||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
AWTEvent evt = queue.getNextEvent();
|
||||
{
|
||||
AWTEvent evt = queue.getNextEvent();
|
||||
queue.dispatchEvent(evt);
|
||||
}
|
||||
}
|
||||
catch (ThreadDeath death)
|
||||
{
|
||||
// If someone wants to kill us, let them.
|
||||
return;
|
||||
}
|
||||
catch (InterruptedException ie)
|
||||
{
|
||||
// We are interrupted when we should finish executing
|
||||
return;
|
||||
}
|
||||
catch (Throwable x)
|
||||
{
|
||||
System.err.println("Exception during event dispatch:");
|
||||
x.printStackTrace(System.err);
|
||||
}
|
||||
catch (InterruptedException ie)
|
||||
{
|
||||
// We are interrupted when we should finish executing
|
||||
return;
|
||||
}
|
||||
catch (Throwable x)
|
||||
{
|
||||
System.err.println("Exception during event dispatch:");
|
||||
x.printStackTrace(System.err);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,8 +51,8 @@ import java.awt.peer.LightweightPeer;
|
|||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.EmptyStackException;
|
||||
|
||||
/* Written using on-line Java 2 Platform Standard Edition v1.3 API
|
||||
* Specification, as well as "The Java Class Libraries", 2nd edition
|
||||
/* Written using on-line Java 2 Platform Standard Edition v1.3 API
|
||||
* Specification, as well as "The Java Class Libraries", 2nd edition
|
||||
* (Addison-Wesley, 1998).
|
||||
* Status: Believed complete, but untested.
|
||||
*/
|
||||
|
@ -225,9 +225,9 @@ public class EventQueue
|
|||
* is interrupted.
|
||||
*
|
||||
* @return The next event in the queue.
|
||||
* @specnote Does not block. Returns null if there are no events on the
|
||||
* queue.
|
||||
*/
|
||||
* @specnote Does not block. Returns null if there are no events on the
|
||||
* queue.
|
||||
*/
|
||||
public synchronized AWTEvent peekEvent()
|
||||
{
|
||||
if (next != null)
|
||||
|
@ -246,9 +246,9 @@ public class EventQueue
|
|||
*
|
||||
* @return The next event in the queue.
|
||||
*
|
||||
* @specnote Does not block. Returns null if there are no matching events
|
||||
* on the queue.
|
||||
*/
|
||||
* @specnote Does not block. Returns null if there are no matching events
|
||||
* on the queue.
|
||||
*/
|
||||
public synchronized AWTEvent peekEvent(int id)
|
||||
{
|
||||
if (next != null)
|
||||
|
@ -306,7 +306,7 @@ public class EventQueue
|
|||
* Actually performs the event posting. This is needed because the
|
||||
* RI doesn't use the public postEvent() method when transferring events
|
||||
* between event queues in push() and pop().
|
||||
*
|
||||
*
|
||||
* @param evt the event to post
|
||||
* @param priority the priority of the event
|
||||
*/
|
||||
|
@ -342,7 +342,7 @@ public class EventQueue
|
|||
Object src = qevt.getSource();
|
||||
if (qevt.id == evt.id && src == comp)
|
||||
{
|
||||
// If there are, call coalesceEvents on the source component
|
||||
// If there are, call coalesceEvents on the source component
|
||||
// to see if they can be combined.
|
||||
Component srccmp = (Component) src;
|
||||
AWTEvent coalescedEvt = srccmp.coalesceEvents(qevt, evt);
|
||||
|
@ -414,7 +414,7 @@ public class EventQueue
|
|||
if (isDispatchThread ())
|
||||
throw new Error("Can't call invokeAndWait from event dispatch thread");
|
||||
|
||||
EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
|
||||
EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
|
||||
Object notifyObject = new Object();
|
||||
|
||||
InvocationEvent ie =
|
||||
|
@ -441,9 +441,9 @@ public class EventQueue
|
|||
*/
|
||||
public static void invokeLater(Runnable runnable)
|
||||
{
|
||||
EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
|
||||
EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
|
||||
|
||||
InvocationEvent ie =
|
||||
InvocationEvent ie =
|
||||
new InvocationEvent(eq, runnable, null, false);
|
||||
|
||||
eq.postEvent(ie);
|
||||
|
@ -456,8 +456,8 @@ public class EventQueue
|
|||
public static boolean isDispatchThread()
|
||||
{
|
||||
EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
|
||||
|
||||
/* Find last EventQueue in chain */
|
||||
|
||||
/* Find last EventQueue in chain */
|
||||
while (eq.next != null)
|
||||
eq = eq.next;
|
||||
|
||||
|
@ -473,11 +473,11 @@ public class EventQueue
|
|||
*/
|
||||
public static AWTEvent getCurrentEvent()
|
||||
{
|
||||
EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
|
||||
EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
|
||||
Thread ct = Thread.currentThread();
|
||||
|
||||
|
||||
/* Find out if this thread is the dispatch thread for any of the
|
||||
EventQueues in the chain */
|
||||
EventQueues in the chain */
|
||||
while (ct != eq.dispatchThread)
|
||||
{
|
||||
// Try next EventQueue, if any
|
||||
|
@ -490,7 +490,7 @@ public class EventQueue
|
|||
}
|
||||
|
||||
/**
|
||||
* Allows a custom EventQueue implementation to replace this one.
|
||||
* Allows a custom EventQueue implementation to replace this one.
|
||||
* All pending events are transferred to the new queue. Calls to postEvent,
|
||||
* getNextEvent, and peekEvent and others are forwarded to the pushed queue
|
||||
* until it is removed with a pop().
|
||||
|
@ -650,7 +650,7 @@ public class EventQueue
|
|||
*/
|
||||
public static long getMostRecentEventTime()
|
||||
{
|
||||
EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
|
||||
EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();
|
||||
if (Thread.currentThread() != eq.dispatchThread)
|
||||
return System.currentTimeMillis();
|
||||
return eq.lastWhen;
|
||||
|
|
|
@ -90,7 +90,7 @@ private String file;
|
|||
private FilenameFilter filter;
|
||||
|
||||
/**
|
||||
* @serial The mode of this dialog, either <code>LOAD</code> or
|
||||
* @serial The mode of this dialog, either <code>LOAD</code> or
|
||||
* <code>SAVE</code>.
|
||||
*/
|
||||
private int mode;
|
||||
|
@ -109,41 +109,41 @@ private static transient long next_file_dialog_number;
|
|||
/**
|
||||
* Initializes a new instance of <code>FileDialog</code> with the specified
|
||||
* parent. This dialog will have no title and will be for loading a file.
|
||||
*
|
||||
*
|
||||
* @param parent The parent dialog for this.
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public FileDialog(Dialog parent)
|
||||
{
|
||||
this(parent, "", LOAD);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Initialized a new instance of <code>FileDialog</code> with the
|
||||
* specified parent and title. This dialog will be for opening a file.
|
||||
*
|
||||
* @param parent The parent dialog for this.
|
||||
* @param title The title for this dialog.
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public FileDialog(Dialog parent, String title)
|
||||
{
|
||||
this(parent, title, LOAD);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Initialized a new instance of <code>FileDialog</code> with the specified
|
||||
* parent, title, and mode.
|
||||
*
|
||||
*
|
||||
* @param parent The parent dialog for this.
|
||||
* @param title The title for this dialog.
|
||||
* @param mode The mode of the dialog, either <code>LOAD</code> or
|
||||
* <code>SAVE</code>.
|
||||
* @throws IllegalArgumentException - if illegal mode, if
|
||||
* GraphicsEnvironment.isHeadless or if parent is null.
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public FileDialog(Dialog parent, String title, int mode)
|
||||
|
@ -154,12 +154,12 @@ private static transient long next_file_dialog_number;
|
|||
if (mode != LOAD && mode != SAVE)
|
||||
throw new IllegalArgumentException (
|
||||
"Mode argument must be either LOAD or SAVE");
|
||||
|
||||
|
||||
setMode(mode);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes a new instance of <code>FileDialog</code> with the
|
||||
* Initializes a new instance of <code>FileDialog</code> with the
|
||||
* specified parent. This dialog will have no title and will be for
|
||||
* loading a file.
|
||||
*
|
||||
|
@ -204,7 +204,7 @@ public
|
|||
FileDialog(Frame parent, String title, int mode)
|
||||
{
|
||||
super(parent, title, true);
|
||||
|
||||
|
||||
if ((mode != LOAD) && (mode != SAVE))
|
||||
throw new IllegalArgumentException (
|
||||
"Mode argument must be either LOAD or SAVE");
|
||||
|
@ -309,7 +309,7 @@ setFile(String file)
|
|||
this.file = null;
|
||||
else
|
||||
this.file = file;
|
||||
|
||||
|
||||
if (peer != null)
|
||||
{
|
||||
FileDialogPeer f = (FileDialogPeer) peer;
|
||||
|
@ -372,7 +372,7 @@ protected String
|
|||
paramString()
|
||||
{
|
||||
return ("dir=" + dir + ",file=" + file +
|
||||
",mode=" + mode + "," + super.paramString());
|
||||
",mode=" + mode + "," + super.paramString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -380,17 +380,16 @@ paramString()
|
|||
*
|
||||
* @return A unique name for this <code>FileDialog</code>.
|
||||
*/
|
||||
String
|
||||
String
|
||||
generateName()
|
||||
{
|
||||
return "filedlg" + getUniqueLong();
|
||||
}
|
||||
|
||||
private static synchronized long
|
||||
private static synchronized long
|
||||
getUniqueLong()
|
||||
{
|
||||
return next_file_dialog_number++;
|
||||
}
|
||||
|
||||
} // class FileDialog
|
||||
|
||||
} // class FileDialog
|
||||
|
|
|
@ -73,7 +73,7 @@ public class FlowLayout implements LayoutManager, Serializable
|
|||
* does nothing.
|
||||
*
|
||||
* @param name the name
|
||||
* @param comp the component
|
||||
* @param comp the component
|
||||
*/
|
||||
public void addLayoutComponent (String name, Component comp)
|
||||
{
|
||||
|
@ -155,78 +155,78 @@ public class FlowLayout implements LayoutManager, Serializable
|
|||
{
|
||||
synchronized (parent.getTreeLock ())
|
||||
{
|
||||
int num = parent.getComponentCount ();
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
int num = parent.getComponentCount ();
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
|
||||
Dimension d = parent.getSize ();
|
||||
Insets ins = parent.getInsets ();
|
||||
Dimension d = parent.getSize ();
|
||||
Insets ins = parent.getInsets ();
|
||||
|
||||
ComponentOrientation orient = parent.getComponentOrientation ();
|
||||
boolean left_to_right = orient.isLeftToRight ();
|
||||
ComponentOrientation orient = parent.getComponentOrientation ();
|
||||
boolean left_to_right = orient.isLeftToRight ();
|
||||
|
||||
int y = ins.top + vgap;
|
||||
int i = 0;
|
||||
while (i < num)
|
||||
{
|
||||
// Find the components which go in the current row.
|
||||
int new_w = ins.left + hgap + ins.right;
|
||||
int new_h = 0;
|
||||
int j;
|
||||
boolean found_one = false;
|
||||
for (j = i; j < num; ++j)
|
||||
{
|
||||
// Skip invisible items.
|
||||
if (! comps[j].visible)
|
||||
continue;
|
||||
int y = ins.top + vgap;
|
||||
int i = 0;
|
||||
while (i < num)
|
||||
{
|
||||
// Find the components which go in the current row.
|
||||
int new_w = ins.left + hgap + ins.right;
|
||||
int new_h = 0;
|
||||
int j;
|
||||
boolean found_one = false;
|
||||
for (j = i; j < num; ++j)
|
||||
{
|
||||
// Skip invisible items.
|
||||
if (! comps[j].visible)
|
||||
continue;
|
||||
|
||||
Dimension c = comps[j].getPreferredSize ();
|
||||
Dimension c = comps[j].getPreferredSize ();
|
||||
|
||||
int next_w = new_w + hgap + c.width;
|
||||
if (next_w <= d.width || ! found_one)
|
||||
{
|
||||
new_w = next_w;
|
||||
new_h = Math.max (new_h, c.height);
|
||||
found_one = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Must start a new row, and we already found an item
|
||||
break;
|
||||
}
|
||||
}
|
||||
int next_w = new_w + hgap + c.width;
|
||||
if (next_w <= d.width || ! found_one)
|
||||
{
|
||||
new_w = next_w;
|
||||
new_h = Math.max (new_h, c.height);
|
||||
found_one = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Must start a new row, and we already found an item
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Set the location of each component for this row.
|
||||
int x;
|
||||
// Set the location of each component for this row.
|
||||
int x;
|
||||
|
||||
int myalign = align;
|
||||
if (align == LEADING)
|
||||
myalign = left_to_right ? LEFT : RIGHT;
|
||||
else if (align == TRAILING)
|
||||
myalign = left_to_right ? RIGHT : LEFT;
|
||||
int myalign = align;
|
||||
if (align == LEADING)
|
||||
myalign = left_to_right ? LEFT : RIGHT;
|
||||
else if (align == TRAILING)
|
||||
myalign = left_to_right ? RIGHT : LEFT;
|
||||
|
||||
if (myalign == RIGHT)
|
||||
x = ins.left + (d.width - new_w) + hgap;
|
||||
else if (myalign == CENTER)
|
||||
x = ins.left + (d.width - new_w) / 2 + hgap;
|
||||
else // LEFT and all other values of align.
|
||||
x = ins.left + hgap;
|
||||
if (myalign == RIGHT)
|
||||
x = ins.left + (d.width - new_w) + hgap;
|
||||
else if (myalign == CENTER)
|
||||
x = ins.left + (d.width - new_w) / 2 + hgap;
|
||||
else // LEFT and all other values of align.
|
||||
x = ins.left + hgap;
|
||||
|
||||
for (int k = i; k < j; ++k)
|
||||
{
|
||||
if (comps[k].visible)
|
||||
{
|
||||
Dimension c = comps[k].getPreferredSize ();
|
||||
comps[k].setBounds (x, y + (new_h - c.height) / 2,
|
||||
c.width, c.height);
|
||||
x += c.width + hgap;
|
||||
}
|
||||
}
|
||||
for (int k = i; k < j; ++k)
|
||||
{
|
||||
if (comps[k].visible)
|
||||
{
|
||||
Dimension c = comps[k].getPreferredSize ();
|
||||
comps[k].setBounds (x, y + (new_h - c.height) / 2,
|
||||
c.width, c.height);
|
||||
x += c.width + hgap;
|
||||
}
|
||||
}
|
||||
|
||||
// Advance to next row.
|
||||
i = j;
|
||||
y += new_h + vgap;
|
||||
}
|
||||
// Advance to next row.
|
||||
i = j;
|
||||
y += new_h + vgap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -278,7 +278,7 @@ public class FlowLayout implements LayoutManager, Serializable
|
|||
/**
|
||||
* Sets the horizontal gap between lines of components to the specified value.
|
||||
* No Exception is thrown if hgap < 0.
|
||||
*
|
||||
*
|
||||
* @param hgap The new horizontal gap between components.
|
||||
*/
|
||||
public void setHgap (int hgap)
|
||||
|
@ -303,7 +303,7 @@ public class FlowLayout implements LayoutManager, Serializable
|
|||
public String toString ()
|
||||
{
|
||||
return ("[" + getClass ().getName () + ",hgap=" + hgap + ",vgap=" + vgap
|
||||
+ ",align=" + align + "]");
|
||||
+ ",align=" + align + "]");
|
||||
}
|
||||
|
||||
// This method is used to compute the various sizes.
|
||||
|
@ -311,39 +311,39 @@ public class FlowLayout implements LayoutManager, Serializable
|
|||
{
|
||||
synchronized (parent.getTreeLock ())
|
||||
{
|
||||
int w, h, num = parent.getComponentCount ();
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
int w, h, num = parent.getComponentCount ();
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
|
||||
w = 0;
|
||||
h = 0;
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
if (! comps[i].visible)
|
||||
continue;
|
||||
w = 0;
|
||||
h = 0;
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
if (! comps[i].visible)
|
||||
continue;
|
||||
|
||||
// FIXME: can we just directly read the fields in Component?
|
||||
// Or will that not work with subclassing?
|
||||
Dimension d;
|
||||
// FIXME: can we just directly read the fields in Component?
|
||||
// Or will that not work with subclassing?
|
||||
Dimension d;
|
||||
|
||||
if (is_min)
|
||||
d = comps[i].getMinimumSize ();
|
||||
else
|
||||
d = comps[i].getPreferredSize ();
|
||||
if (is_min)
|
||||
d = comps[i].getMinimumSize ();
|
||||
else
|
||||
d = comps[i].getPreferredSize ();
|
||||
|
||||
w += d.width;
|
||||
h = Math.max (d.height, h);
|
||||
}
|
||||
w += d.width;
|
||||
h = Math.max (d.height, h);
|
||||
}
|
||||
|
||||
Insets ins = parent.getInsets ();
|
||||
Insets ins = parent.getInsets ();
|
||||
|
||||
if (num == 0)
|
||||
w += 2 * hgap + ins.left + ins.right;
|
||||
else
|
||||
w += (num + 1) * hgap + ins.left + ins.right;
|
||||
h += 2 * vgap + ins.top + ins.bottom;
|
||||
h += 2 * vgap + ins.top + ins.bottom;
|
||||
|
||||
return new Dimension (w, h);
|
||||
return new Dimension (w, h);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* FocusTraversalPolicy.java --
|
||||
/* FocusTraversalPolicy.java --
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
|
|
@ -101,7 +101,7 @@ public class Font implements Serializable
|
|||
/**
|
||||
* Constant indicating the baseline mode characteristic of Devanigri.
|
||||
*/
|
||||
public static final int HANGING_BASELINE = 2;
|
||||
public static final int HANGING_BASELINE = 2;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -117,11 +117,11 @@ public class Font implements Serializable
|
|||
* @since 1.3
|
||||
*/
|
||||
public static final int TRUETYPE_FONT = 0;
|
||||
|
||||
|
||||
/**
|
||||
* Indicates to <code>createFont</code> that the supplied font data
|
||||
* is in Type1 format.
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public static final int TYPE1_FONT = 1;
|
||||
|
@ -249,15 +249,15 @@ public class Font implements Serializable
|
|||
* The style should be one of BOLD, ITALIC, or BOLDITALIC. The default
|
||||
* style if none is specified is PLAIN. The default size if none
|
||||
* is specified is 12.
|
||||
*
|
||||
* @param fontspec a string specifying the required font (<code>null</code>
|
||||
*
|
||||
* @param fontspec a string specifying the required font (<code>null</code>
|
||||
* permitted, interpreted as 'Dialog-PLAIN-12').
|
||||
*
|
||||
*
|
||||
* @return A font.
|
||||
*/
|
||||
public static Font decode(String fontspec)
|
||||
{
|
||||
if (fontspec == null)
|
||||
if (fontspec == null)
|
||||
fontspec = "Dialog-PLAIN-12";
|
||||
String name = null;
|
||||
int style = PLAIN;
|
||||
|
@ -336,7 +336,7 @@ public class Font implements Serializable
|
|||
* @param propname The name of the system property.
|
||||
* @param defval Value to use if the property is not found.
|
||||
*
|
||||
* @return The requested font, or <code>default</code> if the property
|
||||
* @return The requested font, or <code>default</code> if the property
|
||||
* not exist or is malformed.
|
||||
*/
|
||||
public static Font getFont(String propname, Font defval)
|
||||
|
@ -352,7 +352,7 @@ public class Font implements Serializable
|
|||
*
|
||||
* @param propname The name of the system property.
|
||||
*
|
||||
* @return The requested font, or <code>null</code> if the property
|
||||
* @return The requested font, or <code>null</code> if the property
|
||||
* not exist or is malformed.
|
||||
*/
|
||||
public static Font getFont(String propname)
|
||||
|
@ -430,7 +430,7 @@ public class Font implements Serializable
|
|||
/**
|
||||
* Returns the size of the font, in typographics points (1/72 of an inch),
|
||||
* rounded to an integer.
|
||||
*
|
||||
*
|
||||
* @return The font size
|
||||
*/
|
||||
public int getSize()
|
||||
|
@ -440,7 +440,7 @@ public class Font implements Serializable
|
|||
|
||||
/**
|
||||
* Returns the size of the font, in typographics points (1/72 of an inch).
|
||||
*
|
||||
*
|
||||
* @return The font size
|
||||
*/
|
||||
public float getSize2D()
|
||||
|
@ -457,7 +457,7 @@ public class Font implements Serializable
|
|||
*/
|
||||
public boolean isPlain()
|
||||
{
|
||||
return peer.isPlain(this);
|
||||
return peer.isPlain(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -535,7 +535,7 @@ public class Font implements Serializable
|
|||
}
|
||||
|
||||
/**
|
||||
* Checks how much of a given string can be mapped to glyphs in
|
||||
* Checks how much of a given string can be mapped to glyphs in
|
||||
* this font.
|
||||
*
|
||||
* @param s The string to check.
|
||||
|
@ -548,7 +548,7 @@ public class Font implements Serializable
|
|||
*/
|
||||
public int canDisplayUpTo(String s)
|
||||
{
|
||||
return peer.canDisplayUpTo(this, new StringCharacterIterator(s),
|
||||
return peer.canDisplayUpTo(this, new StringCharacterIterator(s),
|
||||
0, s.length() - 1);
|
||||
}
|
||||
|
||||
|
@ -595,7 +595,7 @@ public class Font implements Serializable
|
|||
*/
|
||||
public int canDisplayUpTo(CharacterIterator i, int start, int limit)
|
||||
{
|
||||
return peer.canDisplayUpTo(this, i, start, limit);
|
||||
return peer.canDisplayUpTo(this, i, start, limit);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -717,7 +717,7 @@ public class Font implements Serializable
|
|||
|
||||
/**
|
||||
* Extracts a sequence of glyphs from a font, returning a new {@link
|
||||
* GlyphVector} with a mapped glyph for each input glyph code.
|
||||
* GlyphVector} with a mapped glyph for each input glyph code.
|
||||
*
|
||||
* @param ctx The rendering context used for precise glyph placement.
|
||||
* @param glyphCodes Array of characters to convert to glyphs.
|
||||
|
@ -858,7 +858,7 @@ public class Font implements Serializable
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns an array of chracter attribute keys which this font understands.
|
||||
* Returns an array of chracter attribute keys which this font understands.
|
||||
*
|
||||
* @return An array of chracter attribute keys which this font understands.
|
||||
*
|
||||
|
@ -917,7 +917,7 @@ public class Font implements Serializable
|
|||
*/
|
||||
public String getFamily(Locale lc)
|
||||
{
|
||||
return peer.getFamily(this, lc);
|
||||
return peer.getFamily(this, lc);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -929,7 +929,7 @@ public class Font implements Serializable
|
|||
*
|
||||
* @since 1.2
|
||||
*
|
||||
* @see java.awt.font.TextAttribute
|
||||
* @see java.awt.font.TextAttribute
|
||||
*/
|
||||
public static Font getFont(Map<? extends AttributedCharacterIterator.Attribute, ?> attributes)
|
||||
{
|
||||
|
@ -990,7 +990,7 @@ public class Font implements Serializable
|
|||
|
||||
/**
|
||||
* Returns a {@link LineMetrics} object constructed with the specified
|
||||
* text and {@link FontRenderContext}.
|
||||
* text and {@link FontRenderContext}.
|
||||
*
|
||||
* @param text The string to calculate metrics from.
|
||||
* @param begin Index of first character in <code>text</code> to measure.
|
||||
|
@ -1002,16 +1002,16 @@ public class Font implements Serializable
|
|||
* @throws IndexOutOfBoundsException if the range [begin, limit] is
|
||||
* invalid in <code>text</code>.
|
||||
*/
|
||||
public LineMetrics getLineMetrics(String text, int begin,
|
||||
public LineMetrics getLineMetrics(String text, int begin,
|
||||
int limit, FontRenderContext rc)
|
||||
{
|
||||
return peer.getLineMetrics(this, new StringCharacterIterator(text),
|
||||
return peer.getLineMetrics(this, new StringCharacterIterator(text),
|
||||
begin, limit, rc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a {@link LineMetrics} object constructed with the specified
|
||||
* text and {@link FontRenderContext}.
|
||||
* text and {@link FontRenderContext}.
|
||||
*
|
||||
* @param chars The string to calculate metrics from.
|
||||
* @param begin Index of first character in <code>text</code> to measure.
|
||||
|
@ -1023,17 +1023,17 @@ public class Font implements Serializable
|
|||
* @throws IndexOutOfBoundsException if the range [begin, limit] is
|
||||
* invalid in <code>chars</code>.
|
||||
*/
|
||||
public LineMetrics getLineMetrics(char[] chars, int begin,
|
||||
public LineMetrics getLineMetrics(char[] chars, int begin,
|
||||
int limit, FontRenderContext rc)
|
||||
{
|
||||
return peer.getLineMetrics(this,
|
||||
new StringCharacterIterator(new String(chars)),
|
||||
new StringCharacterIterator(new String(chars)),
|
||||
begin, limit, rc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a {@link LineMetrics} object constructed with the specified
|
||||
* text and {@link FontRenderContext}.
|
||||
* text and {@link FontRenderContext}.
|
||||
*
|
||||
* @param ci The string to calculate metrics from.
|
||||
* @param begin Index of first character in <code>text</code> to measure.
|
||||
|
@ -1045,7 +1045,7 @@ public class Font implements Serializable
|
|||
* @throws IndexOutOfBoundsException if the range [begin, limit] is
|
||||
* invalid in <code>ci</code>.
|
||||
*/
|
||||
public LineMetrics getLineMetrics(CharacterIterator ci, int begin,
|
||||
public LineMetrics getLineMetrics(CharacterIterator ci, int begin,
|
||||
int limit, FontRenderContext rc)
|
||||
{
|
||||
return peer.getLineMetrics(this, ci, begin, limit, rc);
|
||||
|
@ -1086,7 +1086,7 @@ public class Font implements Serializable
|
|||
* <code>[ 0, getNumGlyphs() - 1 ]</code>.
|
||||
*
|
||||
* @return The number of glyphs in this font.
|
||||
*
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
public int getNumGlyphs()
|
||||
|
@ -1095,7 +1095,7 @@ public class Font implements Serializable
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the PostScript Name of this font.
|
||||
* Returns the PostScript Name of this font.
|
||||
*
|
||||
* @return The PostScript Name of this font.
|
||||
*
|
||||
|
@ -1115,12 +1115,12 @@ public class Font implements Serializable
|
|||
* font in the specified {@link FontRenderContext}. This box will include the
|
||||
* glyph origin, ascent, advance, height, and leading, but may not include all
|
||||
* diacritics or accents. To get the complete visual bounding box of all the
|
||||
* glyphs in a run of text, use the {@link TextLayout#getBounds} method of
|
||||
* glyphs in a run of text, use the {@link TextLayout#getBounds} method of
|
||||
* {@link TextLayout}.
|
||||
*
|
||||
* @param str The string to measure.
|
||||
* @param frc The context in which to make the precise glyph measurements.
|
||||
*
|
||||
*
|
||||
* @return A bounding box covering the logical bounds of the specified text.
|
||||
*
|
||||
* @see #createGlyphVector(FontRenderContext, String)
|
||||
|
@ -1143,7 +1143,7 @@ public class Font implements Serializable
|
|||
* @param begin Index of the first character in <code>str</code> to measure.
|
||||
* @param limit Index of the last character in <code>str</code> to measure.
|
||||
* @param frc The context in which to make the precise glyph measurements.
|
||||
*
|
||||
*
|
||||
* @return A bounding box covering the logical bounds of the specified text.
|
||||
*
|
||||
* @throws IndexOutOfBoundsException if the range [begin, limit] is
|
||||
|
@ -1153,7 +1153,7 @@ public class Font implements Serializable
|
|||
*
|
||||
* @see #createGlyphVector(FontRenderContext, String)
|
||||
*/
|
||||
public Rectangle2D getStringBounds(String str, int begin,
|
||||
public Rectangle2D getStringBounds(String str, int begin,
|
||||
int limit, FontRenderContext frc)
|
||||
{
|
||||
String sub = str.substring(begin, limit);
|
||||
|
@ -1172,7 +1172,7 @@ public class Font implements Serializable
|
|||
* @param begin Index of the first character in <code>ci</code> to measure.
|
||||
* @param limit Index of the last character in <code>ci</code> to measure.
|
||||
* @param frc The context in which to make the precise glyph measurements.
|
||||
*
|
||||
*
|
||||
* @return A bounding box covering the logical bounds of the specified text.
|
||||
*
|
||||
* @throws IndexOutOfBoundsException if the range [begin, limit] is
|
||||
|
@ -1182,7 +1182,7 @@ public class Font implements Serializable
|
|||
*
|
||||
* @see #createGlyphVector(FontRenderContext, CharacterIterator)
|
||||
*/
|
||||
public Rectangle2D getStringBounds(CharacterIterator ci, int begin,
|
||||
public Rectangle2D getStringBounds(CharacterIterator ci, int begin,
|
||||
int limit, FontRenderContext frc)
|
||||
{
|
||||
int start = ci.getBeginIndex();
|
||||
|
@ -1209,7 +1209,7 @@ public class Font implements Serializable
|
|||
* @param begin Index of the first character in <code>ci</code> to measure.
|
||||
* @param limit Index of the last character in <code>ci</code> to measure.
|
||||
* @param frc The context in which to make the precise glyph measurements.
|
||||
*
|
||||
*
|
||||
* @return A bounding box covering the logical bounds of the specified text.
|
||||
*
|
||||
* @throws IndexOutOfBoundsException if the range [begin, limit] is
|
||||
|
@ -1219,7 +1219,7 @@ public class Font implements Serializable
|
|||
*
|
||||
* @see #createGlyphVector(FontRenderContext, char[])
|
||||
*/
|
||||
public Rectangle2D getStringBounds(char[] chars, int begin,
|
||||
public Rectangle2D getStringBounds(char[] chars, int begin,
|
||||
int limit, FontRenderContext frc)
|
||||
{
|
||||
String str = new String(chars, begin, limit - begin);
|
||||
|
@ -1293,10 +1293,10 @@ public class Font implements Serializable
|
|||
* @return A new {@link GlyphVector} representing the specified text.
|
||||
*
|
||||
* @throws IndexOutOfBoundsException if the range [begin, limit] is
|
||||
* invalid in <code>chars</code>.
|
||||
* invalid in <code>chars</code>.
|
||||
*/
|
||||
public GlyphVector layoutGlyphVector(FontRenderContext frc,
|
||||
char[] chars, int start,
|
||||
public GlyphVector layoutGlyphVector(FontRenderContext frc,
|
||||
char[] chars, int start,
|
||||
int limit, int flags)
|
||||
{
|
||||
return peer.layoutGlyphVector(this, frc, chars, start, limit, flags);
|
||||
|
@ -1318,7 +1318,7 @@ public class Font implements Serializable
|
|||
|
||||
/**
|
||||
* Returns a hash value for this font.
|
||||
*
|
||||
*
|
||||
* @return A hash for this font.
|
||||
*/
|
||||
public int hashCode()
|
||||
|
@ -1395,8 +1395,8 @@ public class Font implements Serializable
|
|||
default:
|
||||
styleString = "unknown";
|
||||
}
|
||||
|
||||
return getClass().getName()
|
||||
|
||||
return getClass().getName()
|
||||
+ "[family=" + getFamily ()
|
||||
+ ",name=" + getFontName ()
|
||||
+ ",style=" + styleString
|
||||
|
|
|
@ -362,7 +362,7 @@ public abstract class FontMetrics implements java.io.Serializable
|
|||
rc = gRC;
|
||||
return font.getLineMetrics(chars, begin, limit, rc);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the bounds of the largest character in a Graphics context.
|
||||
* @param context the Graphics context object.
|
||||
|
|
|
@ -336,10 +336,10 @@ public class Frame extends Window implements MenuContainer
|
|||
this.menuBar = menuBar;
|
||||
if (menuBar != null)
|
||||
{
|
||||
MenuContainer parent = menuBar.getParent();
|
||||
if (parent != null)
|
||||
parent.remove(menuBar);
|
||||
menuBar.setParent(this);
|
||||
MenuContainer parent = menuBar.getParent();
|
||||
if (parent != null)
|
||||
parent.remove(menuBar);
|
||||
menuBar.setParent(this);
|
||||
|
||||
// Create local copy for thread safety.
|
||||
FramePeer p = (FramePeer) peer;
|
||||
|
@ -355,7 +355,7 @@ public class Frame extends Window implements MenuContainer
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests whether or not this frame is resizable. This will be
|
||||
* Tests whether or not this frame is resizable. This will be
|
||||
* <code>true</code> by default.
|
||||
*
|
||||
* @return <code>true</code> if this frame is resizable, <code>false</code>
|
||||
|
@ -417,16 +417,16 @@ public class Frame extends Window implements MenuContainer
|
|||
{
|
||||
if (menu == menuBar)
|
||||
{
|
||||
if (menuBar != null)
|
||||
{
|
||||
if (peer != null)
|
||||
{
|
||||
((FramePeer) peer).setMenuBar(null);
|
||||
menuBar.removeNotify();
|
||||
}
|
||||
menuBar.setParent(null);
|
||||
}
|
||||
menuBar = null;
|
||||
if (menuBar != null)
|
||||
{
|
||||
if (peer != null)
|
||||
{
|
||||
((FramePeer) peer).setMenuBar(null);
|
||||
menuBar.removeNotify();
|
||||
}
|
||||
menuBar.setParent(null);
|
||||
}
|
||||
menuBar = null;
|
||||
}
|
||||
else
|
||||
super.remove(menu);
|
||||
|
@ -493,7 +493,7 @@ public class Frame extends Window implements MenuContainer
|
|||
|
||||
/**
|
||||
* The death queue for all frames.
|
||||
*/
|
||||
*/
|
||||
private static ReferenceQueue weakFramesQueue =
|
||||
new ReferenceQueue<Frame>();
|
||||
|
||||
|
@ -560,7 +560,7 @@ public class Frame extends Window implements MenuContainer
|
|||
if (state == NORMAL
|
||||
&& (current_state & ICONIFIED) != 0)
|
||||
setExtendedState(current_state | ICONIFIED);
|
||||
|
||||
|
||||
if (state == ICONIFIED
|
||||
&& (current_state & ~ICONIFIED) == 0)
|
||||
setExtendedState(current_state & ~ICONIFIED);
|
||||
|
@ -618,7 +618,7 @@ public class Frame extends Window implements MenuContainer
|
|||
|
||||
/**
|
||||
* Returns whether this frame is undecorated or not.
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public boolean isUndecorated()
|
||||
|
@ -629,9 +629,9 @@ public class Frame extends Window implements MenuContainer
|
|||
/**
|
||||
* Disables or enables decorations for this frame. This method can only be
|
||||
* called while the frame is not displayable.
|
||||
*
|
||||
*
|
||||
* @throws IllegalComponentStateException if this frame is displayable
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public void setUndecorated(boolean undecorated)
|
||||
|
@ -656,7 +656,7 @@ public class Frame extends Window implements MenuContainer
|
|||
{
|
||||
return next_frame_number++;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Accessibility support for <code>Frame</code>.
|
||||
*/
|
||||
|
@ -672,7 +672,7 @@ public class Frame extends Window implements MenuContainer
|
|||
{
|
||||
return AccessibleRole.FRAME;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the state set of this object.
|
||||
* @return The current state of this frame.
|
||||
|
@ -687,7 +687,7 @@ public class Frame extends Window implements MenuContainer
|
|||
return states;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the AccessibleContext associated with this <code>Frame</code>.
|
||||
* The context is created, if necessary.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* GradientPaint.java --
|
||||
/* GradientPaint.java --
|
||||
Copyright (C) 2002, 2005, Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -45,7 +45,7 @@ import java.awt.image.ColorModel;
|
|||
import gnu.java.awt.GradientPaintContext;
|
||||
|
||||
/**
|
||||
* A paint object that can be used to color a region by blending two colors.
|
||||
* A paint object that can be used to color a region by blending two colors.
|
||||
* Instances of this class are immutable.
|
||||
*/
|
||||
public class GradientPaint implements Paint
|
||||
|
@ -60,7 +60,7 @@ public class GradientPaint implements Paint
|
|||
|
||||
/**
|
||||
* Creates a new acyclic <code>GradientPaint</code>.
|
||||
*
|
||||
*
|
||||
* @param x1 the x-coordinate of the anchor point for color 1.
|
||||
* @param y1 the y-coordinate of the anchor point for color 1.
|
||||
* @param c1 color 1 (<code>null</code> not permitted).
|
||||
|
@ -76,7 +76,7 @@ public class GradientPaint implements Paint
|
|||
|
||||
/**
|
||||
* Creates a new acyclic <code>GradientPaint</code>.
|
||||
*
|
||||
*
|
||||
* @param p1 anchor point 1 (<code>null</code> not permitted).
|
||||
* @param c1 color 1 (<code>null</code> not permitted).
|
||||
* @param p2 anchor point 2 (<code>null</code> not permitted).
|
||||
|
@ -90,7 +90,7 @@ public class GradientPaint implements Paint
|
|||
|
||||
/**
|
||||
* Creates a new cyclic or acyclic <code>GradientPaint</code>.
|
||||
*
|
||||
*
|
||||
* @param x1 the x-coordinate of the anchor point for color 1.
|
||||
* @param y1 the y-coordinate of the anchor point for color 1.
|
||||
* @param c1 color 1 (<code>null</code> not permitted).
|
||||
|
@ -116,7 +116,7 @@ public class GradientPaint implements Paint
|
|||
|
||||
/**
|
||||
* Creates a new cyclic or acyclic <code>GradientPaint</code>.
|
||||
*
|
||||
*
|
||||
* @param p1 anchor point 1 (<code>null</code> not permitted).
|
||||
* @param c1 color 1 (<code>null</code> not permitted).
|
||||
* @param p2 anchor point 2 (<code>null</code> not permitted).
|
||||
|
@ -135,7 +135,7 @@ public class GradientPaint implements Paint
|
|||
* Returns a point with the same coordinates as the anchor point for color 1.
|
||||
* Note that if you modify this point, the <code>GradientPaint</code> remains
|
||||
* unchanged.
|
||||
*
|
||||
*
|
||||
* @return A point with the same coordinates as the anchor point for color 1.
|
||||
*/
|
||||
public Point2D getPoint1()
|
||||
|
@ -145,7 +145,7 @@ public class GradientPaint implements Paint
|
|||
|
||||
/**
|
||||
* Returns the first color.
|
||||
*
|
||||
*
|
||||
* @return The color (never <code>null</code>).
|
||||
*/
|
||||
public Color getColor1()
|
||||
|
@ -157,7 +157,7 @@ public class GradientPaint implements Paint
|
|||
* Returns a point with the same coordinates as the anchor point for color 2.
|
||||
* Note that if you modify this point, the <code>GradientPaint</code> remains
|
||||
* unchanged.
|
||||
*
|
||||
*
|
||||
* @return A point with the same coordinates as the anchor point for color 2.
|
||||
*/
|
||||
public Point2D getPoint2()
|
||||
|
@ -167,7 +167,7 @@ public class GradientPaint implements Paint
|
|||
|
||||
/**
|
||||
* Returns the second color.
|
||||
*
|
||||
*
|
||||
* @return The color (never <code>null</code>).
|
||||
*/
|
||||
public Color getColor2()
|
||||
|
@ -178,7 +178,7 @@ public class GradientPaint implements Paint
|
|||
/**
|
||||
* Returns <code>true</code> if this <code>GradientPaint</code> instance is
|
||||
* cyclic, and <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*/
|
||||
public boolean isCyclic()
|
||||
|
@ -188,14 +188,14 @@ public class GradientPaint implements Paint
|
|||
|
||||
/**
|
||||
* Returns the {@link PaintContext} used to generate the color pattern.
|
||||
*
|
||||
* @param cm the color model, used as a hint (ignored in this
|
||||
*
|
||||
* @param cm the color model, used as a hint (ignored in this
|
||||
* implementation).
|
||||
* @param deviceBounds the device space bounding box of the painted area.
|
||||
* @param userBounds the user space bounding box of the painted area.
|
||||
* @param xform the transformation from user space to device space.
|
||||
* @param hints any hints for choosing between rendering alternatives.
|
||||
*
|
||||
*
|
||||
* @return The context for performing the paint
|
||||
*/
|
||||
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds,
|
||||
|
@ -205,17 +205,17 @@ public class GradientPaint implements Paint
|
|||
{
|
||||
Point2D xp1 = xform.transform(getPoint1(), null);
|
||||
Point2D xp2 = xform.transform(getPoint2(), null);
|
||||
return new GradientPaintContext((float) xp1.getX(), (float) xp1.getY(), c1,
|
||||
return new GradientPaintContext((float) xp1.getX(), (float) xp1.getY(), c1,
|
||||
(float) xp2.getX(), (float) xp2.getY(), c2, cyclic);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the transparency code for this <code>GradientPaint</code> instance.
|
||||
* This is derived from the two {@link Color} objects used in creating this
|
||||
* object: if both colors are opaque, this method returns
|
||||
* {@link Transparency#OPAQUE}, otherwise it returns
|
||||
* object: if both colors are opaque, this method returns
|
||||
* {@link Transparency#OPAQUE}, otherwise it returns
|
||||
* {@link Transparency#TRANSLUCENT}.
|
||||
*
|
||||
*
|
||||
* @return {@link Transparency#OPAQUE} or {@link Transparency#TRANSLUCENT}.
|
||||
*/
|
||||
public int getTransparency()
|
||||
|
@ -223,7 +223,7 @@ public class GradientPaint implements Paint
|
|||
if (c1.getAlpha() == 255 && c2.getAlpha() == 255)
|
||||
return Transparency.OPAQUE;
|
||||
else
|
||||
return Transparency.TRANSLUCENT;
|
||||
return Transparency.TRANSLUCENT;
|
||||
}
|
||||
|
||||
|
||||
} // class GradientPaint
|
||||
|
|
|
@ -74,8 +74,8 @@ public abstract class Graphics
|
|||
*
|
||||
* @param x The new X coordinate of the clipping region rect.
|
||||
* @param y The new Y coordinate of the clipping region rect.
|
||||
* @param width The width of the clipping region intersect rectangle.
|
||||
* @param height The height of the clipping region intersect rectangle.
|
||||
* @param width The width of the clipping region intersect rectangle.
|
||||
* @param height The height of the clipping region intersect rectangle.
|
||||
*
|
||||
* @return A copy of this object, modified as specified.
|
||||
*/
|
||||
|
@ -122,12 +122,12 @@ public abstract class Graphics
|
|||
|
||||
/**
|
||||
* Sets this context info "XOR" mode, where the targe pixles are
|
||||
* XOR-ed when drawn on.
|
||||
* XOR-ed when drawn on.
|
||||
*
|
||||
* @param color The color to XOR against.
|
||||
*/
|
||||
public abstract void setXORMode(Color color);
|
||||
|
||||
|
||||
/**
|
||||
* Returns the current font for this graphics context.
|
||||
*
|
||||
|
@ -162,7 +162,7 @@ public abstract class Graphics
|
|||
public abstract FontMetrics getFontMetrics(Font font);
|
||||
|
||||
/**
|
||||
* Returns the bounding rectangle of the clipping region for this
|
||||
* Returns the bounding rectangle of the clipping region for this
|
||||
* graphics context.
|
||||
*
|
||||
* @return The bounding rectangle for the clipping region.
|
||||
|
@ -170,7 +170,7 @@ public abstract class Graphics
|
|||
public abstract Rectangle getClipBounds();
|
||||
|
||||
/**
|
||||
* Returns the bounding rectangle of the clipping region for this
|
||||
* Returns the bounding rectangle of the clipping region for this
|
||||
* graphics context.
|
||||
*
|
||||
* @return The bounding rectangle for the clipping region.
|
||||
|
@ -313,19 +313,19 @@ public abstract class Graphics
|
|||
Color color = getColor();
|
||||
Color tl = color.brighter();
|
||||
Color br = color.darker();
|
||||
|
||||
|
||||
if (!raised)
|
||||
{
|
||||
Color tmp = tl;
|
||||
tl = br;
|
||||
br = tmp;
|
||||
}
|
||||
|
||||
|
||||
int x1 = x;
|
||||
int y1 = y;
|
||||
int x2 = x + width;
|
||||
int y2 = y + height;
|
||||
|
||||
|
||||
setColor(tl);
|
||||
drawLine(x1, y1, x2, y1);
|
||||
drawLine(x1, y2, x1, y1);
|
||||
|
@ -488,8 +488,8 @@ public abstract class Graphics
|
|||
|
||||
/**
|
||||
* Draws all of the image that is available and returns. If the image
|
||||
* is not completely loaded, <code>false</code> is returned and
|
||||
* the specified iamge observer is notified as more data becomes
|
||||
* is not completely loaded, <code>false</code> is returned and
|
||||
* the specified iamge observer is notified as more data becomes
|
||||
* available.
|
||||
*
|
||||
* @param image The image to draw.
|
||||
|
@ -502,12 +502,12 @@ public abstract class Graphics
|
|||
*/
|
||||
public abstract boolean drawImage(Image image, int x, int y,
|
||||
ImageObserver observer);
|
||||
|
||||
|
||||
/**
|
||||
* Draws all of the image that is available and returns. The image
|
||||
* is scaled to fit in the specified rectangle. If the image
|
||||
* is not completely loaded, <code>false</code> is returned and
|
||||
* the specified iamge observer is notified as more data becomes
|
||||
* is not completely loaded, <code>false</code> is returned and
|
||||
* the specified iamge observer is notified as more data becomes
|
||||
* available.
|
||||
*
|
||||
* @param image The image to draw.
|
||||
|
@ -522,11 +522,11 @@ public abstract class Graphics
|
|||
*/
|
||||
public abstract boolean drawImage(Image image, int x, int y, int width,
|
||||
int height, ImageObserver observer);
|
||||
|
||||
|
||||
/**
|
||||
* Draws all of the image that is available and returns. If the image
|
||||
* is not completely loaded, <code>false</code> is returned and
|
||||
* the specified iamge observer is notified as more data becomes
|
||||
* is not completely loaded, <code>false</code> is returned and
|
||||
* the specified iamge observer is notified as more data becomes
|
||||
* available.
|
||||
*
|
||||
* @param image The image to draw.
|
||||
|
@ -540,12 +540,12 @@ public abstract class Graphics
|
|||
*/
|
||||
public abstract boolean drawImage(Image image, int x, int y, Color bgcolor,
|
||||
ImageObserver observer);
|
||||
|
||||
|
||||
/**
|
||||
* Draws all of the image that is available and returns. The image
|
||||
* is scaled to fit in the specified rectangle. If the image
|
||||
* is not completely loaded, <code>false</code> is returned and
|
||||
* the specified iamge observer is notified as more data becomes
|
||||
* is not completely loaded, <code>false</code> is returned and
|
||||
* the specified iamge observer is notified as more data becomes
|
||||
* available.
|
||||
*
|
||||
* @param image The image to draw.
|
||||
|
@ -596,7 +596,7 @@ public abstract class Graphics
|
|||
/**
|
||||
* Returns a string representation of this object.
|
||||
*
|
||||
* @return A string representation of this object.
|
||||
* @return A string representation of this object.
|
||||
*/
|
||||
public String toString()
|
||||
{
|
||||
|
@ -626,7 +626,7 @@ public abstract class Graphics
|
|||
public Rectangle getClipBounds(Rectangle r)
|
||||
{
|
||||
Rectangle clipBounds = getClipBounds();
|
||||
|
||||
|
||||
if (r == null)
|
||||
return clipBounds;
|
||||
|
||||
|
|
|
@ -51,27 +51,27 @@ import java.text.AttributedCharacterIterator;
|
|||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* An abstract class defining a device independent two-dimensional vector
|
||||
* graphics API. Concrete subclasses implement this API for output of
|
||||
* An abstract class defining a device independent two-dimensional vector
|
||||
* graphics API. Concrete subclasses implement this API for output of
|
||||
* vector graphics to:
|
||||
* <p>
|
||||
* <ul>
|
||||
* <li>a {@link javax.swing.JComponent} - in the
|
||||
* {@link javax.swing.JComponent#paint(Graphics)} method, the incoming
|
||||
* {@link Graphics} should always be an instance of
|
||||
* <code>Graphics2D</code>;</li>
|
||||
* <li>a {@link BufferedImage} - see
|
||||
* <li>a {@link javax.swing.JComponent} - in the
|
||||
* {@link javax.swing.JComponent#paint(Graphics)} method, the incoming
|
||||
* {@link Graphics} should always be an instance of
|
||||
* <code>Graphics2D</code>;</li>
|
||||
* <li>a {@link BufferedImage} - see
|
||||
* {@link BufferedImage#createGraphics()};</li>
|
||||
* <li>a {@link java.awt.print.PrinterJob} - in the
|
||||
* <li>a {@link java.awt.print.PrinterJob} - in the
|
||||
* {@link Printable#print(Graphics, PageFormat, int)} method, the incoming
|
||||
* {@link Graphics} should always be an instance of
|
||||
* {@link Graphics} should always be an instance of
|
||||
* <code>Graphics2D</code>.</li>
|
||||
* </ul>
|
||||
* <p>
|
||||
* Third party libraries provide support for output to other formats via this
|
||||
* Third party libraries provide support for output to other formats via this
|
||||
* API, including encapsulated postscript (EPS), portable document format (PDF),
|
||||
* and scalable vector graphics (SVG).
|
||||
*
|
||||
*
|
||||
* @author Rolf W. Rasmussen (rolfwr@ii.uib.no)
|
||||
*/
|
||||
public abstract class Graphics2D extends Graphics
|
||||
|
@ -80,68 +80,68 @@ public abstract class Graphics2D extends Graphics
|
|||
protected Graphics2D()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public void draw3DRect(int x, int y, int width, int height,
|
||||
boolean raised)
|
||||
boolean raised)
|
||||
{
|
||||
super.draw3DRect(x, y, width, height, raised);
|
||||
}
|
||||
|
||||
|
||||
public void fill3DRect(int x, int y, int width, int height,
|
||||
boolean raised)
|
||||
boolean raised)
|
||||
{
|
||||
super.fill3DRect(x, y, width, height, raised);
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws an outline around a shape using the current stroke and paint.
|
||||
*
|
||||
*
|
||||
* @param shape the shape (<code>null</code> not permitted).
|
||||
*
|
||||
*
|
||||
* @see #getStroke()
|
||||
* @see #getPaint()
|
||||
*/
|
||||
public abstract void draw(Shape shape);
|
||||
|
||||
public abstract boolean drawImage(Image image, AffineTransform xform,
|
||||
ImageObserver obs);
|
||||
ImageObserver obs);
|
||||
|
||||
public abstract void drawImage(BufferedImage image,
|
||||
BufferedImageOp op,
|
||||
int x,
|
||||
int y);
|
||||
BufferedImageOp op,
|
||||
int x,
|
||||
int y);
|
||||
|
||||
public abstract void drawRenderedImage(RenderedImage image,
|
||||
AffineTransform xform);
|
||||
AffineTransform xform);
|
||||
|
||||
public abstract void drawRenderableImage(RenderableImage image,
|
||||
AffineTransform xform);
|
||||
|
||||
/**
|
||||
* Draws a string at the specified location, using the current font.
|
||||
*
|
||||
*
|
||||
* @param text the string to draw.
|
||||
* @param x the x-coordinate.
|
||||
* @param y the y-coordinate.
|
||||
*
|
||||
*
|
||||
* @see Graphics#setFont(Font)
|
||||
*/
|
||||
public abstract void drawString(String text, int x, int y);
|
||||
|
||||
/**
|
||||
* Draws a string at the specified location, using the current font.
|
||||
*
|
||||
*
|
||||
* @param text the string to draw.
|
||||
* @param x the x-coordinate.
|
||||
* @param y the y-coordinate.
|
||||
*
|
||||
*
|
||||
* @see Graphics#setFont(Font)
|
||||
*/
|
||||
public abstract void drawString(String text, float x, float y);
|
||||
|
||||
|
||||
/**
|
||||
* Draws an attributed string at the specified location.
|
||||
*
|
||||
*
|
||||
* @param iterator the source of the attributed text.
|
||||
* @param x the x-coordinate.
|
||||
* @param y the y-coordinate.
|
||||
|
@ -151,60 +151,60 @@ public abstract class Graphics2D extends Graphics
|
|||
|
||||
/**
|
||||
* Draws an attributed string at the specified location.
|
||||
*
|
||||
*
|
||||
* @param iterator the source of the attributed text.
|
||||
* @param x the x-coordinate.
|
||||
* @param y the y-coordinate.
|
||||
*/
|
||||
public abstract void drawString(AttributedCharacterIterator iterator,
|
||||
float x, float y);
|
||||
float x, float y);
|
||||
|
||||
/**
|
||||
* Fills the interior of the specified <code>shape</code> using the current
|
||||
* paint.
|
||||
*
|
||||
*
|
||||
* @param shape the shape to fill (<code>null</code> not permitted).
|
||||
*
|
||||
*
|
||||
* @see #draw(Shape)
|
||||
* @see #getPaint()
|
||||
*/
|
||||
public abstract void fill(Shape shape);
|
||||
|
||||
|
||||
public abstract boolean hit(Rectangle rect, Shape text,
|
||||
boolean onStroke);
|
||||
boolean onStroke);
|
||||
|
||||
public abstract GraphicsConfiguration getDeviceConfiguration();
|
||||
|
||||
/**
|
||||
* Sets the current compositing rule.
|
||||
*
|
||||
*
|
||||
* @param comp the composite.
|
||||
*
|
||||
*
|
||||
* @see #getComposite()
|
||||
*/
|
||||
public abstract void setComposite(Composite comp);
|
||||
|
||||
|
||||
/**
|
||||
* Sets the paint to be used for subsequent drawing operations.
|
||||
*
|
||||
*
|
||||
* @param paint the paint (<code>null</code> not permitted).
|
||||
*
|
||||
*
|
||||
* @see #getPaint()
|
||||
*/
|
||||
public abstract void setPaint(Paint paint);
|
||||
|
||||
/**
|
||||
* Sets the stroke to be used for subsequent drawing operations.
|
||||
*
|
||||
*
|
||||
* @param stroke the stroke (<code>null</code> not permitted).
|
||||
*
|
||||
*
|
||||
* @see #getStroke()
|
||||
*/
|
||||
public abstract void setStroke(Stroke stroke);
|
||||
|
||||
/**
|
||||
* Adds or updates a hint in the current rendering hints table.
|
||||
*
|
||||
*
|
||||
* @param hintKey the hint key.
|
||||
* @param hintValue the hint value.
|
||||
*/
|
||||
|
@ -213,32 +213,32 @@ public abstract class Graphics2D extends Graphics
|
|||
|
||||
/**
|
||||
* Returns the current value of a rendering hint.
|
||||
*
|
||||
*
|
||||
* @param hintKey the key for the hint.
|
||||
*
|
||||
*
|
||||
* @return The value for the specified hint.
|
||||
*/
|
||||
public abstract Object getRenderingHint(RenderingHints.Key hintKey);
|
||||
|
||||
|
||||
/**
|
||||
* Replaces the current rendering hints with the supplied hints.
|
||||
*
|
||||
*
|
||||
* @param hints the hints.
|
||||
*
|
||||
*
|
||||
* @see #addRenderingHints(Map)
|
||||
*/
|
||||
public abstract void setRenderingHints(Map<?,?> hints);
|
||||
|
||||
/**
|
||||
* Adds/updates the rendering hint.
|
||||
*
|
||||
*
|
||||
* @param hints the hints to add or update.
|
||||
*/
|
||||
public abstract void addRenderingHints(Map<?,?> hints);
|
||||
|
||||
/**
|
||||
* Returns the current rendering hints.
|
||||
*
|
||||
*
|
||||
* @return The current rendering hints.
|
||||
*/
|
||||
public abstract RenderingHints getRenderingHints();
|
||||
|
@ -246,7 +246,7 @@ public abstract class Graphics2D extends Graphics
|
|||
public abstract void translate(int x, int y);
|
||||
|
||||
public abstract void translate(double tx, double ty);
|
||||
|
||||
|
||||
public abstract void rotate(double theta);
|
||||
|
||||
public abstract void rotate(double theta, double x, double y);
|
||||
|
@ -258,98 +258,98 @@ public abstract class Graphics2D extends Graphics
|
|||
/**
|
||||
* Sets the current transform to a concatenation of <code>transform</code>
|
||||
* and the existing transform.
|
||||
*
|
||||
*
|
||||
* @param transform the transform.
|
||||
*/
|
||||
public abstract void transform(AffineTransform transform);
|
||||
|
||||
|
||||
/**
|
||||
* Sets the current transform. If the caller specifies a <code>null</code>
|
||||
* transform, this method should set the current transform to the
|
||||
* transform, this method should set the current transform to the
|
||||
* identity transform.
|
||||
*
|
||||
*
|
||||
* @param transform the transform (<code>null</code> permitted).
|
||||
*
|
||||
*
|
||||
* @see #getTransform()
|
||||
*/
|
||||
public abstract void setTransform(AffineTransform transform);
|
||||
|
||||
/**
|
||||
* Returns the current transform.
|
||||
*
|
||||
*
|
||||
* @return The current transform.
|
||||
*
|
||||
*
|
||||
* @see #setTransform(AffineTransform)
|
||||
*/
|
||||
public abstract AffineTransform getTransform();
|
||||
|
||||
/**
|
||||
* Returns the current paint.
|
||||
*
|
||||
*
|
||||
* @return The current paint.
|
||||
*
|
||||
*
|
||||
* @see #setPaint(Paint)
|
||||
*/
|
||||
public abstract Paint getPaint();
|
||||
|
||||
/**
|
||||
* Returns the current compositing rule.
|
||||
*
|
||||
*
|
||||
* @return The current compositing rule.
|
||||
*
|
||||
*
|
||||
* @see #setComposite(Composite)
|
||||
*/
|
||||
public abstract Composite getComposite();
|
||||
|
||||
/**
|
||||
* Sets the background color (used by the
|
||||
* Sets the background color (used by the
|
||||
* {@link Graphics#clearRect(int, int, int, int)} method).
|
||||
*
|
||||
*
|
||||
* @param color the color.
|
||||
*
|
||||
*
|
||||
* @see #getBackground()
|
||||
*/
|
||||
public abstract void setBackground(Color color);
|
||||
|
||||
/**
|
||||
* Returns the color used by the
|
||||
* Returns the color used by the
|
||||
* {@link Graphics#clearRect(int, int, int, int)} method.
|
||||
*
|
||||
*
|
||||
* @return The background color.
|
||||
*
|
||||
*
|
||||
* @see #setBackground(Color)
|
||||
*/
|
||||
public abstract Color getBackground();
|
||||
|
||||
/**
|
||||
* Returns the current stroke.
|
||||
*
|
||||
*
|
||||
* @return The current stroke.
|
||||
*
|
||||
*
|
||||
* @see #setStroke(Stroke)
|
||||
*/
|
||||
public abstract Stroke getStroke();
|
||||
public abstract Stroke getStroke();
|
||||
|
||||
/**
|
||||
* Sets the clip region to the intersection of the current clipping region
|
||||
* Sets the clip region to the intersection of the current clipping region
|
||||
* and <code>s</code>.
|
||||
*
|
||||
*
|
||||
* @param s the shape to intersect with the current clipping region.
|
||||
*
|
||||
*
|
||||
* @see Graphics#setClip(Shape)
|
||||
*/
|
||||
public abstract void clip(Shape s);
|
||||
|
||||
/**
|
||||
* Returns the font render context.
|
||||
*
|
||||
*
|
||||
* @return The font render context.
|
||||
*/
|
||||
public abstract FontRenderContext getFontRenderContext();
|
||||
|
||||
/**
|
||||
* Draws a glyph vector at the specified location.
|
||||
*
|
||||
*
|
||||
* @param g the glyph vector.
|
||||
* @param x the x-coordinate.
|
||||
* @param y the y-coordinate.
|
||||
|
|
|
@ -63,13 +63,13 @@ import java.awt.image.VolatileImage;
|
|||
*/
|
||||
public abstract class GraphicsConfiguration
|
||||
{
|
||||
|
||||
|
||||
/** The cached image capabilities. */
|
||||
private ImageCapabilities imageCapabilities;
|
||||
|
||||
|
||||
/** The cached buffer capabilities. */
|
||||
private BufferCapabilities bufferCapabilities;
|
||||
|
||||
|
||||
/**
|
||||
* The default constructor.
|
||||
*
|
||||
|
@ -253,7 +253,7 @@ public abstract class GraphicsConfiguration
|
|||
{
|
||||
if (imageCapabilities == null)
|
||||
getImageCapabilities();
|
||||
|
||||
|
||||
if (bufferCapabilities == null)
|
||||
bufferCapabilities = new BufferCapabilities(imageCapabilities,
|
||||
imageCapabilities, null);
|
||||
|
|
|
@ -175,7 +175,7 @@ public abstract class GraphicsDevice
|
|||
// Restore the previous window to normal mode and release the reference.
|
||||
if (full_screen != null)
|
||||
{
|
||||
full_screen.setBounds(fullScreenOldBounds);
|
||||
full_screen.setBounds(fullScreenOldBounds);
|
||||
}
|
||||
|
||||
full_screen = null;
|
||||
|
@ -183,12 +183,12 @@ public abstract class GraphicsDevice
|
|||
// If w != null, make it full-screen.
|
||||
if (w != null)
|
||||
{
|
||||
fullScreenOldBounds = w.getBounds();
|
||||
full_screen = w;
|
||||
DisplayMode dMode = getDisplayMode();
|
||||
full_screen.setBounds(0, 0, dMode.getWidth(), dMode.getHeight());
|
||||
full_screen.requestFocus();
|
||||
full_screen.setLocationRelativeTo(null);
|
||||
fullScreenOldBounds = w.getBounds();
|
||||
full_screen = w;
|
||||
DisplayMode dMode = getDisplayMode();
|
||||
full_screen.setBounds(0, 0, dMode.getWidth(), dMode.getHeight());
|
||||
full_screen.requestFocus();
|
||||
full_screen.setLocationRelativeTo(null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -191,14 +191,14 @@ public class GridBagConstraints implements Cloneable, Serializable
|
|||
{
|
||||
try
|
||||
{
|
||||
GridBagConstraints g = (GridBagConstraints) super.clone ();
|
||||
g.insets = (Insets) insets.clone ();
|
||||
return g;
|
||||
GridBagConstraints g = (GridBagConstraints) super.clone ();
|
||||
g.insets = (Insets) insets.clone ();
|
||||
return g;
|
||||
}
|
||||
catch (CloneNotSupportedException _)
|
||||
{
|
||||
// Can't happen.
|
||||
return null;
|
||||
// Can't happen.
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -226,10 +226,10 @@ public class GridBagConstraints implements Cloneable, Serializable
|
|||
* parameters.
|
||||
*/
|
||||
public GridBagConstraints (int gridx, int gridy,
|
||||
int gridwidth, int gridheight,
|
||||
double weightx, double weighty,
|
||||
int anchor, int fill,
|
||||
Insets insets, int ipadx, int ipady)
|
||||
int gridwidth, int gridheight,
|
||||
double weightx, double weighty,
|
||||
int anchor, int fill,
|
||||
Insets insets, int ipadx, int ipady)
|
||||
{
|
||||
this.anchor = anchor;
|
||||
this.fill = fill;
|
||||
|
|
|
@ -75,9 +75,9 @@ public class GridBagLayout
|
|||
|
||||
public GridBagLayout ()
|
||||
{
|
||||
this.comptable = new Hashtable<Component,GridBagConstraints>();
|
||||
this.internalcomptable = new Hashtable<Component,GridBagConstraints>();
|
||||
this.defaultConstraints= new GridBagConstraints();
|
||||
this.comptable = new Hashtable<Component,GridBagConstraints>();
|
||||
this.internalcomptable = new Hashtable<Component,GridBagConstraints>();
|
||||
this.defaultConstraints= new GridBagConstraints();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -85,12 +85,12 @@ public class GridBagLayout
|
|||
*/
|
||||
private int sumIntArray (int[] array, int upto)
|
||||
{
|
||||
int result = 0;
|
||||
int result = 0;
|
||||
|
||||
for (int i = 0; i < upto; i++)
|
||||
result += array [i];
|
||||
for (int i = 0; i < upto; i++)
|
||||
result += array [i];
|
||||
|
||||
return result;
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -98,7 +98,7 @@ public class GridBagLayout
|
|||
*/
|
||||
private int sumIntArray (int[] array)
|
||||
{
|
||||
return sumIntArray(array, array.length);
|
||||
return sumIntArray(array, array.length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -106,58 +106,58 @@ public class GridBagLayout
|
|||
*/
|
||||
private double sumDoubleArray (double[] array)
|
||||
{
|
||||
double result = 0;
|
||||
double result = 0;
|
||||
|
||||
for (int i = 0; i < array.length; i++)
|
||||
result += array [i];
|
||||
for (int i = 0; i < array.length; i++)
|
||||
result += array [i];
|
||||
|
||||
return result;
|
||||
return result;
|
||||
}
|
||||
|
||||
public void addLayoutComponent (String name, Component component)
|
||||
{
|
||||
// do nothing here.
|
||||
// do nothing here.
|
||||
}
|
||||
|
||||
public void removeLayoutComponent (Component component)
|
||||
{
|
||||
// do nothing here
|
||||
// do nothing here
|
||||
}
|
||||
|
||||
public void addLayoutComponent (Component component, Object constraints)
|
||||
{
|
||||
if (constraints == null)
|
||||
return;
|
||||
if (constraints == null)
|
||||
return;
|
||||
|
||||
if (!(constraints instanceof GridBagConstraints))
|
||||
throw new IllegalArgumentException("constraints "
|
||||
+ constraints
|
||||
+ " are not an instance of GridBagConstraints");
|
||||
if (!(constraints instanceof GridBagConstraints))
|
||||
throw new IllegalArgumentException("constraints "
|
||||
+ constraints
|
||||
+ " are not an instance of GridBagConstraints");
|
||||
|
||||
setConstraints (component, (GridBagConstraints) constraints);
|
||||
setConstraints (component, (GridBagConstraints) constraints);
|
||||
}
|
||||
|
||||
public Dimension preferredLayoutSize (Container parent)
|
||||
{
|
||||
if (parent == null)
|
||||
return new Dimension (0, 0);
|
||||
|
||||
GridBagLayoutInfo li = getLayoutInfo (parent, PREFERREDSIZE);
|
||||
return getMinSize (parent, li);
|
||||
if (parent == null)
|
||||
return new Dimension (0, 0);
|
||||
|
||||
GridBagLayoutInfo li = getLayoutInfo (parent, PREFERREDSIZE);
|
||||
return getMinSize (parent, li);
|
||||
}
|
||||
|
||||
public Dimension minimumLayoutSize (Container parent)
|
||||
{
|
||||
if (parent == null)
|
||||
return new Dimension (0, 0);
|
||||
|
||||
GridBagLayoutInfo li = getLayoutInfo (parent, MINSIZE);
|
||||
return getMinSize (parent, li);
|
||||
if (parent == null)
|
||||
return new Dimension (0, 0);
|
||||
|
||||
GridBagLayoutInfo li = getLayoutInfo (parent, MINSIZE);
|
||||
return getMinSize (parent, li);
|
||||
}
|
||||
|
||||
public Dimension maximumLayoutSize (Container target)
|
||||
{
|
||||
return new Dimension (Integer.MAX_VALUE, Integer.MAX_VALUE);
|
||||
return new Dimension (Integer.MAX_VALUE, Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
public void layoutContainer (Container parent)
|
||||
|
@ -167,72 +167,72 @@ public class GridBagLayout
|
|||
|
||||
public float getLayoutAlignmentX (Container target)
|
||||
{
|
||||
return Component.CENTER_ALIGNMENT;
|
||||
return Component.CENTER_ALIGNMENT;
|
||||
}
|
||||
|
||||
public float getLayoutAlignmentY (Container target)
|
||||
{
|
||||
return Component.CENTER_ALIGNMENT;
|
||||
return Component.CENTER_ALIGNMENT;
|
||||
}
|
||||
|
||||
public void invalidateLayout (Container target)
|
||||
{
|
||||
this.layoutInfo = null;
|
||||
this.layoutInfo = null;
|
||||
}
|
||||
|
||||
public void setConstraints (Component component,
|
||||
GridBagConstraints constraints)
|
||||
GridBagConstraints constraints)
|
||||
{
|
||||
GridBagConstraints clone = (GridBagConstraints) constraints.clone();
|
||||
GridBagConstraints clone = (GridBagConstraints) constraints.clone();
|
||||
|
||||
if (clone.gridx < 0)
|
||||
clone.gridx = GridBagConstraints.RELATIVE;
|
||||
|
||||
if (clone.gridy < 0)
|
||||
clone.gridy = GridBagConstraints.RELATIVE;
|
||||
if (clone.gridx < 0)
|
||||
clone.gridx = GridBagConstraints.RELATIVE;
|
||||
|
||||
if (clone.gridwidth == 0)
|
||||
clone.gridwidth = GridBagConstraints.REMAINDER;
|
||||
else if (clone.gridwidth < 0)
|
||||
clone.gridwidth = 1;
|
||||
|
||||
if (clone.gridheight == 0)
|
||||
clone.gridheight = GridBagConstraints.REMAINDER;
|
||||
else if (clone.gridheight < 0)
|
||||
clone.gridheight = 1;
|
||||
|
||||
comptable.put (component, clone);
|
||||
if (clone.gridy < 0)
|
||||
clone.gridy = GridBagConstraints.RELATIVE;
|
||||
|
||||
if (clone.gridwidth == 0)
|
||||
clone.gridwidth = GridBagConstraints.REMAINDER;
|
||||
else if (clone.gridwidth < 0)
|
||||
clone.gridwidth = 1;
|
||||
|
||||
if (clone.gridheight == 0)
|
||||
clone.gridheight = GridBagConstraints.REMAINDER;
|
||||
else if (clone.gridheight < 0)
|
||||
clone.gridheight = 1;
|
||||
|
||||
comptable.put (component, clone);
|
||||
}
|
||||
|
||||
public GridBagConstraints getConstraints (Component component)
|
||||
{
|
||||
return (GridBagConstraints) (lookupConstraints (component).clone());
|
||||
return (GridBagConstraints) (lookupConstraints (component).clone());
|
||||
}
|
||||
|
||||
protected GridBagConstraints lookupConstraints (Component component)
|
||||
{
|
||||
GridBagConstraints result = comptable.get (component);
|
||||
GridBagConstraints result = comptable.get (component);
|
||||
|
||||
if (result == null)
|
||||
{
|
||||
setConstraints (component, defaultConstraints);
|
||||
result = comptable.get (component);
|
||||
}
|
||||
|
||||
return result;
|
||||
if (result == null)
|
||||
{
|
||||
setConstraints (component, defaultConstraints);
|
||||
result = comptable.get (component);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
private GridBagConstraints lookupInternalConstraints (Component component)
|
||||
{
|
||||
GridBagConstraints result = internalcomptable.get (component);
|
||||
GridBagConstraints result = internalcomptable.get (component);
|
||||
|
||||
if (result == null)
|
||||
{
|
||||
result = (GridBagConstraints) lookupConstraints(component).clone();
|
||||
internalcomptable.put (component, result);
|
||||
}
|
||||
|
||||
return result;
|
||||
if (result == null)
|
||||
{
|
||||
result = (GridBagConstraints) lookupConstraints(component).clone();
|
||||
internalcomptable.put (component, result);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -240,10 +240,10 @@ public class GridBagLayout
|
|||
*/
|
||||
public Point getLayoutOrigin ()
|
||||
{
|
||||
if (layoutInfo == null)
|
||||
return new Point (0, 0);
|
||||
|
||||
return new Point (layoutInfo.pos_x, layoutInfo.pos_y);
|
||||
if (layoutInfo == null)
|
||||
return new Point (0, 0);
|
||||
|
||||
return new Point (layoutInfo.pos_x, layoutInfo.pos_y);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -251,38 +251,38 @@ public class GridBagLayout
|
|||
*/
|
||||
public int[][] getLayoutDimensions ()
|
||||
{
|
||||
int[][] result = new int [2][];
|
||||
if (layoutInfo == null)
|
||||
{
|
||||
result[0] = new int[0];
|
||||
result[1] = new int[0];
|
||||
int[][] result = new int [2][];
|
||||
if (layoutInfo == null)
|
||||
{
|
||||
result[0] = new int[0];
|
||||
result[1] = new int[0];
|
||||
|
||||
return result;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
result [0] = new int [layoutInfo.cols];
|
||||
System.arraycopy (layoutInfo.colWidths, 0, result [0], 0, layoutInfo.cols);
|
||||
result [1] = new int [layoutInfo.rows];
|
||||
System.arraycopy (layoutInfo.rowHeights, 0, result [1], 0, layoutInfo.rows);
|
||||
return result;
|
||||
result [0] = new int [layoutInfo.cols];
|
||||
System.arraycopy (layoutInfo.colWidths, 0, result [0], 0, layoutInfo.cols);
|
||||
result [1] = new int [layoutInfo.rows];
|
||||
System.arraycopy (layoutInfo.rowHeights, 0, result [1], 0, layoutInfo.rows);
|
||||
return result;
|
||||
}
|
||||
|
||||
public double[][] getLayoutWeights ()
|
||||
{
|
||||
double[][] result = new double [2][];
|
||||
if (layoutInfo == null)
|
||||
{
|
||||
result[0] = new double[0];
|
||||
result[1] = new double[0];
|
||||
double[][] result = new double [2][];
|
||||
if (layoutInfo == null)
|
||||
{
|
||||
result[0] = new double[0];
|
||||
result[1] = new double[0];
|
||||
|
||||
return result;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
result [0] = new double [layoutInfo.cols];
|
||||
System.arraycopy (layoutInfo.colWeights, 0, result [0], 0, layoutInfo.cols);
|
||||
result [1] = new double [layoutInfo.rows];
|
||||
System.arraycopy (layoutInfo.rowWeights, 0, result [1], 0, layoutInfo.rows);
|
||||
return result;
|
||||
result [0] = new double [layoutInfo.cols];
|
||||
System.arraycopy (layoutInfo.colWeights, 0, result [0], 0, layoutInfo.cols);
|
||||
result [1] = new double [layoutInfo.rows];
|
||||
System.arraycopy (layoutInfo.rowWeights, 0, result [1], 0, layoutInfo.rows);
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -290,33 +290,33 @@ public class GridBagLayout
|
|||
*/
|
||||
public Point location (int x, int y)
|
||||
{
|
||||
if (layoutInfo == null)
|
||||
return new Point (0, 0);
|
||||
if (layoutInfo == null)
|
||||
return new Point (0, 0);
|
||||
|
||||
int col;
|
||||
int row;
|
||||
int pixel_x = layoutInfo.pos_x;
|
||||
int pixel_y = layoutInfo.pos_y;
|
||||
int col;
|
||||
int row;
|
||||
int pixel_x = layoutInfo.pos_x;
|
||||
int pixel_y = layoutInfo.pos_y;
|
||||
|
||||
for (col = 0; col < layoutInfo.cols; col++)
|
||||
{
|
||||
int w = layoutInfo.colWidths [col];
|
||||
if (x < pixel_x + w)
|
||||
break;
|
||||
for (col = 0; col < layoutInfo.cols; col++)
|
||||
{
|
||||
int w = layoutInfo.colWidths [col];
|
||||
if (x < pixel_x + w)
|
||||
break;
|
||||
|
||||
pixel_x += w;
|
||||
}
|
||||
pixel_x += w;
|
||||
}
|
||||
|
||||
for (row = 0; row < layoutInfo.rows; row++)
|
||||
{
|
||||
int h = layoutInfo.rowHeights [row];
|
||||
if (y < pixel_y + h)
|
||||
break;
|
||||
for (row = 0; row < layoutInfo.rows; row++)
|
||||
{
|
||||
int h = layoutInfo.rowHeights [row];
|
||||
if (y < pixel_y + h)
|
||||
break;
|
||||
|
||||
pixel_y += h;
|
||||
}
|
||||
pixel_y += h;
|
||||
}
|
||||
|
||||
return new Point (col, row);
|
||||
return new Point (col, row);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -328,7 +328,7 @@ public class GridBagLayout
|
|||
{
|
||||
return getClass().getName();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Move and resize a rectangle according to a set of grid bag
|
||||
* constraints. The x, y, width and height fields of the
|
||||
|
@ -342,12 +342,12 @@ public class GridBagLayout
|
|||
{
|
||||
Insets insets = constraints.insets;
|
||||
if (insets != null)
|
||||
{
|
||||
r.x += insets.left;
|
||||
r.y += insets.top;
|
||||
r.width -= insets.left + insets.right;
|
||||
r.height -= insets.top + insets.bottom;
|
||||
}
|
||||
{
|
||||
r.x += insets.left;
|
||||
r.y += insets.top;
|
||||
r.width -= insets.left + insets.right;
|
||||
r.height -= insets.top + insets.bottom;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -385,13 +385,13 @@ public class GridBagLayout
|
|||
|
||||
Dimension dim = component.getPreferredSize();
|
||||
GridBagConstraints constraints = lookupInternalConstraints(component);
|
||||
|
||||
|
||||
if (lastComp != null
|
||||
&& constraints.gridheight == GridBagConstraints.REMAINDER)
|
||||
cell.y += cell.height;
|
||||
else
|
||||
cell.y = sumIntArray(info.rowHeights, constraints.gridy);
|
||||
|
||||
|
||||
if (lastComp != null
|
||||
&& constraints.gridwidth == GridBagConstraints.REMAINDER)
|
||||
cell.x += cell.width;
|
||||
|
@ -402,9 +402,9 @@ public class GridBagLayout
|
|||
+ constraints.gridwidth) - cell.x;
|
||||
cell.height = sumIntArray(info.rowHeights, constraints.gridy
|
||||
+ constraints.gridheight) - cell.y;
|
||||
|
||||
|
||||
// Adjust for insets.
|
||||
AdjustForGravity( constraints, cell );
|
||||
AdjustForGravity( constraints, cell );
|
||||
|
||||
// Note: Documentation says that padding is added on both sides, but
|
||||
// visual inspection shows that the Sun implementation only adds it
|
||||
|
@ -492,7 +492,7 @@ public class GridBagLayout
|
|||
Insets parentInsets = parent.getInsets ();
|
||||
parentDim.width -= parentInsets.left + parentInsets.right;
|
||||
parentDim.height -= parentInsets.top + parentInsets.bottom;
|
||||
|
||||
|
||||
int current_y = 0;
|
||||
int max_x = 0;
|
||||
int max_y = 0;
|
||||
|
@ -508,13 +508,13 @@ public class GridBagLayout
|
|||
// smallest to largest, with REMAINDER and RELATIVE at the end.
|
||||
// These are useful when determining sizes and weights.
|
||||
ArrayList<Component> sortedByWidth =
|
||||
new ArrayList<Component>(components.length);
|
||||
new ArrayList<Component>(components.length);
|
||||
ArrayList<Component> sortedByHeight =
|
||||
new ArrayList<Component>(components.length);
|
||||
new ArrayList<Component>(components.length);
|
||||
|
||||
// STEP 1: first we figure out how many rows/columns
|
||||
for (int i = 0; i < components.length; i++)
|
||||
{
|
||||
{
|
||||
Component component = components [i];
|
||||
// If component is not visible we dont have to care about it.
|
||||
if (!component.isVisible())
|
||||
|
@ -557,7 +557,7 @@ public class GridBagLayout
|
|||
// Check the component that occupies the right-most spot in this
|
||||
// row. We want to add this component after it.
|
||||
// If this row is empty, add to the 0 position.
|
||||
if (!lastInRow.containsKey(new Integer(constraints.gridy)))
|
||||
if (!lastInRow.containsKey(new Integer(constraints.gridy)))
|
||||
x = 0;
|
||||
else
|
||||
{
|
||||
|
@ -588,7 +588,7 @@ public class GridBagLayout
|
|||
// Check the component that occupies the bottom-most spot in
|
||||
// this column. We want to add this component below it.
|
||||
// If this column is empty, add to the 0 position.
|
||||
if (!lastInCol.containsKey(new Integer(constraints.gridx)))
|
||||
if (!lastInCol.containsKey(new Integer(constraints.gridx)))
|
||||
{
|
||||
y = current_y;
|
||||
}
|
||||
|
@ -616,7 +616,7 @@ public class GridBagLayout
|
|||
}
|
||||
// case 4: do nothing
|
||||
|
||||
max_x = Math.max(max_x,
|
||||
max_x = Math.max(max_x,
|
||||
constraints.gridx + Math.max(1, constraints.gridwidth));
|
||||
max_y = Math.max(max_y,
|
||||
constraints.gridy + Math.max(1, constraints.gridheight));
|
||||
|
@ -626,11 +626,11 @@ public class GridBagLayout
|
|||
|
||||
// Update our reference points for RELATIVE gridx and gridy.
|
||||
if(constraints.gridwidth == GridBagConstraints.REMAINDER)
|
||||
{
|
||||
{
|
||||
current_y = constraints.gridy + Math.max(1, constraints.gridheight);
|
||||
}
|
||||
}
|
||||
else if (constraints.gridwidth != GridBagConstraints.REMAINDER)
|
||||
{
|
||||
{
|
||||
for (int y = constraints.gridy; y < constraints.gridy + Math.max(1, constraints.gridheight); y++)
|
||||
{
|
||||
if(lastInRow.containsKey(new Integer(y)))
|
||||
|
@ -664,9 +664,9 @@ public class GridBagLayout
|
|||
lastInCol.put(new Integer(x), component);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // end of STEP 1
|
||||
|
||||
}
|
||||
} // end of STEP 1
|
||||
|
||||
GridBagLayoutInfo info = new GridBagLayoutInfo(max_x, max_y);
|
||||
|
||||
// Check if column widths and row heights are overridden.
|
||||
|
@ -691,11 +691,11 @@ public class GridBagLayout
|
|||
for (int i = 0; i < components.length; i++)
|
||||
{
|
||||
Component component = components [i];
|
||||
|
||||
|
||||
// If component is not visible we dont have to care about it.
|
||||
if (!component.isVisible())
|
||||
continue;
|
||||
|
||||
|
||||
GridBagConstraints constraints = lookupInternalConstraints (component);
|
||||
|
||||
if(constraints.gridwidth == GridBagConstraints.REMAINDER || constraints.gridwidth == GridBagConstraints.RELATIVE)
|
||||
|
@ -745,7 +745,7 @@ public class GridBagLayout
|
|||
if (lastComponent != null)
|
||||
{
|
||||
GridBagConstraints lastConstraints = lookupInternalConstraints(lastComponent);
|
||||
|
||||
|
||||
if (lastConstraints.gridheight == GridBagConstraints.RELATIVE)
|
||||
{
|
||||
constraints.gridy = max_y - 1;
|
||||
|
@ -776,7 +776,7 @@ public class GridBagLayout
|
|||
for (int i = 0; i < sortedByWidth.size(); i++)
|
||||
{
|
||||
Component component = sortedByWidth.get(i);
|
||||
|
||||
|
||||
// If component is not visible we dont have to care about it.
|
||||
if (!component.isVisible())
|
||||
continue;
|
||||
|
@ -793,7 +793,7 @@ public class GridBagLayout
|
|||
width += constraints.ipadx;
|
||||
|
||||
distributeSizeAndWeight(width,
|
||||
constraints.weightx,
|
||||
constraints.weightx,
|
||||
constraints.gridx,
|
||||
constraints.gridwidth,
|
||||
info.colWidths,
|
||||
|
@ -804,7 +804,7 @@ public class GridBagLayout
|
|||
for (int i = 0; i < sortedByHeight.size(); i++)
|
||||
{
|
||||
Component component = sortedByHeight.get(i);
|
||||
|
||||
|
||||
// If component is not visible we dont have to care about it.
|
||||
if (!component.isVisible())
|
||||
continue;
|
||||
|
@ -819,9 +819,9 @@ public class GridBagLayout
|
|||
height += constraints.insets.top + constraints.insets.bottom;
|
||||
|
||||
height += constraints.ipady;
|
||||
|
||||
|
||||
distributeSizeAndWeight(height,
|
||||
constraints.weighty,
|
||||
constraints.weighty,
|
||||
constraints.gridy,
|
||||
constraints.gridheight,
|
||||
info.rowHeights,
|
||||
|
@ -890,7 +890,7 @@ public class GridBagLayout
|
|||
* FIXME: Use a better sorting algorithm.
|
||||
*/
|
||||
private void sortBySpan (Component component, int span,
|
||||
ArrayList<Component> list, boolean sortByWidth)
|
||||
ArrayList<Component> list, boolean sortByWidth)
|
||||
{
|
||||
if (span == GridBagConstraints.REMAINDER
|
||||
|| span == GridBagConstraints.RELATIVE)
|
||||
|
@ -1005,7 +1005,7 @@ public class GridBagLayout
|
|||
double extraWeight = diff * weights[k] / totalWeight;
|
||||
weights[k] += extraWeight;
|
||||
remaining -= extraWeight;
|
||||
}
|
||||
}
|
||||
|
||||
if (remaining > 0.0 && weights[start + span - 1] != 0.0)
|
||||
{
|
||||
|
@ -1044,42 +1044,42 @@ public class GridBagLayout
|
|||
|
||||
private void dumpLayoutInfo (GridBagLayoutInfo info)
|
||||
{
|
||||
System.out.println ("GridBagLayoutInfo:");
|
||||
System.out.println ("cols: " + info.cols + ", rows: " + info.rows);
|
||||
System.out.print ("colWidths: ");
|
||||
dumpArray(info.colWidths);
|
||||
System.out.print ("rowHeights: ");
|
||||
dumpArray(info.rowHeights);
|
||||
System.out.print ("colWeights: ");
|
||||
dumpArray(info.colWeights);
|
||||
System.out.print ("rowWeights: ");
|
||||
dumpArray(info.rowWeights);
|
||||
System.out.println ("GridBagLayoutInfo:");
|
||||
System.out.println ("cols: " + info.cols + ", rows: " + info.rows);
|
||||
System.out.print ("colWidths: ");
|
||||
dumpArray(info.colWidths);
|
||||
System.out.print ("rowHeights: ");
|
||||
dumpArray(info.rowHeights);
|
||||
System.out.print ("colWeights: ");
|
||||
dumpArray(info.colWeights);
|
||||
System.out.print ("rowWeights: ");
|
||||
dumpArray(info.rowWeights);
|
||||
}
|
||||
|
||||
private void dumpArray(int[] array)
|
||||
{
|
||||
String sep = "";
|
||||
for(int i = 0; i < array.length; i++)
|
||||
{
|
||||
System.out.print(sep);
|
||||
System.out.print(array[i]);
|
||||
sep = ", ";
|
||||
}
|
||||
System.out.println();
|
||||
String sep = "";
|
||||
for(int i = 0; i < array.length; i++)
|
||||
{
|
||||
System.out.print(sep);
|
||||
System.out.print(array[i]);
|
||||
sep = ", ";
|
||||
}
|
||||
System.out.println();
|
||||
}
|
||||
|
||||
private void dumpArray(double[] array)
|
||||
{
|
||||
String sep = "";
|
||||
for(int i = 0; i < array.length; i++)
|
||||
{
|
||||
System.out.print(sep);
|
||||
System.out.print(array[i]);
|
||||
sep = ", ";
|
||||
}
|
||||
System.out.println();
|
||||
String sep = "";
|
||||
for(int i = 0; i < array.length; i++)
|
||||
{
|
||||
System.out.print(sep);
|
||||
System.out.print(array[i]);
|
||||
sep = ", ";
|
||||
}
|
||||
System.out.println();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @since 1.4
|
||||
*/
|
||||
|
|
|
@ -58,7 +58,7 @@ import java.io.Serializable;
|
|||
public class GridLayout implements LayoutManager, Serializable
|
||||
{
|
||||
static final long serialVersionUID = -7411804673224730901L;
|
||||
|
||||
|
||||
/** Add a new component to the layout. This particular implementation
|
||||
* does nothing.
|
||||
* @param name The name of the component to add.
|
||||
|
@ -154,63 +154,63 @@ public class GridLayout implements LayoutManager, Serializable
|
|||
{
|
||||
synchronized (parent.getTreeLock ())
|
||||
{
|
||||
int num = parent.ncomponents;
|
||||
int num = parent.ncomponents;
|
||||
|
||||
// There's no point, and handling this would mean adding special
|
||||
// cases.
|
||||
if (num == 0)
|
||||
return;
|
||||
// There's no point, and handling this would mean adding special
|
||||
// cases.
|
||||
if (num == 0)
|
||||
return;
|
||||
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
|
||||
int real_rows = rows;
|
||||
int real_cols = cols;
|
||||
if (real_rows == 0)
|
||||
real_rows = (num + real_cols - 1) / real_cols;
|
||||
else
|
||||
real_cols = (num + real_rows - 1) / real_rows;
|
||||
int real_rows = rows;
|
||||
int real_cols = cols;
|
||||
if (real_rows == 0)
|
||||
real_rows = (num + real_cols - 1) / real_cols;
|
||||
else
|
||||
real_cols = (num + real_rows - 1) / real_rows;
|
||||
|
||||
// We might have less than a single row. In this case we expand
|
||||
// to fill.
|
||||
if (num < real_cols)
|
||||
real_cols = num;
|
||||
// We might have less than a single row. In this case we expand
|
||||
// to fill.
|
||||
if (num < real_cols)
|
||||
real_cols = num;
|
||||
|
||||
Dimension d = parent.getSize ();
|
||||
Insets ins = parent.getInsets ();
|
||||
Dimension d = parent.getSize ();
|
||||
Insets ins = parent.getInsets ();
|
||||
|
||||
// Compute width and height of each cell in the grid.
|
||||
int tw = d.width - ins.left - ins.right;
|
||||
tw = (tw - (real_cols - 1) * hgap) / real_cols;
|
||||
int th = d.height - ins.top - ins.bottom;
|
||||
th = (th - (real_rows - 1) * vgap) / real_rows;
|
||||
// Compute width and height of each cell in the grid.
|
||||
int tw = d.width - ins.left - ins.right;
|
||||
tw = (tw - (real_cols - 1) * hgap) / real_cols;
|
||||
int th = d.height - ins.top - ins.bottom;
|
||||
th = (th - (real_rows - 1) * vgap) / real_rows;
|
||||
|
||||
// If the cells are too small, still try to do something.
|
||||
if (tw < 0)
|
||||
tw = 1;
|
||||
if (th < 0)
|
||||
th = 1;
|
||||
// If the cells are too small, still try to do something.
|
||||
if (tw < 0)
|
||||
tw = 1;
|
||||
if (th < 0)
|
||||
th = 1;
|
||||
|
||||
int x = ins.left;
|
||||
int y = ins.top;
|
||||
int i = 0;
|
||||
int recount = 0;
|
||||
int x = ins.left;
|
||||
int y = ins.top;
|
||||
int i = 0;
|
||||
int recount = 0;
|
||||
|
||||
while (i < num)
|
||||
{
|
||||
comps[i].setBounds (x, y, tw, th);
|
||||
while (i < num)
|
||||
{
|
||||
comps[i].setBounds (x, y, tw, th);
|
||||
|
||||
++i;
|
||||
++recount;
|
||||
if (recount == real_cols)
|
||||
{
|
||||
recount = 0;
|
||||
y += vgap + th;
|
||||
x = ins.left;
|
||||
}
|
||||
else
|
||||
x += hgap + tw;
|
||||
}
|
||||
++i;
|
||||
++recount;
|
||||
if (recount == real_cols)
|
||||
{
|
||||
recount = 0;
|
||||
y += vgap + th;
|
||||
x = ins.left;
|
||||
}
|
||||
else
|
||||
x += hgap + tw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -289,9 +289,9 @@ public class GridLayout implements LayoutManager, Serializable
|
|||
public String toString ()
|
||||
{
|
||||
return (getClass ().getName () + "["
|
||||
+ "hgap=" + hgap + ",vgap=" + vgap
|
||||
+ ",rows=" + rows + ",cols=" + cols
|
||||
+ "]");
|
||||
+ "hgap=" + hgap + ",vgap=" + vgap
|
||||
+ ",rows=" + rows + ",cols=" + cols
|
||||
+ "]");
|
||||
}
|
||||
|
||||
// This method is used to compute the various sizes.
|
||||
|
@ -299,36 +299,36 @@ public class GridLayout implements LayoutManager, Serializable
|
|||
{
|
||||
synchronized (parent.getTreeLock ())
|
||||
{
|
||||
int w = 0, h = 0, num = parent.ncomponents;
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
int w = 0, h = 0, num = parent.ncomponents;
|
||||
// This is more efficient than calling getComponents().
|
||||
Component[] comps = parent.component;
|
||||
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
Dimension d;
|
||||
for (int i = 0; i < num; ++i)
|
||||
{
|
||||
Dimension d;
|
||||
|
||||
if (is_min)
|
||||
d = comps[i].getMinimumSize ();
|
||||
else
|
||||
d = comps[i].getPreferredSize ();
|
||||
if (is_min)
|
||||
d = comps[i].getMinimumSize ();
|
||||
else
|
||||
d = comps[i].getPreferredSize ();
|
||||
|
||||
w = Math.max (d.width, w);
|
||||
h = Math.max (d.height, h);
|
||||
}
|
||||
w = Math.max (d.width, w);
|
||||
h = Math.max (d.height, h);
|
||||
}
|
||||
|
||||
int real_rows = rows;
|
||||
int real_cols = cols;
|
||||
if (real_rows == 0)
|
||||
real_rows = (num + real_cols - 1) / real_cols;
|
||||
else
|
||||
real_cols = (num + real_rows - 1) / real_rows;
|
||||
int real_rows = rows;
|
||||
int real_cols = cols;
|
||||
if (real_rows == 0)
|
||||
real_rows = (num + real_cols - 1) / real_cols;
|
||||
else
|
||||
real_cols = (num + real_rows - 1) / real_rows;
|
||||
|
||||
Insets ins = parent.getInsets ();
|
||||
// We subtract out an extra gap here because the gaps are only
|
||||
// between cells.
|
||||
w = ins.left + ins.right + real_cols * (w + hgap) - hgap;
|
||||
h = ins.top + ins.bottom + real_rows * (h + vgap) - vgap;
|
||||
return new Dimension (w, h);
|
||||
Insets ins = parent.getInsets ();
|
||||
// We subtract out an extra gap here because the gaps are only
|
||||
// between cells.
|
||||
w = ins.left + ins.right + real_cols * (w + hgap) - hgap;
|
||||
h = ins.top + ins.bottom + real_rows * (h + vgap) - vgap;
|
||||
return new Dimension (w, h);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -193,13 +193,13 @@ public abstract class Image
|
|||
{
|
||||
case SCALE_AREA_AVERAGING:
|
||||
case SCALE_SMOOTH:
|
||||
filter = new AreaAveragingScaleFilter(width, height);
|
||||
break;
|
||||
filter = new AreaAveragingScaleFilter(width, height);
|
||||
break;
|
||||
case SCALE_DEFAULT:
|
||||
case SCALE_FAST:
|
||||
case SCALE_REPLICATE:
|
||||
default:
|
||||
filter = new ReplicateScaleFilter(width, height);
|
||||
filter = new ReplicateScaleFilter(width, height);
|
||||
}
|
||||
|
||||
ImageProducer producer = new FilteredImageSource(getSource(), filter);
|
||||
|
@ -215,7 +215,7 @@ public abstract class Image
|
|||
/**
|
||||
* Sets the acceleration priority of the image.
|
||||
* This is a value from 0 (lowest) to 1 (highest), which may
|
||||
* be used as a hint for image acceleration.
|
||||
* be used as a hint for image acceleration.
|
||||
* E.g. higher priority images may be stored in video memory.
|
||||
* @param priority - the priority
|
||||
* @throws IllegalArgumentException if priority is not >= 0 and <= 1.
|
||||
|
|
|
@ -45,7 +45,7 @@ import java.io.Serializable;
|
|||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
* @author Eric Blake (ebb9@email.byu.edu)
|
||||
* @status
|
||||
* @status
|
||||
*/
|
||||
public class Insets implements Cloneable, Serializable
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* JobAttributes.java --
|
||||
/* JobAttributes.java --
|
||||
Copyright (C) 2002, 2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
|
|
@ -423,7 +423,7 @@ public abstract class KeyboardFocusManager
|
|||
{
|
||||
if (focusOwner == null || focusOwner.focusable)
|
||||
setGlobalObject (currentPermanentFocusOwners, focusOwner,
|
||||
"permanentFocusOwner");
|
||||
"permanentFocusOwner");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -556,8 +556,8 @@ public abstract class KeyboardFocusManager
|
|||
* @see #DOWN_CYCLE_TRAVERSAL_KEYS
|
||||
*/
|
||||
public void setDefaultFocusTraversalKeys (int id,
|
||||
Set<? extends AWTKeyStroke>
|
||||
keystrokes)
|
||||
Set<? extends AWTKeyStroke>
|
||||
keystrokes)
|
||||
{
|
||||
if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS &&
|
||||
id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS &&
|
||||
|
@ -668,7 +668,7 @@ public abstract class KeyboardFocusManager
|
|||
* {@link java.lang.ThreadGroup}) and {@link
|
||||
* #getGlobalCurrentFocusCycleRoot}. This method does not actually
|
||||
* make <code>cycleRoot</code> the current focus cycle root.
|
||||
*
|
||||
*
|
||||
* @param cycleRoot the focus cycle root to return from
|
||||
* getCurrentFocusCycleRoot and getGlobalCurrentFocusCycleRoot
|
||||
*/
|
||||
|
@ -752,7 +752,7 @@ public abstract class KeyboardFocusManager
|
|||
* Nothing occurs if a null listener is supplied. null is regarded as a valid property name.
|
||||
*
|
||||
* @param name the name of the property to handle change events for.
|
||||
* @param l the listener to register for changes to the specified property.
|
||||
* @param l the listener to register for changes to the specified property.
|
||||
* @see KeyboardFocusManager#addPropertyChangeListener(java.beans.PropertyChangeListener)
|
||||
*/
|
||||
public void addPropertyChangeListener(String name, PropertyChangeListener l)
|
||||
|
@ -819,7 +819,7 @@ public abstract class KeyboardFocusManager
|
|||
*
|
||||
* Nothing occurs if a null listener is supplied.
|
||||
*
|
||||
* @param l the listener to register.
|
||||
* @param l the listener to register.
|
||||
* @see KeyboardFocusManager#addVetoableChangeListener(String, java.beans.VetoableChangeListener)
|
||||
*/
|
||||
public void addVetoableChangeListener(VetoableChangeListener l)
|
||||
|
@ -870,7 +870,7 @@ public abstract class KeyboardFocusManager
|
|||
* Nothing occurs if a null listener is supplied. null is regarded as a valid property name.
|
||||
*
|
||||
* @param name the name of the property to handle change events for.
|
||||
* @param l the listener to register for changes to the specified property.
|
||||
* @param l the listener to register for changes to the specified property.
|
||||
* @see KeyboardFocusManager#addVetoableChangeListener(java.beans.VetoableChangeListener)
|
||||
*/
|
||||
public void addVetoableChangeListener(String name, VetoableChangeListener l)
|
||||
|
@ -1070,7 +1070,7 @@ public abstract class KeyboardFocusManager
|
|||
* The actual dispatching is performed by calling
|
||||
* <code>redispatchEvent()</code>. This avoids the infinite recursion
|
||||
* of dispatch requests which may occur if this method is called on
|
||||
* the target component.
|
||||
* the target component.
|
||||
*
|
||||
* @param e the event to dispatch.
|
||||
* @return true if the event was dispatched.
|
||||
|
@ -1087,14 +1087,14 @@ public abstract class KeyboardFocusManager
|
|||
* within this manager (<code>dispatchEvent()</code>) and
|
||||
* the key event dispatchers should use this method to handle
|
||||
* dispatching rather than the dispatch method of the target
|
||||
* component.
|
||||
* component.
|
||||
* <br />
|
||||
* <br />
|
||||
* <strong>
|
||||
* This method is not intended for general consumption, and is
|
||||
* only for the use of the aforementioned classes.
|
||||
* </strong>
|
||||
*
|
||||
*
|
||||
* @param target the target component to which the event is
|
||||
* dispatched.
|
||||
* @param e the event to dispatch.
|
||||
|
@ -1229,9 +1229,9 @@ public abstract class KeyboardFocusManager
|
|||
* However, in the case of a <code>Window</code>, the default
|
||||
* focus component becomes the focus owner and the focus cycle
|
||||
* root is not changed.
|
||||
*
|
||||
*
|
||||
* @param comp the component used as part of the focus traversal.
|
||||
*/
|
||||
*/
|
||||
public abstract void upFocusCycle(Component comp);
|
||||
|
||||
/**
|
||||
|
@ -1239,10 +1239,10 @@ public abstract class KeyboardFocusManager
|
|||
* If the supplied container is a focus cycle root, then this
|
||||
* becomes the current focus cycle root and the focus goes
|
||||
* to the default component of the specified container.
|
||||
* Nothing happens for non-focus cycle root containers.
|
||||
*
|
||||
* Nothing happens for non-focus cycle root containers.
|
||||
*
|
||||
* @param cont the container used as part of the focus traversal.
|
||||
*/
|
||||
*/
|
||||
public abstract void downFocusCycle(Container cont);
|
||||
|
||||
/**
|
||||
|
@ -1433,7 +1433,7 @@ public abstract class KeyboardFocusManager
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Maps focus requests from heavyweight to lightweight components.
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Label.java -- Java label widget
|
||||
Copyright (C) 1999, 2000, 2002, 2004, 2005, 2006, Free Software
|
||||
Copyright (C) 1999, 2000, 2002, 2004, 2005, 2006, Free Software
|
||||
Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -76,7 +76,7 @@ public class Label extends Component implements Accessible
|
|||
|
||||
/**
|
||||
* @serial Indicates the alignment of the text within this label's window.
|
||||
* This is one of the constants in this class. The default value is
|
||||
* This is one of the constants in this class. The default value is
|
||||
* <code>LEFT</code>.
|
||||
*/
|
||||
private int alignment;
|
||||
|
@ -211,7 +211,7 @@ public class Label extends Component implements Accessible
|
|||
protected String paramString()
|
||||
{
|
||||
return ("text=" + getText() + ",alignment=" +
|
||||
getAlignment() + "," + super.paramString());
|
||||
getAlignment() + "," + super.paramString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -280,7 +280,7 @@ public class Label extends Component implements Accessible
|
|||
{
|
||||
return "label" + getUniqueLong();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The number used to generate the name returned by getName.
|
||||
*/
|
||||
|
@ -292,4 +292,3 @@ public class Label extends Component implements Accessible
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ final class LightweightDispatcher
|
|||
{
|
||||
// Nothing to do here.
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Receives notification if a mouse event passes along the eventqueue.
|
||||
*
|
||||
|
@ -120,7 +120,7 @@ final class LightweightDispatcher
|
|||
/**
|
||||
* Handles all mouse events that are targetted at toplevel containers
|
||||
* (Window instances) and dispatches them to the correct lightweight child.
|
||||
*
|
||||
*
|
||||
* @param ev the mouse event
|
||||
* @return whether or not we found a lightweight that handled the event.
|
||||
*/
|
||||
|
|
|
@ -65,7 +65,7 @@ public class List extends Component
|
|||
/**
|
||||
* The number used to generate the name returned by getName.
|
||||
*/
|
||||
private static transient long next_list_number;
|
||||
private static transient long next_list_number;
|
||||
|
||||
// Serialization constant
|
||||
private static final long serialVersionUID = -3304312411574666869L;
|
||||
|
@ -147,20 +147,20 @@ public class List extends Component
|
|||
this.rows = 4;
|
||||
else
|
||||
this.rows = rows;
|
||||
|
||||
|
||||
this.multipleMode = multipleMode;
|
||||
selected = new int[0];
|
||||
|
||||
if (GraphicsEnvironment.isHeadless())
|
||||
throw new HeadlessException();
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of items in this list.
|
||||
*
|
||||
* @return The number of items in this list.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public int getItemCount()
|
||||
|
@ -185,13 +185,13 @@ public class List extends Component
|
|||
* Returns the complete list of items.
|
||||
*
|
||||
* @return The complete list of items in the list.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public synchronized String[] getItems()
|
||||
{
|
||||
String[] l_items = new String[getItemCount()];
|
||||
|
||||
|
||||
items.copyInto(l_items);
|
||||
return(l_items);
|
||||
}
|
||||
|
@ -223,7 +223,7 @@ public class List extends Component
|
|||
*
|
||||
* @return <code>true</code> if multi-select mode is enabled,
|
||||
* <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public boolean isMultipleMode()
|
||||
|
@ -237,7 +237,7 @@ public class List extends Component
|
|||
* @return <code>true</code> if multi-select mode is enabled,
|
||||
* <code>false</code> otherwise.
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* <code>isMultipleMode()</code>.
|
||||
*/
|
||||
public boolean allowsMultipleSelections()
|
||||
|
@ -251,7 +251,7 @@ public class List extends Component
|
|||
*
|
||||
* @param multipleMode <code>true</code> to enable multiple mode,
|
||||
* <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public void setMultipleMode(boolean multipleMode)
|
||||
|
@ -269,20 +269,20 @@ public class List extends Component
|
|||
* @deprecated
|
||||
*/
|
||||
public void setMultipleSelections(boolean multipleMode)
|
||||
{
|
||||
{
|
||||
this.multipleMode = multipleMode;
|
||||
|
||||
ListPeer peer = (ListPeer) getPeer();
|
||||
if (peer != null)
|
||||
peer.setMultipleMode(multipleMode);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the minimum size of this component.
|
||||
*
|
||||
* @return The minimum size of this component.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public Dimension getMinimumSize()
|
||||
|
@ -310,7 +310,7 @@ public class List extends Component
|
|||
* @param rows The number of rows to size for.
|
||||
*
|
||||
* @return The minimum size of this component.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public Dimension getMinimumSize(int rows)
|
||||
|
@ -326,7 +326,7 @@ public class List extends Component
|
|||
*
|
||||
* @return The minimum size of this component.
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* <code>getMinimumSize(int)</code>>
|
||||
*/
|
||||
public Dimension minimumSize(int rows)
|
||||
|
@ -342,7 +342,7 @@ public class List extends Component
|
|||
* Returns the preferred size of this component.
|
||||
*
|
||||
* @return The preferred size of this component.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public Dimension getPreferredSize()
|
||||
|
@ -358,7 +358,7 @@ public class List extends Component
|
|||
* @deprecated This method is deprecated in favor of
|
||||
* <code>getPreferredSize</code>.
|
||||
*/
|
||||
public Dimension preferredSize()
|
||||
public Dimension preferredSize()
|
||||
{
|
||||
return preferredSize(getRows());
|
||||
}
|
||||
|
@ -370,7 +370,7 @@ public class List extends Component
|
|||
* @param rows The number of rows to size for.
|
||||
*
|
||||
* @return The preferred size of this component.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public Dimension getPreferredSize(int rows)
|
||||
|
@ -386,7 +386,7 @@ public class List extends Component
|
|||
*
|
||||
* @return The preferred size of this component.
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* <code>getPreferredSize(int)</code>>
|
||||
*/
|
||||
public Dimension preferredSize(int rows)
|
||||
|
@ -402,7 +402,7 @@ public class List extends Component
|
|||
* This method adds the specified item to the end of the list.
|
||||
*
|
||||
* @param item The item to add to the list.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public void add(String item)
|
||||
|
@ -430,7 +430,7 @@ public class List extends Component
|
|||
* @param item The item to add to the list.
|
||||
* @param index The location in the list to add the item, or -1 to add
|
||||
* to the end.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public void add(String item, int index)
|
||||
|
@ -452,11 +452,11 @@ public class List extends Component
|
|||
public void addItem(String item, int index)
|
||||
{
|
||||
if (item == null)
|
||||
item = "";
|
||||
|
||||
item = "";
|
||||
|
||||
if (index < -1)
|
||||
index = -1;
|
||||
|
||||
|
||||
if ((index == -1) || (index >= items.size ()))
|
||||
items.addElement (item);
|
||||
else
|
||||
|
@ -482,11 +482,11 @@ public class List extends Component
|
|||
if (isSelected(index))
|
||||
{
|
||||
selected = true;
|
||||
deselect(index);
|
||||
deselect(index);
|
||||
}
|
||||
|
||||
|
||||
items.removeElementAt (index);
|
||||
|
||||
|
||||
if (selected)
|
||||
select(index);
|
||||
|
||||
|
@ -501,7 +501,7 @@ public class List extends Component
|
|||
* @param index The index of the item to delete.
|
||||
*
|
||||
* @exception IllegalArgumentException If the index is not valid
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public void remove(int index) throws IllegalArgumentException
|
||||
|
@ -519,7 +519,7 @@ public class List extends Component
|
|||
*
|
||||
* @deprecated This method is deprecated for some unknown reason.
|
||||
*/
|
||||
public synchronized void delItems(int start, int end)
|
||||
public synchronized void delItems(int start, int end)
|
||||
throws IllegalArgumentException
|
||||
{
|
||||
// We must run the loop in reverse direction.
|
||||
|
@ -538,7 +538,7 @@ public class List extends Component
|
|||
* @param item The item to delete.
|
||||
*
|
||||
* @exception IllegalArgumentException If the specified item does not exist.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public synchronized void remove(String item) throws IllegalArgumentException
|
||||
|
@ -552,7 +552,7 @@ public class List extends Component
|
|||
|
||||
/**
|
||||
* Deletes all of the items from the list.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public synchronized void removeAll()
|
||||
|
@ -562,7 +562,7 @@ public class List extends Component
|
|||
|
||||
/**
|
||||
* Deletes all of the items from the list.
|
||||
*
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of <code>removeAll()</code>.
|
||||
*/
|
||||
public void clear()
|
||||
|
@ -572,7 +572,7 @@ public class List extends Component
|
|||
ListPeer peer = (ListPeer) getPeer();
|
||||
if (peer != null)
|
||||
peer.removeAll();
|
||||
|
||||
|
||||
selected = new int[0];
|
||||
}
|
||||
|
||||
|
@ -584,7 +584,7 @@ public class List extends Component
|
|||
*
|
||||
* @exception ArrayIndexOutOfBoundsException If the index is not valid.
|
||||
*/
|
||||
public synchronized void replaceItem(String item, int index)
|
||||
public synchronized void replaceItem(String item, int index)
|
||||
throws ArrayIndexOutOfBoundsException
|
||||
{
|
||||
if ((index < 0) || (index >= items.size()))
|
||||
|
@ -598,7 +598,7 @@ public class List extends Component
|
|||
ListPeer l = (ListPeer) peer;
|
||||
|
||||
/* We add first and then remove so that the selected
|
||||
item remains the same */
|
||||
item remains the same */
|
||||
l.add (item, index + 1);
|
||||
l.delItems (index, index);
|
||||
}
|
||||
|
@ -620,12 +620,12 @@ public class List extends Component
|
|||
|
||||
if (selected == null || selected.length != 1)
|
||||
return -1;
|
||||
|
||||
|
||||
return selected[0];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array containing the indexes of the rows that are
|
||||
* Returns an array containing the indexes of the rows that are
|
||||
* currently selected.
|
||||
*
|
||||
* @return A list of indexes of selected rows.
|
||||
|
@ -636,13 +636,13 @@ public class List extends Component
|
|||
{
|
||||
ListPeer l = (ListPeer) peer;
|
||||
selected = l.getSelectedIndexes();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return selected;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the item that is currently selected, or <code>null</code> if there
|
||||
* Returns the item that is currently selected, or <code>null</code> if there
|
||||
* is no item selected. FIXME: What happens if multiple items selected?
|
||||
*
|
||||
* @return The selected item, or <code>null</code> if there is no
|
||||
|
@ -703,7 +703,7 @@ public class List extends Component
|
|||
*
|
||||
* @return <code>true</code> if the index is selected, <code>false</code>
|
||||
* otherwise.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public boolean isIndexSelected(int index)
|
||||
|
@ -738,7 +738,7 @@ public class List extends Component
|
|||
*
|
||||
* @param index The index of the item to be made visible.
|
||||
*/
|
||||
public synchronized void makeVisible(int index)
|
||||
public synchronized void makeVisible(int index)
|
||||
throws IllegalArgumentException
|
||||
{
|
||||
visibleIndex = index;
|
||||
|
@ -753,7 +753,7 @@ public class List extends Component
|
|||
* Returns the index of the last item that was made visible via the
|
||||
* <code>makeVisible()</code> method.
|
||||
*
|
||||
* @return The index of the last item made visible via the
|
||||
* @return The index of the last item made visible via the
|
||||
* <code>makeVisible()</code> method.
|
||||
*/
|
||||
public int getVisibleIndex()
|
||||
|
@ -771,7 +771,7 @@ public class List extends Component
|
|||
ListPeer lp = (ListPeer) getPeer();
|
||||
if (lp != null)
|
||||
lp.select(index);
|
||||
|
||||
|
||||
if (selected != null)
|
||||
{
|
||||
boolean found = false;
|
||||
|
@ -786,14 +786,14 @@ public class List extends Component
|
|||
{
|
||||
selected = new int[] { index };
|
||||
return;
|
||||
}
|
||||
}
|
||||
int[] temp = new int[selected.length + 1];
|
||||
System.arraycopy(selected, 0, temp, 0, selected.length);
|
||||
temp[selected.length] = index;
|
||||
selected = temp;
|
||||
}
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
selected = new int[1];
|
||||
selected[0] = index;
|
||||
|
@ -820,7 +820,7 @@ public class List extends Component
|
|||
temp[i] = selected[i];
|
||||
else
|
||||
{
|
||||
System.arraycopy(selected, i + 1, temp, i,
|
||||
System.arraycopy(selected, i + 1, temp, i,
|
||||
selected.length - i - 1);
|
||||
break;
|
||||
}
|
||||
|
@ -852,7 +852,7 @@ public class List extends Component
|
|||
* registered listeners for this object.
|
||||
*
|
||||
* @param listener The listener to add.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public synchronized void addActionListener(ActionListener listener)
|
||||
|
@ -865,7 +865,7 @@ public class List extends Component
|
|||
* registers listeners for this object.
|
||||
*
|
||||
* @param listener The listener to remove.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public synchronized void removeActionListener(ActionListener listener)
|
||||
|
@ -878,7 +878,7 @@ public class List extends Component
|
|||
* registered listeners for this object.
|
||||
*
|
||||
* @param listener The listener to add.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public synchronized void addItemListener(ItemListener listener)
|
||||
|
@ -891,7 +891,7 @@ public class List extends Component
|
|||
* registers listeners for this object.
|
||||
*
|
||||
* @param listener The listener to remove.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public synchronized void removeItemListener(ItemListener listener)
|
||||
|
@ -908,7 +908,7 @@ public class List extends Component
|
|||
* superclass method is called to process this event.
|
||||
*
|
||||
* @param event The event to process.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
protected void processEvent(AWTEvent event)
|
||||
|
@ -929,7 +929,7 @@ public class List extends Component
|
|||
* the <code>enableEvents()</code> method.
|
||||
*
|
||||
* @param event The event to process.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
protected void processActionEvent(ActionEvent event)
|
||||
|
@ -946,7 +946,7 @@ public class List extends Component
|
|||
* the <code>enableEvents()</code> method.
|
||||
*
|
||||
* @param event The event to process.
|
||||
*
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
protected void processItemEvent(ItemEvent event)
|
||||
|
@ -959,12 +959,12 @@ public class List extends Component
|
|||
{
|
||||
if (e.id <= ItemEvent.ITEM_LAST
|
||||
&& e.id >= ItemEvent.ITEM_FIRST
|
||||
&& (item_listeners != null
|
||||
&& (item_listeners != null
|
||||
|| (eventMask & AWTEvent.ITEM_EVENT_MASK) != 0))
|
||||
processEvent(e);
|
||||
else if (e.id <= ActionEvent.ACTION_LAST
|
||||
&& e.id >= ActionEvent.ACTION_FIRST
|
||||
&& (action_listeners != null
|
||||
else if (e.id <= ActionEvent.ACTION_LAST
|
||||
&& e.id >= ActionEvent.ACTION_FIRST
|
||||
&& (action_listeners != null
|
||||
|| (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0))
|
||||
processEvent(e);
|
||||
else
|
||||
|
@ -983,12 +983,12 @@ public class List extends Component
|
|||
|
||||
/**
|
||||
* Returns an array of all the objects currently registered as FooListeners
|
||||
* upon this <code>List</code>. FooListeners are registered using the
|
||||
* upon this <code>List</code>. FooListeners are registered using the
|
||||
* addFooListener method.
|
||||
*
|
||||
* @exception ClassCastException If listenerType doesn't specify a class or
|
||||
* interface that implements java.util.EventListener.
|
||||
*
|
||||
*
|
||||
* @since 1.3
|
||||
*/
|
||||
public <T extends EventListener> T[] getListeners (Class<T> listenerType)
|
||||
|
@ -1004,25 +1004,25 @@ public class List extends Component
|
|||
|
||||
/**
|
||||
* Returns all action listeners registered to this object.
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public ActionListener[] getActionListeners ()
|
||||
{
|
||||
return (ActionListener[]) getListeners (ActionListener.class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns all action listeners registered to this object.
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public ItemListener[] getItemListeners ()
|
||||
{
|
||||
return (ItemListener[]) getListeners (ItemListener.class);
|
||||
}
|
||||
|
||||
// Accessibility internal class
|
||||
|
||||
// Accessibility internal class
|
||||
protected class AccessibleAWTList extends AccessibleAWTComponent
|
||||
implements AccessibleSelection, ItemListener, ActionListener
|
||||
{
|
||||
|
@ -1032,11 +1032,11 @@ public class List extends Component
|
|||
implements Accessible
|
||||
{
|
||||
private static final long serialVersionUID = 4412022926028300317L;
|
||||
|
||||
|
||||
// Field names are fixed by serialization spec.
|
||||
private List parent;
|
||||
private int indexInParent;
|
||||
|
||||
|
||||
public AccessibleAWTListChild(List parent, int indexInParent)
|
||||
{
|
||||
this.parent = parent;
|
||||
|
@ -1044,7 +1044,7 @@ public class List extends Component
|
|||
if (parent == null)
|
||||
this.indexInParent = -1;
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see javax.accessibility.Accessible#getAccessibleContext()
|
||||
*/
|
||||
|
@ -1052,12 +1052,12 @@ public class List extends Component
|
|||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleRole getAccessibleRole()
|
||||
{
|
||||
return AccessibleRole.LIST_ITEM;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleStateSet getAccessibleStateSet()
|
||||
{
|
||||
AccessibleStateSet states = super.getAccessibleStateSet();
|
||||
|
@ -1065,25 +1065,25 @@ public class List extends Component
|
|||
states.add(AccessibleState.SELECTED);
|
||||
return states;
|
||||
}
|
||||
|
||||
|
||||
public int getAccessibleIndexInParent()
|
||||
{
|
||||
return indexInParent;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public AccessibleAWTList()
|
||||
{
|
||||
addItemListener(this);
|
||||
addActionListener(this);
|
||||
}
|
||||
|
||||
|
||||
public AccessibleRole getAccessibleRole()
|
||||
{
|
||||
return AccessibleRole.LIST;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleStateSet getAccessibleStateSet()
|
||||
{
|
||||
AccessibleStateSet states = super.getAccessibleStateSet();
|
||||
|
@ -1104,7 +1104,7 @@ public class List extends Component
|
|||
return null;
|
||||
return new AccessibleAWTListChild(List.this, i);
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see javax.accessibility.AccessibleSelection#getAccessibleSelectionCount()
|
||||
*/
|
||||
|
@ -1188,7 +1188,7 @@ public class List extends Component
|
|||
public void actionPerformed(ActionEvent event)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1204,7 +1204,7 @@ public class List extends Component
|
|||
accessibleContext = new AccessibleAWTList();
|
||||
return accessibleContext;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>List</code>.
|
||||
*
|
||||
|
|
|
@ -52,7 +52,7 @@ import java.util.ArrayList;
|
|||
* means that you cannot say exactly which media object has which status,
|
||||
* at most you can say that there <em>are</em> certain media objects with
|
||||
* some certain status.
|
||||
*
|
||||
*
|
||||
* At the moment only images are supported by this class.
|
||||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
|
@ -85,7 +85,7 @@ public class MediaTracker implements java.io.Serializable
|
|||
* This represents a media object that is tracked by a MediaTracker.
|
||||
* It also implements a simple linked list.
|
||||
*/
|
||||
// FIXME: The serialized form documentation says MediaEntry is a
|
||||
// FIXME: The serialized form documentation says MediaEntry is a
|
||||
// serializable field, but the serialized form of MediaEntry itself
|
||||
// doesn't appear to be documented.
|
||||
class MediaEntry implements ImageObserver
|
||||
|
@ -107,7 +107,7 @@ public class MediaTracker implements java.io.Serializable
|
|||
|
||||
/** The height of the image. */
|
||||
int height;
|
||||
|
||||
|
||||
/**
|
||||
* Receives notification from an {@link java.awt.image.ImageProducer}
|
||||
* that more data of the image is available.
|
||||
|
@ -125,7 +125,7 @@ public class MediaTracker implements java.io.Serializable
|
|||
*
|
||||
* @see java.awt.image.ImageObserver
|
||||
*/
|
||||
public boolean imageUpdate(Image img, int flags, int x, int y,
|
||||
public boolean imageUpdate(Image img, int flags, int x, int y,
|
||||
int width, int height)
|
||||
{
|
||||
if ((flags & ABORT) != 0)
|
||||
|
@ -234,31 +234,31 @@ public class MediaTracker implements java.io.Serializable
|
|||
{
|
||||
MediaEntry e = head;
|
||||
boolean result = true;
|
||||
|
||||
|
||||
while (e != null)
|
||||
{
|
||||
if ((e.status & (COMPLETE | ERRORED | ABORTED)) == 0)
|
||||
{
|
||||
if (load && ((e.status & LOADING) == 0))
|
||||
{
|
||||
if (target.prepareImage(e.image, e))
|
||||
e.status = COMPLETE;
|
||||
else
|
||||
{
|
||||
e.status = LOADING;
|
||||
int flags = target.checkImage(e.image, e);
|
||||
if ((flags & ImageObserver.ABORT) != 0)
|
||||
e.status = ABORTED;
|
||||
else if ((flags & ImageObserver.ERROR) != 0)
|
||||
e.status = ERRORED;
|
||||
else if ((flags & ImageObserver.ALLBITS) != 0)
|
||||
e.status = COMPLETE;
|
||||
}
|
||||
boolean complete = (e.status
|
||||
& (COMPLETE | ABORTED | ERRORED)) != 0;
|
||||
if (!complete)
|
||||
result = false;
|
||||
}
|
||||
if (target.prepareImage(e.image, e))
|
||||
e.status = COMPLETE;
|
||||
else
|
||||
{
|
||||
e.status = LOADING;
|
||||
int flags = target.checkImage(e.image, e);
|
||||
if ((flags & ImageObserver.ABORT) != 0)
|
||||
e.status = ABORTED;
|
||||
else if ((flags & ImageObserver.ERROR) != 0)
|
||||
e.status = ERRORED;
|
||||
else if ((flags & ImageObserver.ALLBITS) != 0)
|
||||
e.status = COMPLETE;
|
||||
}
|
||||
boolean complete = (e.status
|
||||
& (COMPLETE | ABORTED | ERRORED)) != 0;
|
||||
if (!complete)
|
||||
result = false;
|
||||
}
|
||||
else
|
||||
result = false;
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ public class MediaTracker implements java.io.Serializable
|
|||
*/
|
||||
public boolean isErrorAny()
|
||||
{
|
||||
MediaEntry e = head;
|
||||
MediaEntry e = head;
|
||||
while (e != null)
|
||||
{
|
||||
if ((e.status & ERRORED) != 0)
|
||||
|
@ -385,16 +385,16 @@ public class MediaTracker implements java.io.Serializable
|
|||
if (target.prepareImage(e.image, e))
|
||||
e.status = COMPLETE;
|
||||
else
|
||||
{
|
||||
{
|
||||
e.status = LOADING;
|
||||
int flags = target.checkImage(e.image, e);
|
||||
if ((flags & ImageObserver.ABORT) != 0)
|
||||
e.status = ABORTED;
|
||||
else if ((flags & ImageObserver.ERROR) != 0)
|
||||
e.status = ERRORED;
|
||||
else if ((flags & ImageObserver.ALLBITS) != 0)
|
||||
e.status = COMPLETE;
|
||||
}
|
||||
if ((flags & ImageObserver.ABORT) != 0)
|
||||
e.status = ABORTED;
|
||||
else if ((flags & ImageObserver.ERROR) != 0)
|
||||
e.status = ERRORED;
|
||||
else if ((flags & ImageObserver.ALLBITS) != 0)
|
||||
e.status = COMPLETE;
|
||||
}
|
||||
}
|
||||
result |= e.status;
|
||||
e = e.next;
|
||||
|
@ -431,7 +431,7 @@ public class MediaTracker implements java.io.Serializable
|
|||
{
|
||||
MediaEntry e = head;
|
||||
boolean result = true;
|
||||
|
||||
|
||||
while (e != null)
|
||||
{
|
||||
if (e.id == id && ((e.status & (COMPLETE | ABORTED | ERRORED)) == 0))
|
||||
|
@ -439,22 +439,22 @@ public class MediaTracker implements java.io.Serializable
|
|||
if (load && ((e.status & LOADING) == 0))
|
||||
{
|
||||
e.status = LOADING;
|
||||
if (target.prepareImage(e.image, e))
|
||||
e.status = COMPLETE;
|
||||
else
|
||||
{
|
||||
int flags = target.checkImage(e.image, e);
|
||||
if ((flags & ImageObserver.ABORT) != 0)
|
||||
e.status = ABORTED;
|
||||
else if ((flags & ImageObserver.ERROR) != 0)
|
||||
e.status = ERRORED;
|
||||
else if ((flags & ImageObserver.ALLBITS) != 0)
|
||||
e.status = COMPLETE;
|
||||
}
|
||||
boolean complete = (e.status
|
||||
& (COMPLETE | ABORTED | ERRORED)) != 0;
|
||||
if (!complete)
|
||||
result = false;
|
||||
if (target.prepareImage(e.image, e))
|
||||
e.status = COMPLETE;
|
||||
else
|
||||
{
|
||||
int flags = target.checkImage(e.image, e);
|
||||
if ((flags & ImageObserver.ABORT) != 0)
|
||||
e.status = ABORTED;
|
||||
else if ((flags & ImageObserver.ERROR) != 0)
|
||||
e.status = ERRORED;
|
||||
else if ((flags & ImageObserver.ALLBITS) != 0)
|
||||
e.status = COMPLETE;
|
||||
}
|
||||
boolean complete = (e.status
|
||||
& (COMPLETE | ABORTED | ERRORED)) != 0;
|
||||
if (!complete)
|
||||
result = false;
|
||||
}
|
||||
else
|
||||
result = false;
|
||||
|
@ -475,7 +475,7 @@ public class MediaTracker implements java.io.Serializable
|
|||
*/
|
||||
public boolean isErrorID(int id)
|
||||
{
|
||||
MediaEntry e = head;
|
||||
MediaEntry e = head;
|
||||
while (e != null)
|
||||
{
|
||||
if (e.id == id && ((e.status & ERRORED) != 0))
|
||||
|
@ -593,19 +593,19 @@ public class MediaTracker implements java.io.Serializable
|
|||
{
|
||||
if (load && e.status == 0)
|
||||
{
|
||||
if (target.prepareImage(e.image, e))
|
||||
if (target.prepareImage(e.image, e))
|
||||
e.status = COMPLETE;
|
||||
else
|
||||
{
|
||||
e.status = LOADING;
|
||||
int flags = target.checkImage(e.image, e);
|
||||
if ((flags & ImageObserver.ABORT) != 0)
|
||||
e.status = ABORTED;
|
||||
else if ((flags & ImageObserver.ERROR) != 0)
|
||||
e.status = ERRORED;
|
||||
else if ((flags & ImageObserver.ALLBITS) != 0)
|
||||
e.status = COMPLETE;
|
||||
}
|
||||
else
|
||||
{
|
||||
e.status = LOADING;
|
||||
int flags = target.checkImage(e.image, e);
|
||||
if ((flags & ImageObserver.ABORT) != 0)
|
||||
e.status = ABORTED;
|
||||
else if ((flags & ImageObserver.ERROR) != 0)
|
||||
e.status = ERRORED;
|
||||
else if ((flags & ImageObserver.ALLBITS) != 0)
|
||||
e.status = COMPLETE;
|
||||
}
|
||||
}
|
||||
result |= e.status;
|
||||
}
|
||||
|
|
|
@ -163,10 +163,10 @@ public class Menu extends MenuItem implements MenuContainer, Serializable
|
|||
{
|
||||
return items.size();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the item at the specified index.
|
||||
*
|
||||
*
|
||||
* @param index the item index.
|
||||
*
|
||||
* @return The item at the specified index.
|
||||
|
@ -240,7 +240,7 @@ public class Menu extends MenuItem implements MenuContainer, Serializable
|
|||
MenuContainer parent = item.getParent();
|
||||
if (parent != null)
|
||||
parent.remove(item);
|
||||
|
||||
|
||||
items.insertElementAt(item, index);
|
||||
item.setParent(this);
|
||||
|
||||
|
@ -263,8 +263,8 @@ public class Menu extends MenuItem implements MenuContainer, Serializable
|
|||
}
|
||||
|
||||
/**
|
||||
* Inserts an item with the specified label into this menu at the specified
|
||||
* index. If the index is greater than or equal to the number of items
|
||||
* Inserts an item with the specified label into this menu at the specified
|
||||
* index. If the index is greater than or equal to the number of items
|
||||
* already in the menu, the new item is added as the last item in the menu.
|
||||
*
|
||||
* @param label The label of the item to add.
|
||||
|
@ -302,7 +302,7 @@ public class Menu extends MenuItem implements MenuContainer, Serializable
|
|||
* Deletes the item at the specified index from this menu.
|
||||
*
|
||||
* @param index The index of the item to remove.
|
||||
*
|
||||
*
|
||||
* @exception ArrayIndexOutOfBoundsException If the index is otherwise invalid.
|
||||
*/
|
||||
public synchronized void remove(int index)
|
||||
|
@ -391,7 +391,7 @@ public class Menu extends MenuItem implements MenuContainer, Serializable
|
|||
public String paramString()
|
||||
{
|
||||
return (",tearOff=" + tearOff + ",isHelpMenu=" + isHelpMenu
|
||||
+ super.paramString());
|
||||
+ super.paramString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -405,7 +405,7 @@ public class Menu extends MenuItem implements MenuContainer, Serializable
|
|||
protected AccessibleAWTMenu()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public AccessibleRole getAccessibleRole()
|
||||
{
|
||||
return AccessibleRole.MENU;
|
||||
|
@ -425,7 +425,7 @@ public class Menu extends MenuItem implements MenuContainer, Serializable
|
|||
accessibleContext = new AccessibleAWTMenu();
|
||||
return accessibleContext;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>Menu</code>.
|
||||
*
|
||||
|
@ -440,5 +440,5 @@ public class Menu extends MenuItem implements MenuContainer, Serializable
|
|||
{
|
||||
return next_menu_number++;
|
||||
}
|
||||
|
||||
|
||||
} // class Menu
|
||||
|
|
|
@ -67,7 +67,7 @@ public class MenuBar extends MenuComponent
|
|||
* The number used to generate the name returned by getName.
|
||||
*/
|
||||
private static transient long next_menubar_number;
|
||||
|
||||
|
||||
/**
|
||||
* @serial The menu used for providing help information
|
||||
*/
|
||||
|
@ -110,8 +110,8 @@ public class MenuBar extends MenuComponent
|
|||
|
||||
if (helpMenu != null)
|
||||
{
|
||||
if (myPeer != null)
|
||||
helpMenu.removeNotify();
|
||||
if (myPeer != null)
|
||||
helpMenu.removeNotify();
|
||||
helpMenu.setParent(null);
|
||||
}
|
||||
helpMenu = menu;
|
||||
|
@ -234,8 +234,8 @@ public class MenuBar extends MenuComponent
|
|||
MenuBarPeer peer = (MenuBarPeer) getPeer();
|
||||
if (peer == null)
|
||||
{
|
||||
peer = getToolkit().createMenuBar(this);
|
||||
setPeer(peer);
|
||||
peer = getToolkit().createMenuBar(this);
|
||||
setPeer(peer);
|
||||
}
|
||||
|
||||
Enumeration e = menus.elements();
|
||||
|
@ -243,7 +243,7 @@ public class MenuBar extends MenuComponent
|
|||
{
|
||||
Menu mi = (Menu)e.nextElement();
|
||||
mi.addNotify();
|
||||
peer.addMenu(mi);
|
||||
peer.addMenu(mi);
|
||||
}
|
||||
|
||||
if (helpMenu != null)
|
||||
|
@ -336,7 +336,7 @@ public class MenuBar extends MenuComponent
|
|||
accessibleContext = new AccessibleAWTMenuBar();
|
||||
return accessibleContext;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>MenuBar</code>.
|
||||
*
|
||||
|
@ -360,7 +360,7 @@ public class MenuBar extends MenuComponent
|
|||
protected class AccessibleAWTMenuBar
|
||||
extends AccessibleAWTMenuComponent
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* Compatible with JDK 1.4.2 revision 5
|
||||
*/
|
||||
|
|
|
@ -53,7 +53,7 @@ import javax.accessibility.AccessibleSelection;
|
|||
import javax.accessibility.AccessibleStateSet;
|
||||
|
||||
/**
|
||||
* This is the superclass of all menu AWT widgets.
|
||||
* This is the superclass of all menu AWT widgets.
|
||||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
* @author Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
@ -204,7 +204,7 @@ public abstract class MenuComponent implements Serializable
|
|||
name = generateName();
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Subclasses should override this to return unique component names like
|
||||
* "menuitem0".
|
||||
|
@ -230,13 +230,13 @@ public abstract class MenuComponent implements Serializable
|
|||
|
||||
/**
|
||||
* Returns the parent of this component.
|
||||
*
|
||||
*
|
||||
* @return the parent of this component
|
||||
*/
|
||||
public MenuContainer getParent()
|
||||
{
|
||||
return parent;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the parent of this component.
|
||||
|
@ -365,7 +365,7 @@ public abstract class MenuComponent implements Serializable
|
|||
/**
|
||||
* Processes the specified event. In this class, this method simply
|
||||
* calls one of the more specific event handlers.
|
||||
*
|
||||
*
|
||||
* @param event the event to process
|
||||
*/
|
||||
protected void processEvent(AWTEvent event)
|
||||
|
@ -505,7 +505,7 @@ public abstract class MenuComponent implements Serializable
|
|||
* Please note that this method depends on a correctly implemented
|
||||
* version of the <code>getBounds()</code> method. Subclasses
|
||||
* must provide the bounding rectangle via <code>getBounds()</code>
|
||||
* in order for this method to work.
|
||||
* in order for this method to work.
|
||||
*
|
||||
* @param point the point to check against this component
|
||||
* @return true if the point is within this component
|
||||
|
@ -530,7 +530,7 @@ public abstract class MenuComponent implements Serializable
|
|||
* As the existence of children can not be determined from
|
||||
* this abstract class, the implementation of this method
|
||||
* is left to subclasses.
|
||||
*
|
||||
*
|
||||
* @param point the point at which the returned accessible
|
||||
* is located
|
||||
* @return null
|
||||
|
@ -901,7 +901,7 @@ public abstract class MenuComponent implements Serializable
|
|||
* Please note that this method depends on a correctly implemented
|
||||
* version of the <code>getBounds()</code> method. Subclasses
|
||||
* must provide the bounding rectangle via <code>getBounds()</code>
|
||||
* in order for this method to work.
|
||||
* in order for this method to work.
|
||||
*
|
||||
* @return the location of the component, relative to its parent
|
||||
*
|
||||
|
@ -940,7 +940,7 @@ public abstract class MenuComponent implements Serializable
|
|||
* Please note that this method depends on a correctly implemented
|
||||
* version of the <code>getBounds()</code> method. Subclasses
|
||||
* must provide the bounding rectangle via <code>getBounds()</code>
|
||||
* in order for this method to work.
|
||||
* in order for this method to work.
|
||||
*
|
||||
* @return the size of the component
|
||||
*
|
||||
|
@ -1103,7 +1103,7 @@ public abstract class MenuComponent implements Serializable
|
|||
* which don't support multiple selections. Concrete implementations should
|
||||
* override this with a more appopriate and efficient implementation, which
|
||||
* properly takes into account the ability of the component to support multiple
|
||||
* selections.
|
||||
* selections.
|
||||
*/
|
||||
public void selectAllAccessibleSelection()
|
||||
{
|
||||
|
@ -1122,7 +1122,7 @@ public abstract class MenuComponent implements Serializable
|
|||
* <br />
|
||||
* This abstract class knows nothing about how the component
|
||||
* is drawn on screen, so this method simply ignores the supplied
|
||||
* color and continues to use the default system color.
|
||||
* color and continues to use the default system color.
|
||||
* Concrete subclasses which handle the drawing of an onscreen
|
||||
* menu component should override this method and provide
|
||||
* the appropriate information.
|
||||
|
@ -1246,7 +1246,7 @@ public abstract class MenuComponent implements Serializable
|
|||
* Please note that this method depends on a correctly implemented
|
||||
* version of the <code>getBounds()</code> method. Subclasses
|
||||
* must provide the bounding rectangle via <code>getBounds()</code>
|
||||
* in order for this method to work.
|
||||
* in order for this method to work.
|
||||
*
|
||||
* @param point the location of the component, relative to its parent
|
||||
*
|
||||
|
@ -1264,7 +1264,7 @@ public abstract class MenuComponent implements Serializable
|
|||
* Please note that this method depends on a correctly implemented
|
||||
* version of the <code>getBounds()</code> method. Subclasses
|
||||
* must provide the bounding rectangle via <code>getBounds()</code>
|
||||
* in order for this method to work.
|
||||
* in order for this method to work.
|
||||
*
|
||||
* @param size the new size of the component
|
||||
*
|
||||
|
|
|
@ -63,7 +63,7 @@ public class MenuItem extends MenuComponent
|
|||
/*
|
||||
* Static Variables
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* The number used to generate the name returned by getName.
|
||||
|
@ -121,24 +121,24 @@ private transient ActionListener action_listeners;
|
|||
{
|
||||
super();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getAccessibleName()
|
||||
{
|
||||
return label;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleAction getAccessibleAction()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleRole getAccessibleRole()
|
||||
{
|
||||
return AccessibleRole.MENU_ITEM;
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see javax.accessibility.AccessibleAction#getAccessibleActionCount()
|
||||
*/
|
||||
|
@ -153,9 +153,9 @@ private transient ActionListener action_listeners;
|
|||
public String getAccessibleActionDescription(int i)
|
||||
{
|
||||
if (i == 0)
|
||||
return label;
|
||||
return label;
|
||||
else
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -164,7 +164,7 @@ private transient ActionListener action_listeners;
|
|||
public boolean doAccessibleAction(int i)
|
||||
{
|
||||
if (i != 0)
|
||||
return false;
|
||||
return false;
|
||||
processActionEvent(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, actionCommand));
|
||||
return true;
|
||||
}
|
||||
|
@ -173,7 +173,7 @@ private transient ActionListener action_listeners;
|
|||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see javax.accessibility.AccessibleValue#getCurrentAccessibleValue()
|
||||
*/
|
||||
|
@ -191,7 +191,7 @@ private transient ActionListener action_listeners;
|
|||
// this. is required by javac 1.3, otherwise it is confused with
|
||||
// MenuItem.this.setEnabled.
|
||||
this.setEnabled(result);
|
||||
return result;
|
||||
return result;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -209,7 +209,7 @@ private transient ActionListener action_listeners;
|
|||
{
|
||||
return new Integer(0);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -236,7 +236,7 @@ MenuItem()
|
|||
*
|
||||
* @param label The label for this menu item.
|
||||
*/
|
||||
public
|
||||
public
|
||||
MenuItem(String label)
|
||||
{
|
||||
this.label = label;
|
||||
|
@ -311,7 +311,7 @@ isEnabled()
|
|||
|
||||
/**
|
||||
* Sets the enabled status of this menu item.
|
||||
*
|
||||
*
|
||||
* @param enabled <code>true</code> to enable this menu item,
|
||||
* <code>false</code> otherwise.
|
||||
*/
|
||||
|
@ -325,7 +325,7 @@ setEnabled(boolean enabled)
|
|||
|
||||
/**
|
||||
* Sets the enabled status of this menu item.
|
||||
*
|
||||
*
|
||||
* @param enabled <code>true</code> to enable this menu item,
|
||||
* <code>false</code> otherwise.
|
||||
*
|
||||
|
@ -449,7 +449,7 @@ setActionCommand(String actionCommand)
|
|||
/*************************************************************************/
|
||||
|
||||
/**
|
||||
* Enables the specified events. This is done automatically when a
|
||||
* Enables the specified events. This is done automatically when a
|
||||
* listener is added and does not normally need to be done by
|
||||
* application code.
|
||||
*
|
||||
|
@ -460,7 +460,7 @@ protected final void
|
|||
enableEvents(long events)
|
||||
{
|
||||
eventMask |= events;
|
||||
// TODO: see comment in Component.enableEvents().
|
||||
// TODO: see comment in Component.enableEvents().
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
@ -518,10 +518,10 @@ removeActionListener(ActionListener l)
|
|||
ActionListener.class);
|
||||
}
|
||||
|
||||
/** Returns all registered EventListers of the given listenerType.
|
||||
* listenerType must be a subclass of EventListener, or a
|
||||
/** Returns all registered EventListers of the given listenerType.
|
||||
* listenerType must be a subclass of EventListener, or a
|
||||
* ClassClassException is thrown.
|
||||
* @since 1.3
|
||||
* @since 1.3
|
||||
*/
|
||||
public <T extends EventListener> T[] getListeners(Class<T> listenerType)
|
||||
{
|
||||
|
@ -535,10 +535,10 @@ removeActionListener(ActionListener l)
|
|||
void
|
||||
dispatchEventImpl(AWTEvent e)
|
||||
{
|
||||
if (e.id <= ActionEvent.ACTION_LAST
|
||||
if (e.id <= ActionEvent.ACTION_LAST
|
||||
&& e.id >= ActionEvent.ACTION_FIRST
|
||||
&& (action_listeners != null
|
||||
|| (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0))
|
||||
|| (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0))
|
||||
processEvent(e);
|
||||
|
||||
// Send the event to the parent menu if it has not yet been
|
||||
|
@ -588,7 +588,7 @@ public String
|
|||
paramString()
|
||||
{
|
||||
return ("label=" + label + ",enabled=" + enabled +
|
||||
",actionCommand=" + actionCommand + "," + super.paramString());
|
||||
",actionCommand=" + actionCommand + "," + super.paramString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -620,4 +620,4 @@ private static synchronized long getUniqueLong()
|
|||
return next_menuitem_number++;
|
||||
}
|
||||
|
||||
} // class MenuItem
|
||||
} // class MenuItem
|
||||
|
|
|
@ -170,7 +170,7 @@ equals(Object obj)
|
|||
{
|
||||
MenuShortcut ms = (MenuShortcut) obj;
|
||||
return (ms.key == key && ms.usesShift == usesShift);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -211,7 +211,7 @@ paramString()
|
|||
return "key=" + key + ",usesShift=" + usesShift;
|
||||
}
|
||||
|
||||
private void
|
||||
private void
|
||||
setKeyName(int key)
|
||||
{
|
||||
if (key == '\n')
|
||||
|
|
|
@ -81,7 +81,7 @@ public class MouseInfo
|
|||
|
||||
GraphicsDevice[] gds = GraphicsEnvironment.getLocalGraphicsEnvironment().
|
||||
getScreenDevices();
|
||||
|
||||
|
||||
return new PointerInfo( gds[ screen ], p );
|
||||
}
|
||||
|
||||
|
@ -99,4 +99,4 @@ public class MouseInfo
|
|||
return ((ClasspathToolkit)Toolkit.getDefaultToolkit()).
|
||||
getMouseNumberOfButtons();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* PageAttributes.java --
|
||||
/* PageAttributes.java --
|
||||
Copyright (C) 2002, 2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -265,7 +265,7 @@ public final class PageAttributes implements Cloneable
|
|||
}
|
||||
} // class PrintQualityType
|
||||
|
||||
|
||||
|
||||
private ColorType color;
|
||||
private MediaType media;
|
||||
private OrientationRequestedType orientation;
|
||||
|
|
|
@ -178,7 +178,7 @@ public class Point extends Point2D implements Serializable
|
|||
|
||||
/**
|
||||
* Sets this object's coordinates to the specified values. This method
|
||||
* rounds to the nearest integer coordinates by adding 0.5 and calling
|
||||
* rounds to the nearest integer coordinates by adding 0.5 and calling
|
||||
* {@link Math#floor(double)}.
|
||||
*
|
||||
* @param x the new X coordinate
|
||||
|
|
|
@ -81,4 +81,4 @@ public class PointerInfo
|
|||
{
|
||||
return p;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -175,13 +175,13 @@ public class Polygon implements Shape, Serializable
|
|||
int i = npoints;
|
||||
while (--i >= 0)
|
||||
{
|
||||
xpoints[i] += dx;
|
||||
ypoints[i] += dy;
|
||||
xpoints[i] += dx;
|
||||
ypoints[i] += dy;
|
||||
}
|
||||
if (bounds != null)
|
||||
{
|
||||
bounds.x += dx;
|
||||
bounds.y += dy;
|
||||
bounds.x += dx;
|
||||
bounds.y += dy;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -196,43 +196,43 @@ public class Polygon implements Shape, Serializable
|
|||
{
|
||||
if (npoints + 1 > xpoints.length)
|
||||
{
|
||||
int[] newx = new int[npoints + 1];
|
||||
System.arraycopy(xpoints, 0, newx, 0, npoints);
|
||||
xpoints = newx;
|
||||
int[] newx = new int[npoints + 1];
|
||||
System.arraycopy(xpoints, 0, newx, 0, npoints);
|
||||
xpoints = newx;
|
||||
}
|
||||
if (npoints + 1 > ypoints.length)
|
||||
{
|
||||
int[] newy = new int[npoints + 1];
|
||||
System.arraycopy(ypoints, 0, newy, 0, npoints);
|
||||
ypoints = newy;
|
||||
int[] newy = new int[npoints + 1];
|
||||
System.arraycopy(ypoints, 0, newy, 0, npoints);
|
||||
ypoints = newy;
|
||||
}
|
||||
xpoints[npoints] = x;
|
||||
ypoints[npoints] = y;
|
||||
npoints++;
|
||||
if (bounds != null)
|
||||
{
|
||||
if (npoints == 1)
|
||||
{
|
||||
bounds.x = x;
|
||||
bounds.y = y;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (x < bounds.x)
|
||||
{
|
||||
bounds.width += bounds.x - x;
|
||||
bounds.x = x;
|
||||
}
|
||||
else if (x > bounds.x + bounds.width)
|
||||
bounds.width = x - bounds.x;
|
||||
if (y < bounds.y)
|
||||
{
|
||||
bounds.height += bounds.y - y;
|
||||
bounds.y = y;
|
||||
}
|
||||
else if (y > bounds.y + bounds.height)
|
||||
bounds.height = y - bounds.y;
|
||||
}
|
||||
if (npoints == 1)
|
||||
{
|
||||
bounds.x = x;
|
||||
bounds.y = y;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (x < bounds.x)
|
||||
{
|
||||
bounds.width += bounds.x - x;
|
||||
bounds.x = x;
|
||||
}
|
||||
else if (x > bounds.x + bounds.width)
|
||||
bounds.width = x - bounds.x;
|
||||
if (y < bounds.y)
|
||||
{
|
||||
bounds.height += bounds.y - y;
|
||||
bounds.y = y;
|
||||
}
|
||||
else if (y > bounds.y + bounds.height)
|
||||
bounds.height = y - bounds.y;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -263,27 +263,27 @@ public class Polygon implements Shape, Serializable
|
|||
{
|
||||
if (bounds == null)
|
||||
{
|
||||
if (npoints == 0)
|
||||
return bounds = new Rectangle();
|
||||
int i = npoints - 1;
|
||||
int minx = xpoints[i];
|
||||
int maxx = minx;
|
||||
int miny = ypoints[i];
|
||||
int maxy = miny;
|
||||
while (--i >= 0)
|
||||
{
|
||||
int x = xpoints[i];
|
||||
int y = ypoints[i];
|
||||
if (x < minx)
|
||||
minx = x;
|
||||
else if (x > maxx)
|
||||
maxx = x;
|
||||
if (y < miny)
|
||||
miny = y;
|
||||
else if (y > maxy)
|
||||
maxy = y;
|
||||
}
|
||||
bounds = new Rectangle(minx, miny, maxx - minx, maxy - miny);
|
||||
if (npoints == 0)
|
||||
return bounds = new Rectangle();
|
||||
int i = npoints - 1;
|
||||
int minx = xpoints[i];
|
||||
int maxx = minx;
|
||||
int miny = ypoints[i];
|
||||
int maxy = miny;
|
||||
while (--i >= 0)
|
||||
{
|
||||
int x = xpoints[i];
|
||||
int y = ypoints[i];
|
||||
if (x < minx)
|
||||
minx = x;
|
||||
else if (x > maxx)
|
||||
maxx = x;
|
||||
if (y < miny)
|
||||
miny = y;
|
||||
else if (y > maxy)
|
||||
maxy = y;
|
||||
}
|
||||
bounds = new Rectangle(minx, miny, maxx - minx, maxy - miny);
|
||||
}
|
||||
return bounds;
|
||||
}
|
||||
|
@ -476,45 +476,45 @@ public class Polygon implements Shape, Serializable
|
|||
{
|
||||
return new PathIterator()
|
||||
{
|
||||
/** The current vertex of iteration. */
|
||||
private int vertex;
|
||||
/** The current vertex of iteration. */
|
||||
private int vertex;
|
||||
|
||||
public int getWindingRule()
|
||||
{
|
||||
return WIND_EVEN_ODD;
|
||||
}
|
||||
public int getWindingRule()
|
||||
{
|
||||
return WIND_EVEN_ODD;
|
||||
}
|
||||
|
||||
public boolean isDone()
|
||||
{
|
||||
return vertex > npoints;
|
||||
}
|
||||
public boolean isDone()
|
||||
{
|
||||
return vertex > npoints;
|
||||
}
|
||||
|
||||
public void next()
|
||||
{
|
||||
vertex++;
|
||||
}
|
||||
public void next()
|
||||
{
|
||||
vertex++;
|
||||
}
|
||||
|
||||
public int currentSegment(float[] coords)
|
||||
{
|
||||
if (vertex >= npoints)
|
||||
return SEG_CLOSE;
|
||||
coords[0] = xpoints[vertex];
|
||||
coords[1] = ypoints[vertex];
|
||||
if (transform != null)
|
||||
transform.transform(coords, 0, coords, 0, 1);
|
||||
return vertex == 0 ? SEG_MOVETO : SEG_LINETO;
|
||||
}
|
||||
public int currentSegment(float[] coords)
|
||||
{
|
||||
if (vertex >= npoints)
|
||||
return SEG_CLOSE;
|
||||
coords[0] = xpoints[vertex];
|
||||
coords[1] = ypoints[vertex];
|
||||
if (transform != null)
|
||||
transform.transform(coords, 0, coords, 0, 1);
|
||||
return vertex == 0 ? SEG_MOVETO : SEG_LINETO;
|
||||
}
|
||||
|
||||
public int currentSegment(double[] coords)
|
||||
{
|
||||
if (vertex >= npoints)
|
||||
return SEG_CLOSE;
|
||||
coords[0] = xpoints[vertex];
|
||||
coords[1] = ypoints[vertex];
|
||||
if (transform != null)
|
||||
transform.transform(coords, 0, coords, 0, 1);
|
||||
return vertex == 0 ? SEG_MOVETO : SEG_LINETO;
|
||||
}
|
||||
public int currentSegment(double[] coords)
|
||||
{
|
||||
if (vertex >= npoints)
|
||||
return SEG_CLOSE;
|
||||
coords[0] = xpoints[vertex];
|
||||
coords[1] = ypoints[vertex];
|
||||
if (transform != null)
|
||||
transform.transform(coords, 0, coords, 0, 1);
|
||||
return vertex == 0 ? SEG_MOVETO : SEG_LINETO;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -560,17 +560,17 @@ public class Polygon implements Shape, Serializable
|
|||
|
||||
if (useYaxis)
|
||||
{
|
||||
xp = ypoints;
|
||||
yp = xpoints;
|
||||
double swap;
|
||||
swap = y;
|
||||
y = x;
|
||||
x = swap;
|
||||
xp = ypoints;
|
||||
yp = xpoints;
|
||||
double swap;
|
||||
swap = y;
|
||||
y = x;
|
||||
x = swap;
|
||||
}
|
||||
else
|
||||
{
|
||||
xp = xpoints;
|
||||
yp = ypoints;
|
||||
xp = xpoints;
|
||||
yp = ypoints;
|
||||
}
|
||||
|
||||
/* Get a value which is small but not insignificant relative the path. */
|
||||
|
@ -580,19 +580,19 @@ public class Polygon implements Shape, Serializable
|
|||
y0 = yp[0] - y;
|
||||
for (int i = 1; i < npoints; i++)
|
||||
{
|
||||
x1 = xp[i] - x;
|
||||
y1 = yp[i] - y;
|
||||
x1 = xp[i] - x;
|
||||
y1 = yp[i] - y;
|
||||
|
||||
if (y0 == 0.0)
|
||||
y0 -= epsilon;
|
||||
if (y1 == 0.0)
|
||||
y1 -= epsilon;
|
||||
if (y0 * y1 < 0)
|
||||
if (Line2D.linesIntersect(x0, y0, x1, y1, epsilon, 0.0, distance, 0.0))
|
||||
++crossings;
|
||||
if (y0 == 0.0)
|
||||
y0 -= epsilon;
|
||||
if (y1 == 0.0)
|
||||
y1 -= epsilon;
|
||||
if (y0 * y1 < 0)
|
||||
if (Line2D.linesIntersect(x0, y0, x1, y1, epsilon, 0.0, distance, 0.0))
|
||||
++crossings;
|
||||
|
||||
x0 = xp[i] - x;
|
||||
y0 = yp[i] - y;
|
||||
x0 = xp[i] - x;
|
||||
y0 = yp[i] - y;
|
||||
}
|
||||
|
||||
// end segment
|
||||
|
@ -604,9 +604,8 @@ public class Polygon implements Shape, Serializable
|
|||
y1 -= epsilon;
|
||||
if (y0 * y1 < 0)
|
||||
if (Line2D.linesIntersect(x0, y0, x1, y1, epsilon, 0.0, distance, 0.0))
|
||||
++crossings;
|
||||
++crossings;
|
||||
|
||||
return crossings;
|
||||
}
|
||||
} // class Polygon
|
||||
|
||||
|
|
|
@ -150,14 +150,14 @@ show(Component component, int x, int y)
|
|||
protected AccessibleAWTPopupMenu()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public AccessibleRole getAccessibleRole()
|
||||
{
|
||||
return AccessibleRole.POPUP_MENU;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the AccessibleContext associated with this <code>PopupMenu</code>.
|
||||
* The context is created, if necessary.
|
||||
|
@ -171,7 +171,7 @@ show(Component component, int x, int y)
|
|||
accessibleContext = new AccessibleAWTPopupMenu();
|
||||
return accessibleContext;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>PopupMenu</code>.
|
||||
*
|
||||
|
@ -188,4 +188,3 @@ show(Component component, int x, int y)
|
|||
}
|
||||
|
||||
} // class PopupMenu
|
||||
|
||||
|
|
|
@ -183,7 +183,7 @@ public class Rectangle extends Rectangle2D implements Shape, Serializable
|
|||
* @param p the upper left corner of the rectangle
|
||||
*/
|
||||
public Rectangle(Point p)
|
||||
{
|
||||
{
|
||||
x = p.x;
|
||||
y = p.y;
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ public class Rectangle extends Rectangle2D implements Shape, Serializable
|
|||
* @param d the width and height of the rectangle
|
||||
*/
|
||||
public Rectangle(Dimension d)
|
||||
{
|
||||
{
|
||||
width = d.width;
|
||||
height = d.height;
|
||||
}
|
||||
|
@ -299,7 +299,7 @@ public class Rectangle extends Rectangle2D implements Shape, Serializable
|
|||
/**
|
||||
* Updates this rectangle to have the specified dimensions, rounded to the
|
||||
* integer precision used by this class (the values are rounded "outwards" so
|
||||
* that the stored rectangle completely encloses the specified double
|
||||
* that the stored rectangle completely encloses the specified double
|
||||
* precision rectangle).
|
||||
*
|
||||
* @param x the new X coordinate of the upper left hand corner
|
||||
|
|
|
@ -46,7 +46,7 @@ import java.util.Map;
|
|||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* A collection of (key, value) items that provide 'hints' for the
|
||||
* A collection of (key, value) items that provide 'hints' for the
|
||||
* {@link java.awt.Graphics2D} rendering pipeline. Because these
|
||||
* items are hints only, they may be ignored by a particular
|
||||
* {@link java.awt.Graphics2D} implementation.
|
||||
|
@ -66,7 +66,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Creates a new key.
|
||||
*
|
||||
*
|
||||
* @param privateKey the private key.
|
||||
*/
|
||||
protected Key(int privateKey)
|
||||
|
@ -77,16 +77,16 @@ public class RenderingHints
|
|||
/**
|
||||
* Returns <code>true</code> if the specified value is compatible with
|
||||
* this key, and <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @param value the value (<code>null</code> permitted).
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*/
|
||||
public abstract boolean isCompatibleValue(Object value);
|
||||
|
||||
/**
|
||||
* Returns the private key for this instance.
|
||||
*
|
||||
*
|
||||
* @return The private key.
|
||||
*/
|
||||
protected final int intKey()
|
||||
|
@ -96,7 +96,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Returns a hash code for the key.
|
||||
*
|
||||
*
|
||||
* @return A hash code.
|
||||
*/
|
||||
public final int hashCode()
|
||||
|
@ -106,9 +106,9 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Checks this key for equality with an arbitrary object.
|
||||
*
|
||||
*
|
||||
* @param other the object (<code>null</code> permitted)
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*/
|
||||
public final boolean equals(Object other)
|
||||
|
@ -137,9 +137,9 @@ public class RenderingHints
|
|||
/**
|
||||
* Returns <code>true</code> if the specified value is compatible with
|
||||
* this key, and <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @param value the value (<code>null</code> permitted).
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*/
|
||||
public boolean isCompatibleValue(Object value)
|
||||
|
@ -149,7 +149,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Returns a string representation of the key.
|
||||
*
|
||||
*
|
||||
* @return A string.
|
||||
*/
|
||||
public String toString()
|
||||
|
@ -547,8 +547,8 @@ public class RenderingHints
|
|||
/**
|
||||
* Creates a new collection of hints containing all the (key, value) pairs
|
||||
* in the specified map.
|
||||
*
|
||||
* @param init a map containing a collection of hints (<code>null</code>
|
||||
*
|
||||
* @param init a map containing a collection of hints (<code>null</code>
|
||||
* permitted).
|
||||
*/
|
||||
public RenderingHints(Map<Key,?> init)
|
||||
|
@ -559,7 +559,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Creates a new collection containing a single (key, value) pair.
|
||||
*
|
||||
*
|
||||
* @param key the key.
|
||||
* @param value the value.
|
||||
*/
|
||||
|
@ -570,7 +570,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Returns the number of hints in the collection.
|
||||
*
|
||||
*
|
||||
* @return The number of hints.
|
||||
*/
|
||||
public int size()
|
||||
|
@ -581,7 +581,7 @@ public class RenderingHints
|
|||
/**
|
||||
* Returns <code>true</code> if there are no hints in the collection,
|
||||
* and <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*/
|
||||
public boolean isEmpty()
|
||||
|
@ -592,11 +592,11 @@ public class RenderingHints
|
|||
/**
|
||||
* Returns <code>true</code> if the collection of hints contains the
|
||||
* specified key, and <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @param key the key (<code>null</code> not permitted).
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*
|
||||
*
|
||||
* @throws NullPointerException if <code>key</code> is <code>null</code>.
|
||||
* @throws ClassCastException if <code>key</code> is not a {@link Key}.
|
||||
*/
|
||||
|
@ -611,9 +611,9 @@ public class RenderingHints
|
|||
/**
|
||||
* Returns <code>true</code> if the collection of hints contains the
|
||||
* specified value, and <code>false</code> otherwise.
|
||||
*
|
||||
*
|
||||
* @param value the value.
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*/
|
||||
public boolean containsValue(Object value)
|
||||
|
@ -624,13 +624,13 @@ public class RenderingHints
|
|||
/**
|
||||
* Returns the value associated with the specified key, or <code>null</code>
|
||||
* if there is no value defined for the key.
|
||||
*
|
||||
*
|
||||
* @param key the key (<code>null</code> permitted).
|
||||
*
|
||||
*
|
||||
* @return The value (possibly <code>null</code>).
|
||||
*
|
||||
*
|
||||
* @throws ClassCastException if <code>key</code> is not a {@link Key}.
|
||||
*
|
||||
*
|
||||
* @see #containsKey(Object)
|
||||
*/
|
||||
public Object get(Object key)
|
||||
|
@ -641,12 +641,12 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Adds a (key, value) pair to the collection of hints (if the
|
||||
* collection already contains the specified key, then the
|
||||
* collection already contains the specified key, then the
|
||||
* value is updated).
|
||||
*
|
||||
*
|
||||
* @param key the key.
|
||||
* @param value the value.
|
||||
*
|
||||
*
|
||||
* @return the previous value of the key or <code>null</code> if the key
|
||||
* didn't have a value yet.
|
||||
*/
|
||||
|
@ -661,7 +661,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Adds all the hints from a collection to this collection.
|
||||
*
|
||||
*
|
||||
* @param hints the hint collection.
|
||||
*/
|
||||
public void add(RenderingHints hints)
|
||||
|
@ -679,27 +679,27 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Removes a hint from the collection.
|
||||
*
|
||||
*
|
||||
* @param key the key.
|
||||
*
|
||||
* @return The value that was associated with the key, or <code>null</code> if
|
||||
*
|
||||
* @return The value that was associated with the key, or <code>null</code> if
|
||||
* the key was not part of the collection
|
||||
*
|
||||
* @throws ClassCastException if the key is not a subclass of
|
||||
*
|
||||
* @throws ClassCastException if the key is not a subclass of
|
||||
* {@link RenderingHints.Key}.
|
||||
*/
|
||||
public Object remove(Object key)
|
||||
{
|
||||
// don't remove the (Key) cast, it is necessary to throw the exception
|
||||
// required by the spec
|
||||
return hintMap.remove((Key) key);
|
||||
return hintMap.remove((Key) key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a collection of (key, value) pairs to the collection.
|
||||
*
|
||||
*
|
||||
* @param m a map containing (key, value) items.
|
||||
*
|
||||
*
|
||||
* @throws ClassCastException if the map contains a key that is not
|
||||
* a subclass of {@link RenderingHints.Key}.
|
||||
* @throws IllegalArgumentException if the map contains a value that is
|
||||
|
@ -721,7 +721,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Returns a set containing the keys from this collection.
|
||||
*
|
||||
*
|
||||
* @return A set of keys.
|
||||
*/
|
||||
public Set<Object> keySet()
|
||||
|
@ -731,9 +731,9 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Returns a collection of the values from this hint collection. The
|
||||
* collection is backed by the <code>RenderingHints</code> instance,
|
||||
* collection is backed by the <code>RenderingHints</code> instance,
|
||||
* so updates to one will affect the other.
|
||||
*
|
||||
*
|
||||
* @return A collection of values.
|
||||
*/
|
||||
public Collection<Object> values()
|
||||
|
@ -743,7 +743,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Returns a set of entries from the collection.
|
||||
*
|
||||
*
|
||||
* @return A set of entries.
|
||||
*/
|
||||
public Set<Map.Entry<Object,Object>> entrySet()
|
||||
|
@ -753,9 +753,9 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Checks this collection for equality with an arbitrary object.
|
||||
*
|
||||
*
|
||||
* @param o the object (<code>null</code> permitted)
|
||||
*
|
||||
*
|
||||
* @return A boolean.
|
||||
*/
|
||||
public boolean equals(Object o)
|
||||
|
@ -765,7 +765,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Returns a hash code for the collection of hints.
|
||||
*
|
||||
*
|
||||
* @return A hash code.
|
||||
*/
|
||||
public int hashCode()
|
||||
|
@ -775,7 +775,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Creates a clone of this instance.
|
||||
*
|
||||
*
|
||||
* @return A clone.
|
||||
*/
|
||||
public Object clone()
|
||||
|
@ -794,7 +794,7 @@ public class RenderingHints
|
|||
|
||||
/**
|
||||
* Returns a string representation of this instance.
|
||||
*
|
||||
*
|
||||
* @return A string.
|
||||
*/
|
||||
public String toString()
|
||||
|
|
|
@ -92,7 +92,7 @@ public class Robot
|
|||
|
||||
// createRobot will throw AWTException if XTest is not supported.
|
||||
peer = tk.createRobot (GraphicsEnvironment.getLocalGraphicsEnvironment ()
|
||||
.getDefaultScreenDevice ());
|
||||
.getDefaultScreenDevice ());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -113,7 +113,7 @@ public class Robot
|
|||
|
||||
if (screen.getType () != GraphicsDevice.TYPE_RASTER_SCREEN)
|
||||
throw new IllegalArgumentException ("Robot: graphics"
|
||||
+ " device is not a screen");
|
||||
+ " device is not a screen");
|
||||
|
||||
SecurityManager sm = System.getSecurityManager ();
|
||||
if (sm != null)
|
||||
|
@ -159,10 +159,10 @@ public class Robot
|
|||
public void mousePress (int buttons)
|
||||
{
|
||||
if ((buttons & InputEvent.BUTTON1_MASK) == 0
|
||||
&& (buttons & InputEvent.BUTTON2_MASK) == 0
|
||||
&& (buttons & InputEvent.BUTTON3_MASK) == 0)
|
||||
&& (buttons & InputEvent.BUTTON2_MASK) == 0
|
||||
&& (buttons & InputEvent.BUTTON3_MASK) == 0)
|
||||
throw new IllegalArgumentException ("Robot: mousePress:"
|
||||
+ " invalid button mask");
|
||||
+ " invalid button mask");
|
||||
|
||||
peer.mousePress (buttons);
|
||||
|
||||
|
@ -190,10 +190,10 @@ public class Robot
|
|||
public void mouseRelease(int buttons)
|
||||
{
|
||||
if ((buttons & InputEvent.BUTTON1_MASK) == 0
|
||||
&& (buttons & InputEvent.BUTTON2_MASK) == 0
|
||||
&& (buttons & InputEvent.BUTTON3_MASK) == 0)
|
||||
&& (buttons & InputEvent.BUTTON2_MASK) == 0
|
||||
&& (buttons & InputEvent.BUTTON3_MASK) == 0)
|
||||
throw new IllegalArgumentException ("Robot: mouseRelease:"
|
||||
+ " invalid button mask");
|
||||
+ " invalid button mask");
|
||||
|
||||
peer.mouseRelease (buttons);
|
||||
|
||||
|
@ -245,7 +245,7 @@ public class Robot
|
|||
/**
|
||||
* Release a key.
|
||||
*
|
||||
* @param keycode key to release, a {@link java.awt.event.KeyEvent} VK_
|
||||
* @param keycode key to release, a {@link java.awt.event.KeyEvent} VK_
|
||||
* constant
|
||||
*
|
||||
* @exception IllegalArgumentException if keycode is not a valid key
|
||||
|
@ -304,10 +304,10 @@ public class Robot
|
|||
|
||||
BufferedImage bufferedImage =
|
||||
new BufferedImage (screenRect.width, screenRect.height,
|
||||
BufferedImage.TYPE_INT_ARGB);
|
||||
BufferedImage.TYPE_INT_ARGB);
|
||||
|
||||
bufferedImage.setRGB (0, 0, screenRect.width, screenRect.height,
|
||||
pixels, 0, screenRect.width);
|
||||
pixels, 0, screenRect.width);
|
||||
|
||||
return bufferedImage;
|
||||
}
|
||||
|
@ -377,11 +377,11 @@ public class Robot
|
|||
|
||||
try
|
||||
{
|
||||
Thread.sleep (ms);
|
||||
Thread.sleep (ms);
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
{
|
||||
System.err.println ("Robot: delay interrupted");
|
||||
System.err.println ("Robot: delay interrupted");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -393,19 +393,19 @@ public class Robot
|
|||
{
|
||||
if (EventQueue.isDispatchThread ())
|
||||
throw new IllegalThreadStateException ("Robot: waitForIdle called from "
|
||||
+ "the event dispatch thread");
|
||||
+ "the event dispatch thread");
|
||||
|
||||
try
|
||||
{
|
||||
EventQueue.invokeAndWait (new Runnable () { public void run () { } });
|
||||
EventQueue.invokeAndWait (new Runnable () { public void run () { } });
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
{
|
||||
System.err.println ("Robot: waitForIdle interrupted");
|
||||
System.err.println ("Robot: waitForIdle interrupted");
|
||||
}
|
||||
catch (InvocationTargetException e)
|
||||
{
|
||||
System.err.println ("Robot: waitForIdle cannot invoke target");
|
||||
System.err.println ("Robot: waitForIdle cannot invoke target");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -417,7 +417,7 @@ public class Robot
|
|||
public String toString ()
|
||||
{
|
||||
return getClass ().getName ()
|
||||
+ "[ autoDelay = " + autoDelay + ", autoWaitForIdle = "
|
||||
+ waitForIdle + " ]";
|
||||
+ "[ autoDelay = " + autoDelay + ", autoWaitForIdle = "
|
||||
+ waitForIdle + " ]";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ import javax.accessibility.AccessibleRole;
|
|||
|
||||
|
||||
/**
|
||||
* This widget provides a scrollable region that allows a single
|
||||
* This widget provides a scrollable region that allows a single
|
||||
* subcomponent to be viewed through a smaller window.
|
||||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
|
@ -227,7 +227,7 @@ getVAdjustable()
|
|||
* @return The viewport size.
|
||||
*/
|
||||
public Dimension getViewportSize ()
|
||||
{
|
||||
{
|
||||
Dimension viewsize = getSize ();
|
||||
Insets insets = getInsets ();
|
||||
|
||||
|
@ -237,9 +237,9 @@ public Dimension getViewportSize ()
|
|||
Component[] list = getComponents();
|
||||
if ((list == null) || (list.length <= 0))
|
||||
return viewsize;
|
||||
|
||||
|
||||
Dimension dim = list[0].getPreferredSize();
|
||||
|
||||
|
||||
if (dim.width <= 0 && dim.height <= 0)
|
||||
return viewsize;
|
||||
|
||||
|
@ -282,7 +282,7 @@ public Dimension getViewportSize ()
|
|||
needHorizontal = true;
|
||||
else if (dim.width > (viewsize.width - vScrollbarWidth))
|
||||
mayNeedHorizontal = true;
|
||||
|
||||
|
||||
if (needVertical && mayNeedHorizontal)
|
||||
needHorizontal = true;
|
||||
|
||||
|
@ -294,7 +294,7 @@ public Dimension getViewportSize ()
|
|||
|
||||
if (needVertical)
|
||||
viewsize.width -= vScrollbarWidth;
|
||||
|
||||
|
||||
return viewsize;
|
||||
}
|
||||
|
||||
|
@ -338,7 +338,7 @@ getVScrollbarWidth()
|
|||
* Returns the current scroll position of the viewport.
|
||||
*
|
||||
* @return The current scroll position of the viewport.
|
||||
*
|
||||
*
|
||||
* @throws NullPointerException if the scrollpane does have a child.
|
||||
*/
|
||||
public Point
|
||||
|
@ -346,7 +346,7 @@ getScrollPosition()
|
|||
{
|
||||
if (getComponentCount() == 0)
|
||||
throw new NullPointerException();
|
||||
|
||||
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
|
||||
|
@ -386,7 +386,7 @@ setScrollPosition(Point scrollPosition) throws IllegalArgumentException
|
|||
* @param y The new Y coordinate of the scroll position.
|
||||
*
|
||||
* @throws NullPointerException if scrollpane does not have a child.
|
||||
*
|
||||
*
|
||||
* @exception IllegalArgumentException If the specified value is outside
|
||||
* the legal scrolling range.
|
||||
*/
|
||||
|
@ -405,15 +405,15 @@ setScrollPosition(int x, int y)
|
|||
x = 0;
|
||||
if (y < 0)
|
||||
y = 0;
|
||||
|
||||
|
||||
Adjustable h = getHAdjustable();
|
||||
Adjustable v = getVAdjustable();
|
||||
|
||||
|
||||
if (h != null)
|
||||
h.setValue(x);
|
||||
if (v != null)
|
||||
v.setValue(y);
|
||||
|
||||
|
||||
ScrollPanePeer spp = (ScrollPanePeer)getPeer();
|
||||
if (spp != null)
|
||||
spp.setScrollPosition(x, y);
|
||||
|
@ -457,7 +457,7 @@ removeNotify()
|
|||
/*************************************************************************/
|
||||
|
||||
/**
|
||||
* Adds the specified child component to this container. A
|
||||
* Adds the specified child component to this container. A
|
||||
* <code>ScrollPane</code> can have at most one child, so if a second
|
||||
* one is added, then first one is removed.
|
||||
*
|
||||
|
@ -467,7 +467,7 @@ removeNotify()
|
|||
* in this implementation.
|
||||
*/
|
||||
protected final void addImpl (Component component, Object constraints,
|
||||
int index)
|
||||
int index)
|
||||
{
|
||||
Component[] list = getComponents();
|
||||
if ((list != null) && (list.length > 0))
|
||||
|
@ -507,14 +507,14 @@ layout()
|
|||
Dimension vp = getViewportSize ();
|
||||
|
||||
if (dim.width < vp.width)
|
||||
dim.width = vp.width;
|
||||
dim.width = vp.width;
|
||||
|
||||
if (dim.height < vp.height)
|
||||
dim.height = vp.height;
|
||||
dim.height = vp.height;
|
||||
|
||||
ScrollPanePeer peer = (ScrollPanePeer) getPeer ();
|
||||
if (peer != null)
|
||||
peer.childResized (dim.width, dim.height);
|
||||
peer.childResized (dim.width, dim.height);
|
||||
|
||||
list[0].setSize (dim);
|
||||
|
||||
|
@ -525,7 +525,7 @@ layout()
|
|||
p.y = dim.height;
|
||||
|
||||
setScrollPosition (p);
|
||||
|
||||
|
||||
list[0].setLocation(new Point());
|
||||
}
|
||||
}
|
||||
|
@ -538,7 +538,7 @@ layout()
|
|||
* not have layout managers.
|
||||
*
|
||||
* @param layoutManager Ignored
|
||||
* @throws AWTError Always throws this error when called.
|
||||
* @throws AWTError Always throws this error when called.
|
||||
*/
|
||||
public final void
|
||||
setLayout(LayoutManager layoutManager)
|
||||
|
@ -575,7 +575,7 @@ paramString()
|
|||
+ getY() + ","
|
||||
+ getWidth() + "x" + getHeight() + ","
|
||||
+ getIsValidString() + ","
|
||||
+ "ScrollPosition=(" + scrollPosition.x + ","
|
||||
+ "ScrollPosition=(" + scrollPosition.x + ","
|
||||
+ scrollPosition.y + "),"
|
||||
+ "Insets=(" + insets.top + ","
|
||||
+ insets.left + ","
|
||||
|
@ -596,7 +596,7 @@ getScrollbarDisplayPolicyString()
|
|||
return "never";
|
||||
}
|
||||
|
||||
private String
|
||||
private String
|
||||
getIsValidString()
|
||||
{
|
||||
if (isValid())
|
||||
|
@ -637,7 +637,7 @@ getIsValidString()
|
|||
{
|
||||
wheelScrollingEnabled = enable;
|
||||
}
|
||||
|
||||
|
||||
protected class AccessibleAWTScrollPane extends AccessibleAWTContainer
|
||||
{
|
||||
private static final long serialVersionUID = 6100703663886637L;
|
||||
|
@ -661,7 +661,7 @@ getIsValidString()
|
|||
accessibleContext = new AccessibleAWTScrollPane();
|
||||
return accessibleContext;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>ScrollPane</code>.
|
||||
*
|
||||
|
@ -676,6 +676,5 @@ getIsValidString()
|
|||
{
|
||||
return next_scrollpane_number++;
|
||||
}
|
||||
|
||||
} // class ScrollPane
|
||||
|
||||
} // class ScrollPane
|
||||
|
|
|
@ -52,7 +52,7 @@ public class ScrollPaneAdjustable
|
|||
implements Adjustable, Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -3359745691033257079L;
|
||||
|
||||
|
||||
ScrollPane sp;
|
||||
int orientation;
|
||||
int value;
|
||||
|
@ -70,7 +70,7 @@ public class ScrollPaneAdjustable
|
|||
this.sp = sp;
|
||||
this.orientation = orientation;
|
||||
}
|
||||
|
||||
|
||||
ScrollPaneAdjustable (ScrollPane sp, int orientation, int value, int minimum,
|
||||
int maximum, int visibleAmount, int unitIncrement,
|
||||
int blockIncrement)
|
||||
|
@ -84,21 +84,21 @@ public class ScrollPaneAdjustable
|
|||
this.unitIncrement = unitIncrement;
|
||||
this.blockIncrement = blockIncrement;
|
||||
}
|
||||
|
||||
|
||||
public void addAdjustmentListener (AdjustmentListener listener)
|
||||
{
|
||||
if (listener == null)
|
||||
return;
|
||||
adjustmentListener = AWTEventMulticaster.add (adjustmentListener, listener);
|
||||
}
|
||||
|
||||
|
||||
public void removeAdjustmentListener (AdjustmentListener listener)
|
||||
{
|
||||
if (listener == null)
|
||||
return;
|
||||
adjustmentListener = AWTEventMulticaster.remove (adjustmentListener, listener);
|
||||
}
|
||||
|
||||
|
||||
public AdjustmentListener[] getAdjustmentListeners ()
|
||||
{
|
||||
return (AdjustmentListener[]) AWTEventMulticaster.getListeners
|
||||
|
@ -129,7 +129,7 @@ public class ScrollPaneAdjustable
|
|||
{
|
||||
return unitIncrement;
|
||||
}
|
||||
|
||||
|
||||
public int getValue ()
|
||||
{
|
||||
return value;
|
||||
|
@ -144,10 +144,10 @@ public class ScrollPaneAdjustable
|
|||
{
|
||||
this.blockIncrement = blockIncrement;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This method should never be called.
|
||||
*
|
||||
*
|
||||
* @param maximum The maximum value to be set.
|
||||
* @throws AWTError Always throws this error when called.
|
||||
*/
|
||||
|
@ -158,7 +158,7 @@ public class ScrollPaneAdjustable
|
|||
|
||||
/**
|
||||
* This method should never be called.
|
||||
*
|
||||
*
|
||||
* @param minimum The minimum value to be set.
|
||||
* @throws AWTError Always throws this error when called.
|
||||
*/
|
||||
|
@ -182,10 +182,10 @@ public class ScrollPaneAdjustable
|
|||
if (value > maximum)
|
||||
maximum = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This method should never be called.
|
||||
*
|
||||
*
|
||||
* @param visibleAmount The visible amount to be set.
|
||||
* @throws AWTError Always throws this error when called.
|
||||
*/
|
||||
|
@ -196,12 +196,12 @@ public class ScrollPaneAdjustable
|
|||
|
||||
public String paramString ()
|
||||
{
|
||||
return paramStringHelper()
|
||||
+ ",[" + getMinimum() + ".." + getMaximum()
|
||||
+ "],val=" + getValue()
|
||||
+ ",vis=" + getVisibleAmount()
|
||||
return paramStringHelper()
|
||||
+ ",[" + getMinimum() + ".." + getMaximum()
|
||||
+ "],val=" + getValue()
|
||||
+ ",vis=" + getVisibleAmount()
|
||||
+ ",unit=" + getUnitIncrement()
|
||||
+ ",block=" + getBlockIncrement()
|
||||
+ ",block=" + getBlockIncrement()
|
||||
+ ",isAdjusting=" + valueIsAdjusting;
|
||||
}
|
||||
|
||||
|
@ -212,7 +212,7 @@ public class ScrollPaneAdjustable
|
|||
else
|
||||
return "vertical";
|
||||
}
|
||||
|
||||
|
||||
public String toString()
|
||||
{
|
||||
return getClass().getName() + "[" + paramString() + "]";
|
||||
|
@ -237,6 +237,5 @@ public class ScrollPaneAdjustable
|
|||
{
|
||||
this.valueIsAdjusting = valueIsAdjusting;
|
||||
}
|
||||
|
||||
} // class ScrollPaneAdjustable
|
||||
|
||||
} // class ScrollPaneAdjustable
|
||||
|
|
|
@ -343,7 +343,7 @@ public class Scrollbar extends Component implements Accessible, Adjustable
|
|||
{
|
||||
if (visibleAmount <= 0)
|
||||
visibleAmount = 1;
|
||||
|
||||
|
||||
if (maximum <= minimum)
|
||||
maximum = minimum + 1;
|
||||
|
||||
|
@ -352,7 +352,7 @@ public class Scrollbar extends Component implements Accessible, Adjustable
|
|||
|
||||
if (visibleAmount > maximum - minimum)
|
||||
visibleAmount = maximum - minimum;
|
||||
|
||||
|
||||
// According to documentation, the actual maximum
|
||||
// value is (maximum - visibleAmount)
|
||||
if (value > maximum - visibleAmount)
|
||||
|
@ -367,7 +367,7 @@ public class Scrollbar extends Component implements Accessible, Adjustable
|
|||
this.value = value;
|
||||
this.visibleAmount = visibleAmount;
|
||||
this.minimum = minimum;
|
||||
this.maximum = maximum;
|
||||
this.maximum = maximum;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -419,13 +419,13 @@ public class Scrollbar extends Component implements Accessible, Adjustable
|
|||
{
|
||||
if (lineIncrement < 0)
|
||||
throw new IllegalArgumentException("Unit increment less than zero.");
|
||||
|
||||
|
||||
if (lineIncrement == 0)
|
||||
lineIncrement = 1;
|
||||
|
||||
|
||||
if (lineIncrement == this.lineIncrement)
|
||||
return;
|
||||
|
||||
|
||||
this.lineIncrement = lineIncrement;
|
||||
|
||||
ScrollbarPeer peer = (ScrollbarPeer) getPeer();
|
||||
|
@ -485,7 +485,7 @@ public class Scrollbar extends Component implements Accessible, Adjustable
|
|||
|
||||
if (pageIncrement == 0)
|
||||
pageIncrement = 1;
|
||||
|
||||
|
||||
if (pageIncrement == this.pageIncrement)
|
||||
return;
|
||||
|
||||
|
@ -570,25 +570,25 @@ public class Scrollbar extends Component implements Accessible, Adjustable
|
|||
*/
|
||||
void dispatchEventImpl(AWTEvent e)
|
||||
{
|
||||
if (e.id <= AdjustmentEvent.ADJUSTMENT_LAST
|
||||
&& e.id >= AdjustmentEvent.ADJUSTMENT_FIRST)
|
||||
if (e.id <= AdjustmentEvent.ADJUSTMENT_LAST
|
||||
&& e.id >= AdjustmentEvent.ADJUSTMENT_FIRST)
|
||||
{
|
||||
AdjustmentEvent ae = (AdjustmentEvent) e;
|
||||
boolean adjusting = ae.getValueIsAdjusting();
|
||||
if (adjusting)
|
||||
setValueIsAdjusting(true);
|
||||
try
|
||||
{
|
||||
setValue(((AdjustmentEvent) e).getValue());
|
||||
if (adjustment_listeners != null
|
||||
|| (eventMask & AWTEvent.ADJUSTMENT_EVENT_MASK) != 0)
|
||||
processEvent(e);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (adjusting)
|
||||
setValueIsAdjusting(false);
|
||||
}
|
||||
AdjustmentEvent ae = (AdjustmentEvent) e;
|
||||
boolean adjusting = ae.getValueIsAdjusting();
|
||||
if (adjusting)
|
||||
setValueIsAdjusting(true);
|
||||
try
|
||||
{
|
||||
setValue(((AdjustmentEvent) e).getValue());
|
||||
if (adjustment_listeners != null
|
||||
|| (eventMask & AWTEvent.ADJUSTMENT_EVENT_MASK) != 0)
|
||||
processEvent(e);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (adjusting)
|
||||
setValueIsAdjusting(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
super.dispatchEventImpl(e);
|
||||
|
@ -710,11 +710,11 @@ public class Scrollbar extends Component implements Accessible, Adjustable
|
|||
{
|
||||
AccessibleStateSet states = super.getAccessibleStateSet();
|
||||
if (getOrientation() == HORIZONTAL)
|
||||
states.add(AccessibleState.HORIZONTAL);
|
||||
states.add(AccessibleState.HORIZONTAL);
|
||||
else
|
||||
states.add(AccessibleState.VERTICAL);
|
||||
states.add(AccessibleState.VERTICAL);
|
||||
if (getValueIsAdjusting())
|
||||
states.add(AccessibleState.BUSY);
|
||||
states.add(AccessibleState.BUSY);
|
||||
return states;
|
||||
}
|
||||
|
||||
|
@ -809,7 +809,7 @@ public class Scrollbar extends Component implements Accessible, Adjustable
|
|||
/* Create the context if this is the first request */
|
||||
if (accessibleContext == null)
|
||||
accessibleContext = new AccessibleAWTScrollBar();
|
||||
|
||||
|
||||
return accessibleContext;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ public interface Shape
|
|||
* Test if a high-precision rectangle intersects the shape. This is true
|
||||
* if any point in the rectangle is in the shape, with the caveat that the
|
||||
* operation may include high probability estimates when the actual
|
||||
* calculation is prohibitively expensive. The {@link java.awt.geom.Area}
|
||||
* calculation is prohibitively expensive. The {@link java.awt.geom.Area}
|
||||
* class can be used for more precise answers.
|
||||
*
|
||||
* @param x the x coordinate of the rectangle
|
||||
|
@ -126,7 +126,7 @@ public interface Shape
|
|||
* Test if a high-precision rectangle intersects the shape. This is true
|
||||
* if any point in the rectangle is in the shape, with the caveat that the
|
||||
* operation may include high probability estimates when the actual
|
||||
* calculation is prohibitively expensive. The {@link java.awt.geom.Area}
|
||||
* calculation is prohibitively expensive. The {@link java.awt.geom.Area}
|
||||
* class can be used for more precise answers.
|
||||
*
|
||||
* @param r the rectangle
|
||||
|
@ -141,7 +141,7 @@ public interface Shape
|
|||
* Test if a high-precision rectangle lies completely in the shape. This is
|
||||
* true if all points in the rectangle are in the shape, with the caveat
|
||||
* that the operation may include high probability estimates when the actual
|
||||
* calculation is prohibitively expensive. The {@link java.awt.geom.Area}
|
||||
* calculation is prohibitively expensive. The {@link java.awt.geom.Area}
|
||||
* class can be used for more precise answers.
|
||||
*
|
||||
* @param x the x coordinate of the rectangle
|
||||
|
@ -158,7 +158,7 @@ public interface Shape
|
|||
* Test if a high-precision rectangle lies completely in the shape. This is
|
||||
* true if all points in the rectangle are in the shape, with the caveat
|
||||
* that the operation may include high probability estimates when the actual
|
||||
* calculation is prohibitively expensive. The {@link java.awt.geom.Area}
|
||||
* calculation is prohibitively expensive. The {@link java.awt.geom.Area}
|
||||
* class can be used for more precise answers.
|
||||
*
|
||||
* @param r the rectangle
|
||||
|
@ -176,7 +176,7 @@ public interface Shape
|
|||
* not required, that the Shape isolate iterations from future changes to
|
||||
* the boundary, and document this fact.
|
||||
*
|
||||
* @param transform an optional transform to apply to the
|
||||
* @param transform an optional transform to apply to the
|
||||
* iterator (<code>null</code> permitted).
|
||||
* @return a new iterator over the boundary
|
||||
* @since 1.2
|
||||
|
@ -195,11 +195,11 @@ public interface Shape
|
|||
* use. It is recommended, but not required, that the Shape isolate
|
||||
* iterations from future changes to the boundary, and document this fact.
|
||||
*
|
||||
* @param transform an optional transform to apply to the
|
||||
* @param transform an optional transform to apply to the
|
||||
* iterator (<code>null</code> permitted).
|
||||
* @param flatness the maximum distance for deviation from the real boundary
|
||||
* @return a new iterator over the boundary
|
||||
* @since 1.2
|
||||
*/
|
||||
PathIterator getPathIterator(AffineTransform transform, double flatness);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -444,7 +444,7 @@ public final class SystemColor extends Color implements Serializable
|
|||
if (context == null || color != context.color || !context.getColorModel().equals(cm))
|
||||
context = new ColorPaintContext(cm,color);
|
||||
return context;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string describing this color. This is in the format
|
||||
|
|
|
@ -177,8 +177,8 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
* contains the specified text. The TextArea can display the
|
||||
* specified number of rows and columns of text, without the need to
|
||||
* scroll. This constructor allows specification of the scroll bar
|
||||
* display policy. The TextArea initially contains the specified text.
|
||||
* If text specified as <code>null<code>, it will be set to "".
|
||||
* display policy. The TextArea initially contains the specified text.
|
||||
* If text specified as <code>null<code>, it will be set to "".
|
||||
*
|
||||
* @param text The text to display in this text area (<code>null</code> permitted).
|
||||
* @param rows The number of rows in this text area.
|
||||
|
@ -200,7 +200,7 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
this.rows = 0;
|
||||
else
|
||||
this.rows = rows;
|
||||
|
||||
|
||||
if (columns < 0)
|
||||
this.columns = 0;
|
||||
else
|
||||
|
@ -311,7 +311,7 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
|
||||
/**
|
||||
* Retrieve the minimum size for this text area.
|
||||
*
|
||||
*
|
||||
* @return The minimum size for this text area.
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
|
@ -340,7 +340,7 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
{
|
||||
if (isMinimumSizeSet())
|
||||
return new Dimension(minSize);
|
||||
|
||||
|
||||
TextAreaPeer peer = (TextAreaPeer) getPeer ();
|
||||
if (peer == null)
|
||||
return new Dimension (getWidth(), getHeight());
|
||||
|
@ -405,7 +405,7 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
{
|
||||
if (isPreferredSizeSet())
|
||||
return new Dimension(prefSize);
|
||||
|
||||
|
||||
TextAreaPeer peer = (TextAreaPeer) getPeer ();
|
||||
if (peer == null)
|
||||
return new Dimension (getWidth(), getHeight());
|
||||
|
@ -459,7 +459,7 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
if (peer != null)
|
||||
peer.insert (str, peer.getText().length ());
|
||||
else
|
||||
setText(getText() + str);
|
||||
setText(getText() + str);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -488,7 +488,7 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
{
|
||||
String tmp1 = null;
|
||||
String tmp2 = null;
|
||||
|
||||
|
||||
TextAreaPeer peer = (TextAreaPeer) getPeer ();
|
||||
|
||||
if (peer != null)
|
||||
|
@ -562,17 +562,17 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
switch (scrollbarVisibility)
|
||||
{
|
||||
case SCROLLBARS_BOTH:
|
||||
sbVisibility = "both";
|
||||
break;
|
||||
sbVisibility = "both";
|
||||
break;
|
||||
case SCROLLBARS_VERTICAL_ONLY:
|
||||
sbVisibility = "vertical-only";
|
||||
break;
|
||||
sbVisibility = "vertical-only";
|
||||
break;
|
||||
case SCROLLBARS_HORIZONTAL_ONLY:
|
||||
sbVisibility = "horizontal-only";
|
||||
break;
|
||||
sbVisibility = "horizontal-only";
|
||||
break;
|
||||
case SCROLLBARS_NONE:
|
||||
sbVisibility = "none";
|
||||
break;
|
||||
sbVisibility = "none";
|
||||
break;
|
||||
}
|
||||
|
||||
String editable = "";
|
||||
|
@ -600,7 +600,7 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
{
|
||||
return next_text_number++;
|
||||
}
|
||||
|
||||
|
||||
protected class AccessibleAWTTextArea extends AccessibleAWTTextComponent
|
||||
{
|
||||
private static final long serialVersionUID = 3472827823632144419L;
|
||||
|
@ -608,13 +608,13 @@ public class TextArea extends TextComponent implements java.io.Serializable
|
|||
protected AccessibleAWTTextArea()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public AccessibleStateSet getAccessibleStateSet()
|
||||
{
|
||||
return super.getAccessibleStateSet();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the AccessibleContext associated with this <code>TextArea</code>.
|
||||
* The context is created, if necessary.
|
||||
|
|
|
@ -54,7 +54,7 @@ import javax.accessibility.AccessibleText;
|
|||
import javax.swing.text.AttributeSet;
|
||||
|
||||
/**
|
||||
* This class provides common functionality for widgets than
|
||||
* This class provides common functionality for widgets than
|
||||
* contain text.
|
||||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
|
@ -106,12 +106,12 @@ public class TextComponent extends Component
|
|||
{
|
||||
TextComponent.this.addTextListener(this);
|
||||
}
|
||||
|
||||
|
||||
public AccessibleRole getAccessibleRole()
|
||||
{
|
||||
return AccessibleRole.TEXT;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleStateSet getAccessibleStateSet()
|
||||
{
|
||||
// TODO: Docs say PropertyChangeEvent will fire if this state changes.
|
||||
|
@ -121,12 +121,12 @@ public class TextComponent extends Component
|
|||
ss.add(AccessibleState.EDITABLE);
|
||||
return ss;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleText getAccessibleText()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see javax.accessibility.AccessibleText#getIndexAtPoint(java.awt.Point)
|
||||
*/
|
||||
|
@ -169,26 +169,26 @@ public class TextComponent extends Component
|
|||
BreakIterator it = null;
|
||||
switch (part)
|
||||
{
|
||||
case CHARACTER:
|
||||
return text.substring(index, index + 1);
|
||||
case WORD:
|
||||
it = BreakIterator.getWordInstance();
|
||||
break;
|
||||
case SENTENCE:
|
||||
it = BreakIterator.getSentenceInstance();
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
case CHARACTER:
|
||||
return text.substring(index, index + 1);
|
||||
case WORD:
|
||||
it = BreakIterator.getWordInstance();
|
||||
break;
|
||||
case SENTENCE:
|
||||
it = BreakIterator.getSentenceInstance();
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
it.setText(text);
|
||||
int start = index;
|
||||
if (!it.isBoundary(index))
|
||||
start = it.preceding(index);
|
||||
int end = it.following(index);
|
||||
if (end == -1)
|
||||
return text.substring(index);
|
||||
else
|
||||
return text.substring(index, end);
|
||||
it.setText(text);
|
||||
int start = index;
|
||||
if (!it.isBoundary(index))
|
||||
start = it.preceding(index);
|
||||
int end = it.following(index);
|
||||
if (end == -1)
|
||||
return text.substring(index);
|
||||
else
|
||||
return text.substring(index, end);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -200,30 +200,30 @@ public class TextComponent extends Component
|
|||
BreakIterator it = null;
|
||||
switch (part)
|
||||
{
|
||||
case CHARACTER:
|
||||
return text.substring(index, index + 1);
|
||||
case WORD:
|
||||
it = BreakIterator.getWordInstance();
|
||||
break;
|
||||
case SENTENCE:
|
||||
it = BreakIterator.getSentenceInstance();
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
case CHARACTER:
|
||||
return text.substring(index, index + 1);
|
||||
case WORD:
|
||||
it = BreakIterator.getWordInstance();
|
||||
break;
|
||||
case SENTENCE:
|
||||
it = BreakIterator.getSentenceInstance();
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
it.setText(text);
|
||||
int start = index;
|
||||
if (!it.isBoundary(index))
|
||||
start = it.following(index);
|
||||
// Make sure there was a complete unit. I.e. if index is in the middle
|
||||
// of a word, return null if there is no word after the that one.
|
||||
if (start == -1)
|
||||
return null;
|
||||
int end = it.following(start);
|
||||
if (end == -1)
|
||||
return text.substring(index);
|
||||
else
|
||||
return text.substring(index, end);
|
||||
it.setText(text);
|
||||
int start = index;
|
||||
if (!it.isBoundary(index))
|
||||
start = it.following(index);
|
||||
// Make sure there was a complete unit. I.e. if index is in the middle
|
||||
// of a word, return null if there is no word after the that one.
|
||||
if (start == -1)
|
||||
return null;
|
||||
int end = it.following(start);
|
||||
if (end == -1)
|
||||
return text.substring(index);
|
||||
else
|
||||
return text.substring(index, end);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -236,30 +236,30 @@ public class TextComponent extends Component
|
|||
BreakIterator it = null;
|
||||
switch (part)
|
||||
{
|
||||
case CHARACTER:
|
||||
return text.substring(index - 1, index);
|
||||
case WORD:
|
||||
it = BreakIterator.getWordInstance();
|
||||
break;
|
||||
case SENTENCE:
|
||||
it = BreakIterator.getSentenceInstance();
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
case CHARACTER:
|
||||
return text.substring(index - 1, index);
|
||||
case WORD:
|
||||
it = BreakIterator.getWordInstance();
|
||||
break;
|
||||
case SENTENCE:
|
||||
it = BreakIterator.getSentenceInstance();
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
it.setText(text);
|
||||
int end = index;
|
||||
if (!it.isBoundary(index))
|
||||
end = it.preceding(index);
|
||||
// Make sure there was a complete unit. I.e. if index is in the middle
|
||||
// of a word, return null if there is no word before that one.
|
||||
if (end == -1)
|
||||
return null;
|
||||
int start = it.preceding(end);
|
||||
if (start == -1)
|
||||
return text.substring(0, end);
|
||||
else
|
||||
return text.substring(start, end);
|
||||
it.setText(text);
|
||||
int end = index;
|
||||
if (!it.isBoundary(index))
|
||||
end = it.preceding(index);
|
||||
// Make sure there was a complete unit. I.e. if index is in the middle
|
||||
// of a word, return null if there is no word before that one.
|
||||
if (end == -1)
|
||||
return null;
|
||||
int start = it.preceding(end);
|
||||
if (start == -1)
|
||||
return text.substring(0, end);
|
||||
else
|
||||
return text.substring(start, end);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -304,9 +304,9 @@ public class TextComponent extends Component
|
|||
public void textValueChanged(TextEvent event)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -316,7 +316,7 @@ public class TextComponent extends Component
|
|||
this.text = "";
|
||||
else
|
||||
this.text = text;
|
||||
|
||||
|
||||
this.editable = true;
|
||||
}
|
||||
|
||||
|
@ -363,13 +363,13 @@ public class TextComponent extends Component
|
|||
String alltext = getText();
|
||||
int start = getSelectionStart();
|
||||
int end = getSelectionEnd();
|
||||
|
||||
|
||||
return(alltext.substring(start, end));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the starting position of the selected text region.
|
||||
* If the text is not selected then caret position is returned.
|
||||
* If the text is not selected then caret position is returned.
|
||||
*
|
||||
* @return The starting position of the selected text region.
|
||||
*/
|
||||
|
@ -391,14 +391,14 @@ public class TextComponent extends Component
|
|||
*/
|
||||
public synchronized void setSelectionStart(int selectionStart)
|
||||
{
|
||||
select(selectionStart,
|
||||
(getSelectionEnd() < selectionStart)
|
||||
select(selectionStart,
|
||||
(getSelectionEnd() < selectionStart)
|
||||
? selectionStart : getSelectionEnd());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the ending position of the selected text region.
|
||||
* If the text is not selected, then caret position is returned
|
||||
* If the text is not selected, then caret position is returned
|
||||
*
|
||||
* @return The ending position of the selected text region.
|
||||
*/
|
||||
|
@ -447,7 +447,7 @@ public class TextComponent extends Component
|
|||
|
||||
this.selectionStart = selectionStart;
|
||||
this.selectionEnd = selectionEnd;
|
||||
|
||||
|
||||
TextComponentPeer tcp = (TextComponentPeer) getPeer();
|
||||
if (tcp != null)
|
||||
tcp.select(selectionStart, selectionEnd);
|
||||
|
@ -489,7 +489,7 @@ public class TextComponent extends Component
|
|||
{
|
||||
if (caretPosition < 0)
|
||||
throw new IllegalArgumentException();
|
||||
|
||||
|
||||
TextComponentPeer tcp = (TextComponentPeer) getPeer();
|
||||
if (tcp != null)
|
||||
tcp.setCaretPosition(caretPosition);
|
||||
|
@ -539,7 +539,7 @@ public class TextComponent extends Component
|
|||
{
|
||||
textListener = AWTEventMulticaster.add(textListener, listener);
|
||||
|
||||
enableEvents(AWTEvent.TEXT_EVENT_MASK);
|
||||
enableEvents(AWTEvent.TEXT_EVENT_MASK);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -557,7 +557,7 @@ public class TextComponent extends Component
|
|||
* Processes the specified event for this component. Text events are
|
||||
* processed by calling the <code>processTextEvent()</code> method.
|
||||
* All other events are passed to the superclass method.
|
||||
*
|
||||
*
|
||||
* @param event The event to process.
|
||||
*/
|
||||
protected void processEvent(AWTEvent event)
|
||||
|
@ -585,13 +585,13 @@ public class TextComponent extends Component
|
|||
|
||||
void dispatchEventImpl(AWTEvent e)
|
||||
{
|
||||
if (e.id <= TextEvent.TEXT_LAST
|
||||
if (e.id <= TextEvent.TEXT_LAST
|
||||
&& e.id >= TextEvent.TEXT_FIRST
|
||||
&& (textListener != null
|
||||
|| (eventMask & AWTEvent.TEXT_EVENT_MASK) != 0))
|
||||
&& (textListener != null
|
||||
|| (eventMask & AWTEvent.TEXT_EVENT_MASK) != 0))
|
||||
processEvent(e);
|
||||
else
|
||||
super.dispatchEventImpl(e);
|
||||
super.dispatchEventImpl(e);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -642,7 +642,7 @@ public class TextComponent extends Component
|
|||
return accessibleContext;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Provide AccessibleAWTTextComponent access to several peer functions that
|
||||
// aren't publicly exposed. This is package-private to avoid an accessor
|
||||
// method.
|
||||
|
@ -653,7 +653,7 @@ public class TextComponent extends Component
|
|||
return tcp.getIndexAtPoint(p.x, p.y);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
synchronized Rectangle getCharacterBounds(int i)
|
||||
{
|
||||
TextComponentPeer tcp = (TextComponentPeer) getPeer();
|
||||
|
@ -661,11 +661,11 @@ public class TextComponent extends Component
|
|||
return tcp.getCharacterBounds(i);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* All old mouse events for this component should
|
||||
* be ignored.
|
||||
*
|
||||
*
|
||||
* @return true to ignore all old mouse events.
|
||||
*/
|
||||
static boolean ignoreOldMouseEvents()
|
||||
|
@ -674,4 +674,3 @@ public class TextComponent extends Component
|
|||
}
|
||||
|
||||
} // class TextComponent
|
||||
|
||||
|
|
|
@ -54,13 +54,13 @@ import javax.accessibility.AccessibleStateSet;
|
|||
*/
|
||||
public class TextField extends TextComponent
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* The number used to generate the name returned by getName.
|
||||
*/
|
||||
private static transient long next_textfield_number;
|
||||
|
||||
|
||||
|
||||
private static final long serialVersionUID = -2966288784432217853L;
|
||||
|
||||
|
||||
|
@ -127,7 +127,7 @@ public class TextField extends TextComponent
|
|||
public TextField(String text, int columns)
|
||||
{
|
||||
super(text);
|
||||
|
||||
|
||||
if (columns < 0)
|
||||
this.columns = 0;
|
||||
else
|
||||
|
@ -165,7 +165,7 @@ public class TextField extends TextComponent
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the character that is echoed to the screen when a text
|
||||
* Returns the character that is echoed to the screen when a text
|
||||
* field is protected (such as when a password is being entered).
|
||||
*
|
||||
* @return The echo character for this text field.
|
||||
|
@ -192,7 +192,7 @@ public class TextField extends TextComponent
|
|||
*
|
||||
* @param echoChar The new echo character.
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* <code>setEchoChar()</code>
|
||||
*/
|
||||
public void setEchoCharacter(char echoChar)
|
||||
|
@ -259,14 +259,14 @@ public class TextField extends TextComponent
|
|||
*
|
||||
* @param columns The number of columns to get the minimum size for.
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* <code>getMinimumSize(int)</code>.
|
||||
*/
|
||||
public Dimension minimumSize(int columns)
|
||||
{
|
||||
if (isMinimumSizeSet())
|
||||
return new Dimension(minSize);
|
||||
|
||||
|
||||
TextFieldPeer peer = (TextFieldPeer) getPeer ();
|
||||
if (peer == null)
|
||||
return new Dimension(getWidth(), getHeight());
|
||||
|
@ -300,7 +300,7 @@ public class TextField extends TextComponent
|
|||
*
|
||||
* @return The preferred size for this text field.
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* <code>getPreferredSize()</code>.
|
||||
*/
|
||||
public Dimension preferredSize()
|
||||
|
@ -314,18 +314,18 @@ public class TextField extends TextComponent
|
|||
*
|
||||
* @param columns The number of columns to get the preferred size for.
|
||||
*
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* @deprecated This method is deprecated in favor of
|
||||
* <code>getPreferredSize(int)</code>.
|
||||
*/
|
||||
public Dimension preferredSize(int columns)
|
||||
{
|
||||
if (isPreferredSizeSet())
|
||||
return new Dimension(prefSize);
|
||||
|
||||
|
||||
TextFieldPeer peer = (TextFieldPeer) getPeer ();
|
||||
if (peer == null)
|
||||
return new Dimension (getWidth(), getHeight());
|
||||
|
||||
|
||||
return peer.getPreferredSize (columns);
|
||||
}
|
||||
|
||||
|
@ -387,7 +387,7 @@ public class TextField extends TextComponent
|
|||
* are enabled on this object. This will be true if any listeners
|
||||
* are registered, or if action events were specifically enabled
|
||||
* using <code>enableEvents()</code>.
|
||||
*
|
||||
*
|
||||
* @param event The event to process.
|
||||
*/
|
||||
protected void processActionEvent(ActionEvent event)
|
||||
|
@ -398,10 +398,10 @@ public class TextField extends TextComponent
|
|||
|
||||
void dispatchEventImpl(AWTEvent e)
|
||||
{
|
||||
if (e.id <= ActionEvent.ACTION_LAST
|
||||
if (e.id <= ActionEvent.ACTION_LAST
|
||||
&& e.id >= ActionEvent.ACTION_FIRST
|
||||
&& (action_listeners != null
|
||||
|| (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0))
|
||||
&& (action_listeners != null
|
||||
|| (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0))
|
||||
processEvent(e);
|
||||
else
|
||||
super.dispatchEventImpl(e);
|
||||
|
@ -446,7 +446,7 @@ public class TextField extends TextComponent
|
|||
{
|
||||
return (ActionListener[]) getListeners (ActionListener.class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate a unique name for this <code>TextField</code>.
|
||||
*
|
||||
|
@ -469,13 +469,13 @@ public class TextField extends TextComponent
|
|||
protected AccessibleAWTTextField()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public AccessibleStateSet getAccessibleStateSet()
|
||||
{
|
||||
return super.getAccessibleStateSet();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public AccessibleContext getAccessibleContext()
|
||||
{
|
||||
return new AccessibleAWTTextField();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* TexturePaint.java --
|
||||
/* TexturePaint.java --
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -53,10 +53,10 @@ public class TexturePaint implements Paint
|
|||
{
|
||||
private final BufferedImage texture;
|
||||
private final Rectangle2D anchor;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @param texture - the texture
|
||||
* @param anchor - the shape
|
||||
*/
|
||||
|
@ -68,7 +68,7 @@ public class TexturePaint implements Paint
|
|||
|
||||
/**
|
||||
* Gets the texture image.
|
||||
*
|
||||
*
|
||||
* @return the texture
|
||||
*/
|
||||
public BufferedImage getImage()
|
||||
|
@ -78,7 +78,7 @@ public class TexturePaint implements Paint
|
|||
|
||||
/**
|
||||
* Gets the shape anchor.
|
||||
*
|
||||
*
|
||||
* @return the shape anchor
|
||||
*/
|
||||
public Rectangle2D getAnchorRect()
|
||||
|
@ -88,12 +88,12 @@ public class TexturePaint implements Paint
|
|||
|
||||
/**
|
||||
* Creates the context used to paint the texture.
|
||||
*
|
||||
*
|
||||
* @param cm - the ColorModel that receives the Paint data. Used only as a hint.
|
||||
* @param deviceBounds - the device space being rendered.
|
||||
* @param userBounds - the user space being rendered
|
||||
* @param xform - the AffineTransform from user space into device space
|
||||
* @param hints - a RenderingHints object that is used to specify how the
|
||||
* @param hints - a RenderingHints object that is used to specify how the
|
||||
* pattern is rendered
|
||||
* @return the paint context used to paint the texture
|
||||
*/
|
||||
|
@ -108,7 +108,7 @@ public class TexturePaint implements Paint
|
|||
|
||||
/**
|
||||
* Returns the transparency mode.
|
||||
*
|
||||
*
|
||||
* @return the transparency mode.
|
||||
*/
|
||||
public int getTransparency()
|
||||
|
|
|
@ -124,7 +124,7 @@ public abstract class Toolkit
|
|||
/** The toolkit properties. */
|
||||
private static Properties props = new Properties();
|
||||
|
||||
protected final Map<String,Object> desktopProperties =
|
||||
protected final Map<String,Object> desktopProperties =
|
||||
new Hashtable<String,Object>();
|
||||
|
||||
protected final PropertyChangeSupport desktopPropsSupport
|
||||
|
@ -150,19 +150,19 @@ public abstract class Toolkit
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param target
|
||||
* @return
|
||||
* @throws HeadlessException
|
||||
*/
|
||||
protected abstract DesktopPeer createDesktopPeer(Desktop target)
|
||||
throws HeadlessException;
|
||||
|
||||
|
||||
/**
|
||||
* Creates a peer object for the specified <code>Button</code>.
|
||||
*
|
||||
* @param target The <code>Button</code> to create the peer for.
|
||||
*
|
||||
*
|
||||
* @return The peer for the specified <code>Button</code> object.
|
||||
*
|
||||
* @exception HeadlessException If GraphicsEnvironment.isHeadless() is true.
|
||||
|
@ -353,7 +353,7 @@ public abstract class Toolkit
|
|||
protected abstract MenuItemPeer createMenuItem(MenuItem target);
|
||||
|
||||
/**
|
||||
* Returns a MouseInfoPeer.
|
||||
* Returns a MouseInfoPeer.
|
||||
* The default implementation of this method throws
|
||||
* UnsupportedOperationException.
|
||||
*
|
||||
|
@ -493,7 +493,7 @@ public abstract class Toolkit
|
|||
* Returns the dimensions of the screen in pixels.
|
||||
*
|
||||
* @return The dimensions of the screen in pixels.
|
||||
*
|
||||
*
|
||||
* @exception HeadlessException If GraphicsEnvironment.isHeadless() is true.
|
||||
*/
|
||||
public abstract Dimension getScreenSize();
|
||||
|
@ -521,7 +521,7 @@ public abstract class Toolkit
|
|||
* Returns the color model of the screen.
|
||||
*
|
||||
* @return The color model of the screen.
|
||||
*
|
||||
*
|
||||
* @exception HeadlessException If GraphicsEnvironment.isHeadless() is true.
|
||||
*/
|
||||
public abstract ColorModel getColorModel();
|
||||
|
@ -815,7 +815,7 @@ public abstract class Toolkit
|
|||
{
|
||||
if (AWTUtilities.isValidKey(keyCode))
|
||||
throw new UnsupportedOperationException
|
||||
("cannot get locking state of key code " + keyCode);
|
||||
("cannot get locking state of key code " + keyCode);
|
||||
|
||||
throw new IllegalArgumentException("invalid key code " + keyCode);
|
||||
}
|
||||
|
@ -835,7 +835,7 @@ public abstract class Toolkit
|
|||
&& keyCode != KeyEvent.VK_NUM_LOCK
|
||||
&& keyCode != KeyEvent.VK_SCROLL_LOCK)
|
||||
throw new IllegalArgumentException();
|
||||
|
||||
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
@ -915,7 +915,7 @@ public abstract class Toolkit
|
|||
* Returns whether Toolkit supports this state for Frames.
|
||||
*
|
||||
* @exception HeadlessException If GraphicsEnvironment.isHeadless() is true.
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public boolean isFrameStateSupported(int state)
|
||||
|
|
|
@ -73,7 +73,7 @@ public class Window extends Container implements Accessible
|
|||
private String warningString = null;
|
||||
private int windowSerializedDataVersion = 0; // FIXME
|
||||
/** @since 1.2 */
|
||||
// private FocusManager focusMgr; // FIXME: what is this?
|
||||
// private FocusManager focusMgr; // FIXME: what is this?
|
||||
/** @since 1.2 */
|
||||
private int state = 0;
|
||||
/** @since 1.4 */
|
||||
|
@ -92,7 +92,7 @@ public class Window extends Container implements Accessible
|
|||
|
||||
// This is package-private to avoid an accessor method.
|
||||
transient Component windowFocusOwner;
|
||||
|
||||
|
||||
/*
|
||||
* The number used to generate the name returned by getName.
|
||||
*/
|
||||
|
@ -106,7 +106,7 @@ public class Window extends Container implements Accessible
|
|||
{
|
||||
return AccessibleRole.WINDOW;
|
||||
}
|
||||
|
||||
|
||||
public AccessibleStateSet getAccessibleStateSet()
|
||||
{
|
||||
AccessibleStateSet states = super.getAccessibleStateSet();
|
||||
|
@ -116,7 +116,7 @@ public class Window extends Container implements Accessible
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* This (package access) constructor is used by subclasses that want
|
||||
* to build windows that do not have parents. Eg. toplevel
|
||||
* application frames. Subclasses cannot call super(null), since
|
||||
|
@ -129,7 +129,7 @@ public class Window extends Container implements Accessible
|
|||
// cycle roots.
|
||||
focusCycleRoot = true;
|
||||
setLayout(new BorderLayout());
|
||||
|
||||
|
||||
GraphicsEnvironment g = GraphicsEnvironment.getLocalGraphicsEnvironment();
|
||||
graphicsConfig = g.getDefaultScreenDevice().getDefaultConfiguration();
|
||||
}
|
||||
|
@ -157,7 +157,7 @@ public class Window extends Container implements Accessible
|
|||
|
||||
/**
|
||||
* Initializes a new instance of <code>Window</code> with the specified
|
||||
* parent. The window will initially be invisible.
|
||||
* parent. The window will initially be invisible.
|
||||
*
|
||||
* @exception IllegalArgumentException If the owner's GraphicsConfiguration
|
||||
* is not from a screen device, or if owner is null; this exception is always
|
||||
|
@ -169,10 +169,10 @@ public class Window extends Container implements Accessible
|
|||
{
|
||||
this (owner, owner.getGraphicsConfiguration ());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Initializes a new instance of <code>Window</code> with the specified
|
||||
* parent. The window will initially be invisible.
|
||||
* parent. The window will initially be invisible.
|
||||
*
|
||||
* @exception IllegalArgumentException If owner is null or if gc is not from a
|
||||
* screen device; this exception is always thrown when
|
||||
|
@ -186,10 +186,10 @@ public class Window extends Container implements Accessible
|
|||
|
||||
synchronized (getTreeLock())
|
||||
{
|
||||
if (owner == null)
|
||||
throw new IllegalArgumentException ("owner must not be null");
|
||||
if (owner == null)
|
||||
throw new IllegalArgumentException ("owner must not be null");
|
||||
|
||||
parent = owner;
|
||||
parent = owner;
|
||||
owner.ownedWindows.add(new WeakReference(this));
|
||||
}
|
||||
|
||||
|
@ -312,18 +312,18 @@ public class Window extends Container implements Accessible
|
|||
// Hide visible owned windows.
|
||||
synchronized (getTreeLock ())
|
||||
{
|
||||
Iterator e = ownedWindows.iterator();
|
||||
while(e.hasNext())
|
||||
{
|
||||
Window w = (Window)(((Reference) e.next()).get());
|
||||
if (w != null)
|
||||
{
|
||||
if (w.isVisible() && w.getPeer() != null)
|
||||
w.getPeer().setVisible(false);
|
||||
}
|
||||
else
|
||||
e.remove();
|
||||
}
|
||||
Iterator e = ownedWindows.iterator();
|
||||
while(e.hasNext())
|
||||
{
|
||||
Window w = (Window)(((Reference) e.next()).get());
|
||||
if (w != null)
|
||||
{
|
||||
if (w.isVisible() && w.getPeer() != null)
|
||||
w.getPeer().setVisible(false);
|
||||
}
|
||||
else
|
||||
e.remove();
|
||||
}
|
||||
}
|
||||
super.hide();
|
||||
}
|
||||
|
@ -338,30 +338,30 @@ public class Window extends Container implements Accessible
|
|||
|
||||
synchronized (getTreeLock ())
|
||||
{
|
||||
Iterator e = ownedWindows.iterator();
|
||||
while(e.hasNext())
|
||||
{
|
||||
Window w = (Window)(((Reference) e.next()).get());
|
||||
if (w != null)
|
||||
w.dispose();
|
||||
else
|
||||
// Remove null weak reference from ownedWindows.
|
||||
e.remove();
|
||||
}
|
||||
Iterator e = ownedWindows.iterator();
|
||||
while(e.hasNext())
|
||||
{
|
||||
Window w = (Window)(((Reference) e.next()).get());
|
||||
if (w != null)
|
||||
w.dispose();
|
||||
else
|
||||
// Remove null weak reference from ownedWindows.
|
||||
e.remove();
|
||||
}
|
||||
|
||||
for (int i = 0; i < ncomponents; ++i)
|
||||
component[i].removeNotify();
|
||||
this.removeNotify();
|
||||
for (int i = 0; i < ncomponents; ++i)
|
||||
component[i].removeNotify();
|
||||
this.removeNotify();
|
||||
|
||||
// Post WINDOW_CLOSED from here.
|
||||
if (windowListener != null
|
||||
|| (eventMask & AWTEvent.WINDOW_EVENT_MASK) != 0)
|
||||
{
|
||||
WindowEvent ev = new WindowEvent(this,
|
||||
WindowEvent.WINDOW_CLOSED);
|
||||
Toolkit tk = Toolkit.getDefaultToolkit();
|
||||
tk.getSystemEventQueue().postEvent(ev);
|
||||
}
|
||||
// Post WINDOW_CLOSED from here.
|
||||
if (windowListener != null
|
||||
|| (eventMask & AWTEvent.WINDOW_EVENT_MASK) != 0)
|
||||
{
|
||||
WindowEvent ev = new WindowEvent(this,
|
||||
WindowEvent.WINDOW_CLOSED);
|
||||
Toolkit tk = Toolkit.getDefaultToolkit();
|
||||
tk.getSystemEventQueue().postEvent(ev);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -376,9 +376,9 @@ public class Window extends Container implements Accessible
|
|||
{
|
||||
if (peer != null)
|
||||
{
|
||||
if( alwaysOnTop )
|
||||
setAlwaysOnTop( false );
|
||||
( (WindowPeer) peer ).toBack();
|
||||
if( alwaysOnTop )
|
||||
setAlwaysOnTop( false );
|
||||
( (WindowPeer) peer ).toBack();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -397,12 +397,12 @@ public class Window extends Container implements Accessible
|
|||
*
|
||||
* @return The toolkit used to create this window.
|
||||
*
|
||||
* @specnote Unlike Component.getToolkit, this implementation always
|
||||
* @specnote Unlike Component.getToolkit, this implementation always
|
||||
* returns the value of Toolkit.getDefaultToolkit().
|
||||
*/
|
||||
public Toolkit getToolkit()
|
||||
{
|
||||
return Toolkit.getDefaultToolkit();
|
||||
return Toolkit.getDefaultToolkit();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -455,28 +455,28 @@ public class Window extends Container implements Accessible
|
|||
Window [] trimmedList;
|
||||
synchronized (getTreeLock ())
|
||||
{
|
||||
// Windows with non-null weak references in ownedWindows.
|
||||
Window [] validList = new Window [ownedWindows.size()];
|
||||
// Windows with non-null weak references in ownedWindows.
|
||||
Window [] validList = new Window [ownedWindows.size()];
|
||||
|
||||
Iterator e = ownedWindows.iterator();
|
||||
int numValid = 0;
|
||||
while (e.hasNext())
|
||||
{
|
||||
Window w = (Window)(((Reference) e.next()).get());
|
||||
if (w != null)
|
||||
validList[numValid++] = w;
|
||||
else
|
||||
// Remove null weak reference from ownedWindows.
|
||||
e.remove();
|
||||
}
|
||||
Iterator e = ownedWindows.iterator();
|
||||
int numValid = 0;
|
||||
while (e.hasNext())
|
||||
{
|
||||
Window w = (Window)(((Reference) e.next()).get());
|
||||
if (w != null)
|
||||
validList[numValid++] = w;
|
||||
else
|
||||
// Remove null weak reference from ownedWindows.
|
||||
e.remove();
|
||||
}
|
||||
|
||||
if (numValid != validList.length)
|
||||
{
|
||||
trimmedList = new Window [numValid];
|
||||
System.arraycopy (validList, 0, trimmedList, 0, numValid);
|
||||
}
|
||||
else
|
||||
trimmedList = validList;
|
||||
if (numValid != validList.length)
|
||||
{
|
||||
trimmedList = new Window [numValid];
|
||||
System.arraycopy (validList, 0, trimmedList, 0, numValid);
|
||||
}
|
||||
else
|
||||
trimmedList = validList;
|
||||
}
|
||||
return trimmedList;
|
||||
}
|
||||
|
@ -531,7 +531,7 @@ public class Window extends Container implements Accessible
|
|||
AWTEventMulticaster.getListeners(windowFocusListener,
|
||||
WindowFocusListener.class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns an array of all the window state listeners registered on this
|
||||
* window.
|
||||
|
@ -557,7 +557,7 @@ public class Window extends Container implements Accessible
|
|||
wfl);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Adds the specified listener to this window.
|
||||
*
|
||||
|
@ -569,10 +569,10 @@ public class Window extends Container implements Accessible
|
|||
{
|
||||
newEventsOnly = true;
|
||||
windowStateListener = AWTEventMulticaster.add (windowStateListener,
|
||||
wsl);
|
||||
wsl);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Removes the specified listener from this window.
|
||||
*/
|
||||
|
@ -580,7 +580,7 @@ public class Window extends Container implements Accessible
|
|||
{
|
||||
windowFocusListener = AWTEventMulticaster.remove (windowFocusListener, wfl);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Removes the specified listener from this window.
|
||||
*
|
||||
|
@ -697,7 +697,7 @@ public class Window extends Container implements Accessible
|
|||
/**
|
||||
* Identifies if this window is active. The active window is a Frame or
|
||||
* Dialog that has focus or owns the active window.
|
||||
*
|
||||
*
|
||||
* @return true if active, else false.
|
||||
* @since 1.4
|
||||
*/
|
||||
|
@ -710,7 +710,7 @@ public class Window extends Container implements Accessible
|
|||
/**
|
||||
* Identifies if this window is focused. A window is focused if it is the
|
||||
* focus owner or it contains the focus owner.
|
||||
*
|
||||
*
|
||||
* @return true if focused, else false.
|
||||
* @since 1.4
|
||||
*/
|
||||
|
@ -719,7 +719,7 @@ public class Window extends Container implements Accessible
|
|||
KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();
|
||||
return manager.getFocusedWindow() == this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the child window that has focus if this window is active.
|
||||
* This method returns <code>null</code> if this window is not active
|
||||
|
@ -804,7 +804,7 @@ public class Window extends Container implements Accessible
|
|||
{
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
|
||||
|
||||
if (c == null || !c.isShowing())
|
||||
{
|
||||
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
|
||||
|
@ -820,7 +820,7 @@ public class Window extends Container implements Accessible
|
|||
|
||||
x = c.getLocationOnScreen().x;
|
||||
y = c.getLocationOnScreen().y;
|
||||
|
||||
|
||||
// If bottom of component is cut off, window placed
|
||||
// on the left or the right side of component
|
||||
if ((y + cHeight) > screenSize.height)
|
||||
|
@ -853,7 +853,7 @@ public class Window extends Container implements Accessible
|
|||
x = 0;
|
||||
else
|
||||
x += (cWidth - width) / 2;
|
||||
|
||||
|
||||
y += (cHeight - height) / 2;
|
||||
}
|
||||
else
|
||||
|
@ -892,9 +892,9 @@ public class Window extends Container implements Accessible
|
|||
WindowBltBufferStrategy(int numBuffers, boolean accelerated)
|
||||
{
|
||||
super(numBuffers,
|
||||
new BufferCapabilities(new ImageCapabilities(accelerated),
|
||||
new ImageCapabilities(accelerated),
|
||||
BufferCapabilities.FlipContents.COPIED));
|
||||
new BufferCapabilities(new ImageCapabilities(accelerated),
|
||||
new ImageCapabilities(accelerated),
|
||||
BufferCapabilities.FlipContents.COPIED));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -915,9 +915,9 @@ public class Window extends Container implements Accessible
|
|||
throws AWTException
|
||||
{
|
||||
super(numBuffers,
|
||||
new BufferCapabilities(new ImageCapabilities(true),
|
||||
new ImageCapabilities(true),
|
||||
BufferCapabilities.FlipContents.COPIED));
|
||||
new BufferCapabilities(new ImageCapabilities(true),
|
||||
new ImageCapabilities(true),
|
||||
BufferCapabilities.FlipContents.COPIED));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -948,18 +948,18 @@ public class Window extends Container implements Accessible
|
|||
{
|
||||
if (numBuffers < 1)
|
||||
throw new IllegalArgumentException("Window.createBufferStrategy: number"
|
||||
+ " of buffers is less than one");
|
||||
+ " of buffers is less than one");
|
||||
|
||||
if (!isDisplayable())
|
||||
throw new IllegalStateException("Window.createBufferStrategy: window is"
|
||||
+ " not displayable");
|
||||
+ " not displayable");
|
||||
|
||||
BufferStrategy newStrategy = null;
|
||||
|
||||
// try a flipping strategy
|
||||
try
|
||||
{
|
||||
newStrategy = new WindowFlipBufferStrategy(numBuffers);
|
||||
newStrategy = new WindowFlipBufferStrategy(numBuffers);
|
||||
}
|
||||
catch (AWTException e)
|
||||
{
|
||||
|
@ -996,11 +996,11 @@ public class Window extends Container implements Accessible
|
|||
{
|
||||
if (numBuffers < 1)
|
||||
throw new IllegalArgumentException("Window.createBufferStrategy: number"
|
||||
+ " of buffers is less than one");
|
||||
+ " of buffers is less than one");
|
||||
|
||||
if (caps == null)
|
||||
throw new IllegalArgumentException("Window.createBufferStrategy:"
|
||||
+ " capabilities object is null");
|
||||
+ " capabilities object is null");
|
||||
|
||||
// a flipping strategy was requested
|
||||
if (caps.isPageFlipping())
|
||||
|
@ -1040,7 +1040,7 @@ public class Window extends Container implements Accessible
|
|||
ResourceBundle rb = ResourceBundle.getBundle(rbName, Locale.getDefault(),
|
||||
ClassLoader.getSystemClassLoader());
|
||||
if (rb != null)
|
||||
applyResourceBundle(rb);
|
||||
applyResourceBundle(rb);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1057,7 +1057,7 @@ public class Window extends Container implements Accessible
|
|||
return accessibleContext;
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Get graphics configuration. The implementation for Window will
|
||||
* not ask any parent containers, since Window is a toplevel
|
||||
* window and not actually embedded in the parent component.
|
||||
|
@ -1083,17 +1083,17 @@ public class Window extends Container implements Accessible
|
|||
case WindowEvent.WINDOW_GAINED_FOCUS:
|
||||
windowFocusListener.windowGainedFocus (event);
|
||||
break;
|
||||
|
||||
|
||||
case WindowEvent.WINDOW_LOST_FOCUS:
|
||||
windowFocusListener.windowLostFocus (event);
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @since 1.4
|
||||
*/
|
||||
|
@ -1122,10 +1122,10 @@ public class Window extends Container implements Accessible
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the value of the focusableWindowState property.
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public boolean getFocusableWindowState ()
|
||||
|
@ -1135,17 +1135,17 @@ public class Window extends Container implements Accessible
|
|||
|
||||
/**
|
||||
* Sets the value of the focusableWindowState property.
|
||||
*
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public void setFocusableWindowState (boolean focusableWindowState)
|
||||
{
|
||||
this.focusableWindowState = focusableWindowState;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check whether this Container is a focus cycle root.
|
||||
* Returns always <code>true</code> as Windows are the
|
||||
* Returns always <code>true</code> as Windows are the
|
||||
* root of the focus cycle.
|
||||
*
|
||||
* @return Always <code>true</code>.
|
||||
|
@ -1161,7 +1161,7 @@ public class Window extends Container implements Accessible
|
|||
* Set whether or not this Container is the root of a focus
|
||||
* traversal cycle. Windows are the root of the focus cycle
|
||||
* and therefore this method does nothing.
|
||||
*
|
||||
*
|
||||
* @param focusCycleRoot ignored.
|
||||
*
|
||||
* @since 1.4
|
||||
|
@ -1201,7 +1201,7 @@ public class Window extends Container implements Accessible
|
|||
* Sets the always-on-top state of this window (if supported).
|
||||
*
|
||||
* Setting a window to always-on-top means it will not be obscured
|
||||
* by any other windows (with the exception of other always-on-top
|
||||
* by any other windows (with the exception of other always-on-top
|
||||
* windows). Not all platforms may support this.
|
||||
*
|
||||
* If an window's always-on-top status is changed to false, the window
|
||||
|
@ -1220,14 +1220,14 @@ public class Window extends Container implements Accessible
|
|||
|
||||
if( this.alwaysOnTop == alwaysOnTop )
|
||||
return;
|
||||
|
||||
|
||||
if( alwaysOnTop )
|
||||
toFront();
|
||||
|
||||
firePropertyChange("alwaysOnTop", this.alwaysOnTop, alwaysOnTop );
|
||||
this.alwaysOnTop = alwaysOnTop;
|
||||
|
||||
if (peer != null)
|
||||
if (peer != null)
|
||||
( (WindowPeer) peer).updateAlwaysOnTop();
|
||||
else
|
||||
System.out.println("Null peer?!");
|
||||
|
|
|
@ -212,7 +212,7 @@ public class ICC_ColorSpace extends ColorSpace
|
|||
*/
|
||||
public float getMinValue(int idx)
|
||||
{
|
||||
// FIXME: Not 100% certain of this.
|
||||
// FIXME: Not 100% certain of this.
|
||||
if (type == ColorSpace.TYPE_Lab && (idx == 1 || idx == 2))
|
||||
return -128f;
|
||||
|
||||
|
@ -236,10 +236,10 @@ public class ICC_ColorSpace extends ColorSpace
|
|||
return 1 + 32767 / 32768f;
|
||||
else if (type == ColorSpace.TYPE_Lab)
|
||||
{
|
||||
if (idx == 0)
|
||||
return 100;
|
||||
if (idx == 1 || idx == 2)
|
||||
return 127;
|
||||
if (idx == 0)
|
||||
return 100;
|
||||
if (idx == 1 || idx == 2)
|
||||
return 127;
|
||||
}
|
||||
if (idx < 0 || idx >= nComponents)
|
||||
throw new IllegalArgumentException();
|
||||
|
@ -255,28 +255,28 @@ public class ICC_ColorSpace extends ColorSpace
|
|||
switch (profile.isPredefined())
|
||||
{
|
||||
case CS_sRGB:
|
||||
converter = new SrgbConverter();
|
||||
break;
|
||||
converter = new SrgbConverter();
|
||||
break;
|
||||
case CS_CIEXYZ:
|
||||
converter = new CieXyzConverter();
|
||||
break;
|
||||
converter = new CieXyzConverter();
|
||||
break;
|
||||
case CS_GRAY:
|
||||
converter = new GrayScaleConverter();
|
||||
break;
|
||||
converter = new GrayScaleConverter();
|
||||
break;
|
||||
case CS_LINEAR_RGB:
|
||||
converter = new LinearRGBConverter();
|
||||
break;
|
||||
converter = new LinearRGBConverter();
|
||||
break;
|
||||
case CS_PYCC:
|
||||
converter = new PyccConverter();
|
||||
break;
|
||||
converter = new PyccConverter();
|
||||
break;
|
||||
default:
|
||||
if (profile instanceof ICC_ProfileRGB)
|
||||
converter = new RgbProfileConverter((ICC_ProfileRGB) profile);
|
||||
else if (profile instanceof ICC_ProfileGray)
|
||||
converter = new GrayProfileConverter((ICC_ProfileGray) profile);
|
||||
else
|
||||
converter = new ClutProfileConverter(profile);
|
||||
break;
|
||||
if (profile instanceof ICC_ProfileRGB)
|
||||
converter = new RgbProfileConverter((ICC_ProfileRGB) profile);
|
||||
else if (profile instanceof ICC_ProfileGray)
|
||||
converter = new GrayProfileConverter((ICC_ProfileGray) profile);
|
||||
else
|
||||
converter = new ClutProfileConverter(profile);
|
||||
break;
|
||||
}
|
||||
return converter;
|
||||
}
|
||||
|
@ -293,8 +293,8 @@ public class ICC_ColorSpace extends ColorSpace
|
|||
invDiffMinMax = diffMinMax = null;
|
||||
for (int i = 0; i < nComponents; i++)
|
||||
{
|
||||
minVal[i] = getMinValue(i);
|
||||
maxVal[i] = getMaxValue(i);
|
||||
minVal[i] = getMinValue(i);
|
||||
maxVal[i] = getMaxValue(i);
|
||||
}
|
||||
needScaleInit = true;
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@ public class ICC_Profile implements Serializable
|
|||
/**
|
||||
* Color space signatures
|
||||
*/
|
||||
public static final int icSigXYZData = 0x58595A20; // 'XYZ '
|
||||
public static final int icSigXYZData = 0x58595A20; // 'XYZ '
|
||||
public static final int icSigLabData = 0x4C616220; // 'Lab '
|
||||
public static final int icSigLuvData = 0x4C757620; // 'Luv '
|
||||
public static final int icSigYCbCrData = 0x59436272; // 'YCbr'
|
||||
|
@ -151,50 +151,50 @@ public class ICC_Profile implements Serializable
|
|||
/**
|
||||
* Tag signatures
|
||||
*/
|
||||
public static final int icSigAToB0Tag = 0x41324230; // 'A2B0'
|
||||
public static final int icSigAToB1Tag = 0x41324231; // 'A2B1'
|
||||
public static final int icSigAToB2Tag = 0x41324232; // 'A2B2'
|
||||
public static final int icSigBlueColorantTag = 0x6258595A; // 'bXYZ'
|
||||
public static final int icSigBlueTRCTag = 0x62545243; // 'bTRC'
|
||||
public static final int icSigBToA0Tag = 0x42324130; // 'B2A0'
|
||||
public static final int icSigBToA1Tag = 0x42324131; // 'B2A1'
|
||||
public static final int icSigBToA2Tag = 0x42324132; // 'B2A2'
|
||||
public static final int icSigCalibrationDateTimeTag = 0x63616C74; // 'calt'
|
||||
public static final int icSigCharTargetTag = 0x74617267; // 'targ'
|
||||
public static final int icSigCopyrightTag = 0x63707274; // 'cprt'
|
||||
public static final int icSigCrdInfoTag = 0x63726469; // 'crdi'
|
||||
public static final int icSigDeviceMfgDescTag = 0x646D6E64; // 'dmnd'
|
||||
public static final int icSigDeviceModelDescTag = 0x646D6464; // 'dmdd'
|
||||
public static final int icSigDeviceSettingsTag = 0x64657673; // 'devs'
|
||||
public static final int icSigGamutTag = 0x67616D74; // 'gamt'
|
||||
public static final int icSigGrayTRCTag = 0x6b545243; // 'kTRC'
|
||||
public static final int icSigGreenColorantTag = 0x6758595A; // 'gXYZ'
|
||||
public static final int icSigGreenTRCTag = 0x67545243; // 'gTRC'
|
||||
public static final int icSigLuminanceTag = 0x6C756d69; // 'lumi'
|
||||
public static final int icSigMeasurementTag = 0x6D656173; // 'meas'
|
||||
public static final int icSigMediaBlackPointTag = 0x626B7074; // 'bkpt'
|
||||
public static final int icSigMediaWhitePointTag = 0x77747074; // 'wtpt'
|
||||
public static final int icSigNamedColor2Tag = 0x6E636C32; // 'ncl2'
|
||||
public static final int icSigOutputResponseTag = 0x72657370; // 'resp'
|
||||
public static final int icSigPreview0Tag = 0x70726530; // 'pre0'
|
||||
public static final int icSigPreview1Tag = 0x70726531; // 'pre1'
|
||||
public static final int icSigPreview2Tag = 0x70726532; // 'pre2'
|
||||
public static final int icSigProfileDescriptionTag = 0x64657363; // 'desc'
|
||||
public static final int icSigProfileSequenceDescTag = 0x70736571; // 'pseq'
|
||||
public static final int icSigPs2CRD0Tag = 0x70736430; // 'psd0'
|
||||
public static final int icSigPs2CRD1Tag = 0x70736431; // 'psd1'
|
||||
public static final int icSigPs2CRD2Tag = 0x70736432; // 'psd2'
|
||||
public static final int icSigPs2CRD3Tag = 0x70736433; // 'psd3'
|
||||
public static final int icSigPs2CSATag = 0x70733273; // 'ps2s'
|
||||
public static final int icSigPs2RenderingIntentTag = 0x70733269; // 'ps2i'
|
||||
public static final int icSigRedColorantTag = 0x7258595A; // 'rXYZ'
|
||||
public static final int icSigRedTRCTag = 0x72545243; // 'rTRC'
|
||||
public static final int icSigScreeningDescTag = 0x73637264; // 'scrd'
|
||||
public static final int icSigScreeningTag = 0x7363726E; // 'scrn'
|
||||
public static final int icSigTechnologyTag = 0x74656368; // 'tech'
|
||||
public static final int icSigUcrBgTag = 0x62666420; // 'bfd '
|
||||
public static final int icSigViewingCondDescTag = 0x76756564; // 'vued'
|
||||
public static final int icSigViewingConditionsTag = 0x76696577; // 'view'
|
||||
public static final int icSigAToB0Tag = 0x41324230; // 'A2B0'
|
||||
public static final int icSigAToB1Tag = 0x41324231; // 'A2B1'
|
||||
public static final int icSigAToB2Tag = 0x41324232; // 'A2B2'
|
||||
public static final int icSigBlueColorantTag = 0x6258595A; // 'bXYZ'
|
||||
public static final int icSigBlueTRCTag = 0x62545243; // 'bTRC'
|
||||
public static final int icSigBToA0Tag = 0x42324130; // 'B2A0'
|
||||
public static final int icSigBToA1Tag = 0x42324131; // 'B2A1'
|
||||
public static final int icSigBToA2Tag = 0x42324132; // 'B2A2'
|
||||
public static final int icSigCalibrationDateTimeTag = 0x63616C74; // 'calt'
|
||||
public static final int icSigCharTargetTag = 0x74617267; // 'targ'
|
||||
public static final int icSigCopyrightTag = 0x63707274; // 'cprt'
|
||||
public static final int icSigCrdInfoTag = 0x63726469; // 'crdi'
|
||||
public static final int icSigDeviceMfgDescTag = 0x646D6E64; // 'dmnd'
|
||||
public static final int icSigDeviceModelDescTag = 0x646D6464; // 'dmdd'
|
||||
public static final int icSigDeviceSettingsTag = 0x64657673; // 'devs'
|
||||
public static final int icSigGamutTag = 0x67616D74; // 'gamt'
|
||||
public static final int icSigGrayTRCTag = 0x6b545243; // 'kTRC'
|
||||
public static final int icSigGreenColorantTag = 0x6758595A; // 'gXYZ'
|
||||
public static final int icSigGreenTRCTag = 0x67545243; // 'gTRC'
|
||||
public static final int icSigLuminanceTag = 0x6C756d69; // 'lumi'
|
||||
public static final int icSigMeasurementTag = 0x6D656173; // 'meas'
|
||||
public static final int icSigMediaBlackPointTag = 0x626B7074; // 'bkpt'
|
||||
public static final int icSigMediaWhitePointTag = 0x77747074; // 'wtpt'
|
||||
public static final int icSigNamedColor2Tag = 0x6E636C32; // 'ncl2'
|
||||
public static final int icSigOutputResponseTag = 0x72657370; // 'resp'
|
||||
public static final int icSigPreview0Tag = 0x70726530; // 'pre0'
|
||||
public static final int icSigPreview1Tag = 0x70726531; // 'pre1'
|
||||
public static final int icSigPreview2Tag = 0x70726532; // 'pre2'
|
||||
public static final int icSigProfileDescriptionTag = 0x64657363; // 'desc'
|
||||
public static final int icSigProfileSequenceDescTag = 0x70736571; // 'pseq'
|
||||
public static final int icSigPs2CRD0Tag = 0x70736430; // 'psd0'
|
||||
public static final int icSigPs2CRD1Tag = 0x70736431; // 'psd1'
|
||||
public static final int icSigPs2CRD2Tag = 0x70736432; // 'psd2'
|
||||
public static final int icSigPs2CRD3Tag = 0x70736433; // 'psd3'
|
||||
public static final int icSigPs2CSATag = 0x70733273; // 'ps2s'
|
||||
public static final int icSigPs2RenderingIntentTag = 0x70733269; // 'ps2i'
|
||||
public static final int icSigRedColorantTag = 0x7258595A; // 'rXYZ'
|
||||
public static final int icSigRedTRCTag = 0x72545243; // 'rTRC'
|
||||
public static final int icSigScreeningDescTag = 0x73637264; // 'scrd'
|
||||
public static final int icSigScreeningTag = 0x7363726E; // 'scrn'
|
||||
public static final int icSigTechnologyTag = 0x74656368; // 'tech'
|
||||
public static final int icSigUcrBgTag = 0x62666420; // 'bfd '
|
||||
public static final int icSigViewingCondDescTag = 0x76756564; // 'vued'
|
||||
public static final int icSigViewingConditionsTag = 0x76696577; // 'view'
|
||||
public static final int icSigChromaticityTag = 0x6368726D; // 'chrm'
|
||||
|
||||
/**
|
||||
|
@ -430,10 +430,10 @@ public class ICC_Profile implements Serializable
|
|||
int bytesLeft = totalBytes;
|
||||
while (bytesLeft > 0)
|
||||
{
|
||||
int read = in.read(data,
|
||||
int read = in.read(data,
|
||||
ProfileHeader.HEADERSIZE + (totalBytes - bytesLeft),
|
||||
bytesLeft);
|
||||
bytesLeft -= read;
|
||||
bytesLeft -= read;
|
||||
}
|
||||
|
||||
return getInstance(data);
|
||||
|
@ -540,9 +540,9 @@ public class ICC_Profile implements Serializable
|
|||
Enumeration e = tagTable.elements();
|
||||
while (e.hasMoreElements())
|
||||
{
|
||||
TagEntry tag = (TagEntry) e.nextElement();
|
||||
System.arraycopy(tag.getData(), 0,
|
||||
data, tag.getOffset(), tag.getSize());
|
||||
TagEntry tag = (TagEntry) e.nextElement();
|
||||
System.arraycopy(tag.getData(), 0,
|
||||
data, tag.getOffset(), tag.getSize());
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
@ -582,8 +582,8 @@ public class ICC_Profile implements Serializable
|
|||
header = new ProfileHeader(data);
|
||||
else
|
||||
{
|
||||
TagEntry t = new TagEntry(tagSignature, data);
|
||||
tagTable.put(t.hashKey(), t);
|
||||
TagEntry t = new TagEntry(tagSignature, data);
|
||||
tagTable.put(t.hashKey(), t);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -592,7 +592,7 @@ public class ICC_Profile implements Serializable
|
|||
*/
|
||||
public int getNumComponents()
|
||||
{
|
||||
int[] lookup =
|
||||
int[] lookup =
|
||||
{
|
||||
ColorSpace.TYPE_RGB, 3, ColorSpace.TYPE_CMY, 3,
|
||||
ColorSpace.TYPE_CMYK, 4, ColorSpace.TYPE_GRAY, 1,
|
||||
|
@ -610,7 +610,7 @@ public class ICC_Profile implements Serializable
|
|||
};
|
||||
for (int i = 0; i < lookup.length; i += 2)
|
||||
if (header.getColorSpace() == lookup[i])
|
||||
return lookup[i + 1];
|
||||
return lookup[i + 1];
|
||||
return 3; // should never happen.
|
||||
}
|
||||
|
||||
|
@ -640,24 +640,24 @@ public class ICC_Profile implements Serializable
|
|||
|
||||
if (data != null)
|
||||
{
|
||||
header = new ProfileHeader(data);
|
||||
tagTable = createTagTable(data);
|
||||
profileID = -1; // Not a predefined color space
|
||||
header = new ProfileHeader(data);
|
||||
tagTable = createTagTable(data);
|
||||
profileID = -1; // Not a predefined color space
|
||||
}
|
||||
|
||||
if (predef != null)
|
||||
{
|
||||
predef = predef.intern();
|
||||
if (predef.equals("CS_sRGB"))
|
||||
createProfile(ColorSpace.CS_sRGB);
|
||||
if (predef.equals("CS_LINEAR_RGB"))
|
||||
createProfile(ColorSpace.CS_LINEAR_RGB);
|
||||
if (predef.equals("CS_CIEXYZ"))
|
||||
createProfile(ColorSpace.CS_CIEXYZ);
|
||||
if (predef.equals("CS_GRAY"))
|
||||
createProfile(ColorSpace.CS_GRAY);
|
||||
if (predef.equals("CS_PYCC"))
|
||||
createProfile(ColorSpace.CS_PYCC);
|
||||
predef = predef.intern();
|
||||
if (predef.equals("CS_sRGB"))
|
||||
createProfile(ColorSpace.CS_sRGB);
|
||||
if (predef.equals("CS_LINEAR_RGB"))
|
||||
createProfile(ColorSpace.CS_LINEAR_RGB);
|
||||
if (predef.equals("CS_CIEXYZ"))
|
||||
createProfile(ColorSpace.CS_CIEXYZ);
|
||||
if (predef.equals("CS_GRAY"))
|
||||
createProfile(ColorSpace.CS_GRAY);
|
||||
if (predef.equals("CS_PYCC"))
|
||||
createProfile(ColorSpace.CS_PYCC);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -682,9 +682,9 @@ public class ICC_Profile implements Serializable
|
|||
s.writeObject("CS_PYCC");
|
||||
else
|
||||
{
|
||||
s.writeObject(null); // null string
|
||||
s.writeObject(getData()); // data
|
||||
return;
|
||||
s.writeObject(null); // null string
|
||||
s.writeObject(getData()); // data
|
||||
return;
|
||||
}
|
||||
s.writeObject(null); // null data
|
||||
}
|
||||
|
@ -702,16 +702,16 @@ public class ICC_Profile implements Serializable
|
|||
Hashtable tagTable = new Hashtable();
|
||||
for (int i = 0; i < nTags; i++)
|
||||
{
|
||||
TagEntry te = new TagEntry(buf.getInt(tagTableOffset
|
||||
+ i * TagEntry.entrySize + 4),
|
||||
buf.getInt(tagTableOffset
|
||||
+ i * TagEntry.entrySize + 8),
|
||||
buf.getInt(tagTableOffset
|
||||
+ i * TagEntry.entrySize + 12),
|
||||
data);
|
||||
TagEntry te = new TagEntry(buf.getInt(tagTableOffset
|
||||
+ i * TagEntry.entrySize + 4),
|
||||
buf.getInt(tagTableOffset
|
||||
+ i * TagEntry.entrySize + 8),
|
||||
buf.getInt(tagTableOffset
|
||||
+ i * TagEntry.entrySize + 12),
|
||||
data);
|
||||
|
||||
if (tagTable.put(te.hashKey(), te) != null)
|
||||
throw new IllegalArgumentException("Duplicate tag in profile:" + te);
|
||||
if (tagTable.put(te.hashKey(), te) != null)
|
||||
throw new IllegalArgumentException("Duplicate tag in profile:" + te);
|
||||
}
|
||||
return tagTable;
|
||||
}
|
||||
|
@ -724,7 +724,7 @@ public class ICC_Profile implements Serializable
|
|||
{
|
||||
int totalSize = ProfileHeader.HEADERSIZE; // size of header
|
||||
|
||||
int tagTableSize = 4 + tagTable.size() * TagEntry.entrySize; // size of tag table
|
||||
int tagTableSize = 4 + tagTable.size() * TagEntry.entrySize; // size of tag table
|
||||
if ((tagTableSize & 0x0003) != 0)
|
||||
tagTableSize += 4 - (tagTableSize & 0x0003); // pad
|
||||
totalSize += tagTableSize;
|
||||
|
@ -732,10 +732,10 @@ public class ICC_Profile implements Serializable
|
|||
Enumeration e = tagTable.elements();
|
||||
while (e.hasMoreElements())
|
||||
{ // tag data
|
||||
int tagSize = ((TagEntry) e.nextElement()).getSize();
|
||||
if ((tagSize & 0x0003) != 0)
|
||||
tagSize += 4 - (tagSize & 0x0003); // pad
|
||||
totalSize += tagSize;
|
||||
int tagSize = ((TagEntry) e.nextElement()).getSize();
|
||||
if ((tagSize & 0x0003) != 0)
|
||||
tagSize += 4 - (tagSize & 0x0003); // pad
|
||||
totalSize += tagSize;
|
||||
}
|
||||
return totalSize;
|
||||
}
|
||||
|
@ -747,7 +747,7 @@ public class ICC_Profile implements Serializable
|
|||
{
|
||||
int tagTableSize = 4 + tagTable.size() * TagEntry.entrySize;
|
||||
if ((tagTableSize & 0x0003) != 0)
|
||||
tagTableSize += 4 - (tagTableSize & 0x0003); // pad
|
||||
tagTableSize += 4 - (tagTableSize & 0x0003); // pad
|
||||
|
||||
int offset = 4;
|
||||
int tagOffset = ProfileHeader.HEADERSIZE + tagTableSize;
|
||||
|
@ -757,16 +757,16 @@ public class ICC_Profile implements Serializable
|
|||
Enumeration e = tagTable.elements();
|
||||
while (e.hasMoreElements())
|
||||
{
|
||||
TagEntry tag = (TagEntry) e.nextElement();
|
||||
buf.putInt(offset, tag.getSignature());
|
||||
buf.putInt(offset + 4, tagOffset);
|
||||
buf.putInt(offset + 8, tag.getSize());
|
||||
tag.setOffset(tagOffset);
|
||||
int tagSize = tag.getSize();
|
||||
if ((tagSize & 0x0003) != 0)
|
||||
tagSize += 4 - (tagSize & 0x0003); // pad
|
||||
tagOffset += tagSize;
|
||||
offset += 12;
|
||||
TagEntry tag = (TagEntry) e.nextElement();
|
||||
buf.putInt(offset, tag.getSignature());
|
||||
buf.putInt(offset + 4, tagOffset);
|
||||
buf.putInt(offset + 8, tag.getSize());
|
||||
tag.setOffset(tagOffset);
|
||||
int tagSize = tag.getSize();
|
||||
if ((tagSize & 0x0003) != 0)
|
||||
tagSize += 4 - (tagSize & 0x0003); // pad
|
||||
tagOffset += tagSize;
|
||||
offset += 12;
|
||||
}
|
||||
return buf.array();
|
||||
}
|
||||
|
@ -838,15 +838,15 @@ public class ICC_Profile implements Serializable
|
|||
int count = buf.getInt(8);
|
||||
if (count == 0)
|
||||
{
|
||||
curve = new short[1];
|
||||
curve[0] = 0x0100; // 1.00 in u8fixed8
|
||||
return curve;
|
||||
curve = new short[1];
|
||||
curve[0] = 0x0100; // 1.00 in u8fixed8
|
||||
return curve;
|
||||
}
|
||||
if (count == 1)
|
||||
{
|
||||
curve = new short[1];
|
||||
curve[0] = buf.getShort(12); // other u8fixed8 gamma
|
||||
return curve;
|
||||
curve = new short[1];
|
||||
curve[0] = buf.getShort(12); // other u8fixed8 gamma
|
||||
return curve;
|
||||
}
|
||||
curve = new short[count];
|
||||
for (int i = 0; i < count; i++)
|
||||
|
@ -917,11 +917,11 @@ public class ICC_Profile implements Serializable
|
|||
byte[] data;
|
||||
try
|
||||
{
|
||||
data = text.getBytes("US-ASCII");
|
||||
data = text.getBytes("US-ASCII");
|
||||
}
|
||||
catch (UnsupportedEncodingException e)
|
||||
{
|
||||
data = new byte[length]; // shouldn't happen
|
||||
data = new byte[length]; // shouldn't happen
|
||||
}
|
||||
|
||||
buf.putInt(0, (int) 0x74657874); // 'text'
|
||||
|
@ -940,17 +940,17 @@ public class ICC_Profile implements Serializable
|
|||
int length = text.length();
|
||||
ByteBuffer buf = ByteBuffer.allocate(90 + length + 1);
|
||||
buf.putInt(0, (int) 0x64657363); // 'desc'
|
||||
buf.putInt(4, 0); // reserved
|
||||
buf.putInt(4, 0); // reserved
|
||||
buf.putInt(8, length + 1); // ASCII length, including null termination
|
||||
byte[] data;
|
||||
|
||||
try
|
||||
{
|
||||
data = text.getBytes("US-ASCII");
|
||||
data = text.getBytes("US-ASCII");
|
||||
}
|
||||
catch (UnsupportedEncodingException e)
|
||||
{
|
||||
data = new byte[length]; // shouldn't happen
|
||||
data = new byte[length]; // shouldn't happen
|
||||
}
|
||||
|
||||
for (int i = 0; i < length; i++)
|
||||
|
@ -999,7 +999,7 @@ public class ICC_Profile implements Serializable
|
|||
buf.putInt(4, 0); // reserved
|
||||
buf.putInt(8, trc.length); // number of points
|
||||
|
||||
// put the curve values
|
||||
// put the curve values
|
||||
for (int i = 0; i < trc.length; i++)
|
||||
buf.putShort(12 + i * 2, (short) (trc[i] * 65535f));
|
||||
|
||||
|
@ -1049,31 +1049,31 @@ public class ICC_Profile implements Serializable
|
|||
for (int channel = 0; channel < 3; channel++)
|
||||
for (int i = 0; i < nInEntries; i++)
|
||||
{
|
||||
short n = (short) ((i << 8) | i); // assumes 256 entries
|
||||
buf.putShort(52 + (channel * nInEntries + i) * 2, n);
|
||||
short n = (short) ((i << 8) | i); // assumes 256 entries
|
||||
buf.putShort(52 + (channel * nInEntries + i) * 2, n);
|
||||
}
|
||||
int clutOffset = 52 + nInEntries * nIn * 2;
|
||||
|
||||
for (int x = 0; x < gridpoints; x++)
|
||||
for (int y = 0; y < gridpoints; y++)
|
||||
for (int z = 0; z < gridpoints; z++)
|
||||
{
|
||||
int offset = clutOffset + z * 2 * nOut + y * gridpoints * 2 * nOut
|
||||
+ x * gridpoints * gridpoints * 2 * nOut;
|
||||
double xf = ((double) x) / ((double) gridpoints - 1.0);
|
||||
double yf = ((double) y) / ((double) gridpoints - 1.0);
|
||||
double zf = ((double) z) / ((double) gridpoints - 1.0);
|
||||
buf.putShort(offset, (short) (xf * 65535.0));
|
||||
buf.putShort(offset + 2, (short) (yf * 65535.0));
|
||||
buf.putShort(offset + 4, (short) (zf * 65535.0));
|
||||
}
|
||||
for (int z = 0; z < gridpoints; z++)
|
||||
{
|
||||
int offset = clutOffset + z * 2 * nOut + y * gridpoints * 2 * nOut
|
||||
+ x * gridpoints * gridpoints * 2 * nOut;
|
||||
double xf = ((double) x) / ((double) gridpoints - 1.0);
|
||||
double yf = ((double) y) / ((double) gridpoints - 1.0);
|
||||
double zf = ((double) z) / ((double) gridpoints - 1.0);
|
||||
buf.putShort(offset, (short) (xf * 65535.0));
|
||||
buf.putShort(offset + 2, (short) (yf * 65535.0));
|
||||
buf.putShort(offset + 4, (short) (zf * 65535.0));
|
||||
}
|
||||
|
||||
for (int channel = 0; channel < 3; channel++)
|
||||
for (int i = 0; i < nOutEntries; i++)
|
||||
{
|
||||
short n = (short) ((i << 8) | i); // assumes 256 entries
|
||||
buf.putShort(clutOffset + clutSize + (channel * nOutEntries + i) * 2,
|
||||
n);
|
||||
short n = (short) ((i << 8) | i); // assumes 256 entries
|
||||
buf.putShort(clutOffset + clutSize + (channel * nOutEntries + i) * 2,
|
||||
n);
|
||||
}
|
||||
|
||||
return buf.array();
|
||||
|
@ -1091,22 +1091,22 @@ public class ICC_Profile implements Serializable
|
|||
switch (colorSpace)
|
||||
{
|
||||
case ColorSpace.CS_sRGB:
|
||||
createRGBProfile();
|
||||
return;
|
||||
createRGBProfile();
|
||||
return;
|
||||
case ColorSpace.CS_LINEAR_RGB:
|
||||
createLinearRGBProfile();
|
||||
return;
|
||||
createLinearRGBProfile();
|
||||
return;
|
||||
case ColorSpace.CS_CIEXYZ:
|
||||
createCIEProfile();
|
||||
return;
|
||||
createCIEProfile();
|
||||
return;
|
||||
case ColorSpace.CS_GRAY:
|
||||
createGrayProfile();
|
||||
return;
|
||||
createGrayProfile();
|
||||
return;
|
||||
case ColorSpace.CS_PYCC:
|
||||
createPyccProfile();
|
||||
return;
|
||||
createPyccProfile();
|
||||
return;
|
||||
default:
|
||||
throw new IllegalArgumentException("Not a predefined color space!");
|
||||
throw new IllegalArgumentException("Not a predefined color space!");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1139,10 +1139,10 @@ public class ICC_Profile implements Serializable
|
|||
float[] in = new float[3];
|
||||
for (int i = 0; i < TRC_POINTS; i++)
|
||||
{
|
||||
in[0] = in[1] = in[2] = ((float) i) / ((float) TRC_POINTS - 1);
|
||||
in = cs.fromRGB(in);
|
||||
// Note this value is the same for all components.
|
||||
points[i] = in[0];
|
||||
in[0] = in[1] = in[2] = ((float) i) / ((float) TRC_POINTS - 1);
|
||||
in = cs.fromRGB(in);
|
||||
// Note this value is the same for all components.
|
||||
points[i] = in[0];
|
||||
}
|
||||
|
||||
setData(icSigRedColorantTag, makeXYZData(r));
|
||||
|
|
|
@ -41,7 +41,7 @@ package java.awt.color;
|
|||
/**
|
||||
* ICC_ProfileGray - a special case of ICC_Profiles.
|
||||
*
|
||||
* The ICC_Profile.getInstance() method will return an instance of the
|
||||
* The ICC_Profile.getInstance() method will return an instance of the
|
||||
* ICC_ProfileGray subclass when all the following conditions are met:
|
||||
* The device color space of the profile is TYPE_GRAY.
|
||||
* The profile contains a gray TRCTag.
|
||||
|
@ -52,7 +52,7 @@ package java.awt.color;
|
|||
* linearGray = grayTRC[deviceGray]
|
||||
*
|
||||
* Note that if the profile contains a CLUT for the color space conversion,
|
||||
* it should be used instead, and the TRC information ignored.
|
||||
* it should be used instead, and the TRC information ignored.
|
||||
*
|
||||
* @author Sven de Marothy
|
||||
* @since 1.2
|
||||
|
|
|
@ -41,7 +41,7 @@ package java.awt.color;
|
|||
/**
|
||||
* ICC_ProfileRGB - a special case of ICC_Profiles.
|
||||
*
|
||||
* The ICC_Profile.getInstance() method will return an instance of the
|
||||
* The ICC_Profile.getInstance() method will return an instance of the
|
||||
* ICC_ProfileRGB subclass when all the following conditions are met:
|
||||
* The device color space of the profile is TYPE_RGB.
|
||||
* The profile contains red, green and blue ColorantTags.
|
||||
|
@ -54,17 +54,17 @@ package java.awt.color;
|
|||
* linearG = greenTRC[deviceG]
|
||||
* linearB = blueTRC[deviceB]
|
||||
* TRC curves are either a single gamma value, or a 1-dimensional lookup table.
|
||||
*
|
||||
*
|
||||
* Followed by the matrix transform:
|
||||
* PCS = M*linear
|
||||
*
|
||||
* Where PCS is the vector of profile color space (must be XYZ) coordinates,
|
||||
* linear is the vector of linear RGB coordinates, and the matrix M is
|
||||
* linear is the vector of linear RGB coordinates, and the matrix M is
|
||||
* constructed from the ColorantTags, where the columns are red, green and
|
||||
* blue respectively, and the rows are X, Y and Z.
|
||||
*
|
||||
* Note that if the profile contains a CLUT for the color space conversion,
|
||||
* it should be used instead, and the TRC information ignored.
|
||||
* it should be used instead, and the TRC information ignored.
|
||||
*
|
||||
* @author Sven de Marothy
|
||||
* @since 1.2
|
||||
|
@ -131,7 +131,7 @@ public class ICC_ProfileRGB extends ICC_Profile
|
|||
float[][] mat = new float[3][3];
|
||||
for (int i = 0; i < 3; i++)
|
||||
for (int j = 0; j < 3; j++)
|
||||
mat[i][j] = matrix[i][j];
|
||||
mat[i][j] = matrix[i][j];
|
||||
return mat;
|
||||
}
|
||||
|
||||
|
@ -146,16 +146,16 @@ public class ICC_ProfileRGB extends ICC_Profile
|
|||
switch (component)
|
||||
{
|
||||
case REDCOMPONENT:
|
||||
data = getCurve(icSigRedTRCTag);
|
||||
break;
|
||||
data = getCurve(icSigRedTRCTag);
|
||||
break;
|
||||
case GREENCOMPONENT:
|
||||
data = getCurve(icSigGreenTRCTag);
|
||||
break;
|
||||
data = getCurve(icSigGreenTRCTag);
|
||||
break;
|
||||
case BLUECOMPONENT:
|
||||
data = getCurve(icSigBlueTRCTag);
|
||||
break;
|
||||
data = getCurve(icSigBlueTRCTag);
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException("Not a valid component");
|
||||
throw new IllegalArgumentException("Not a valid component");
|
||||
}
|
||||
if (data == null)
|
||||
throw new IllegalArgumentException("Error reading TRC");
|
||||
|
@ -181,16 +181,16 @@ public class ICC_ProfileRGB extends ICC_Profile
|
|||
switch (component)
|
||||
{
|
||||
case REDCOMPONENT:
|
||||
data = getCurve(icSigRedTRCTag);
|
||||
break;
|
||||
data = getCurve(icSigRedTRCTag);
|
||||
break;
|
||||
case GREENCOMPONENT:
|
||||
data = getCurve(icSigGreenTRCTag);
|
||||
break;
|
||||
data = getCurve(icSigGreenTRCTag);
|
||||
break;
|
||||
case BLUECOMPONENT:
|
||||
data = getCurve(icSigBlueTRCTag);
|
||||
break;
|
||||
data = getCurve(icSigBlueTRCTag);
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException("Not a valid component");
|
||||
throw new IllegalArgumentException("Not a valid component");
|
||||
}
|
||||
if (data == null)
|
||||
throw new IllegalArgumentException("Error reading TRC");
|
||||
|
@ -218,9 +218,9 @@ public class ICC_ProfileRGB extends ICC_Profile
|
|||
throw new IllegalArgumentException("Error reading colorant tags!");
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
mat[i][0] = r[i];
|
||||
mat[i][1] = g[i];
|
||||
mat[i][2] = b[i];
|
||||
mat[i][0] = r[i];
|
||||
mat[i][1] = g[i];
|
||||
mat[i][2] = b[i];
|
||||
}
|
||||
return mat;
|
||||
}
|
||||
|
|
|
@ -111,43 +111,43 @@ public class Clipboard
|
|||
* @exception IllegalStateException If the clipboard is currently unavailable
|
||||
*/
|
||||
public synchronized void setContents(Transferable contents,
|
||||
ClipboardOwner owner)
|
||||
ClipboardOwner owner)
|
||||
{
|
||||
Transferable oldContents = getContents(null);
|
||||
this.contents = contents;
|
||||
if (this.owner != owner)
|
||||
{
|
||||
ClipboardOwner oldOwner = this.owner;
|
||||
this.owner = owner;
|
||||
if (oldOwner != null)
|
||||
oldOwner.lostOwnership(this, oldContents);
|
||||
ClipboardOwner oldOwner = this.owner;
|
||||
this.owner = owner;
|
||||
if (oldOwner != null)
|
||||
oldOwner.lostOwnership(this, oldContents);
|
||||
}
|
||||
|
||||
FlavorListener[] fs = getFlavorListeners();
|
||||
if (fs.length > 0)
|
||||
{
|
||||
// We are a bit optimistic here. We assume DataFlavors will be
|
||||
// given in the same order. If the number of flavors is
|
||||
// different or the order of the DataFlavors in the list then
|
||||
// fire a change event.
|
||||
boolean newFlavors = ((contents != null && oldContents == null)
|
||||
|| (contents == null && oldContents != null));
|
||||
if (!newFlavors && contents != null && oldContents != null)
|
||||
{
|
||||
DataFlavor[] df1 = contents.getTransferDataFlavors();
|
||||
DataFlavor[] df2 = oldContents.getTransferDataFlavors();
|
||||
newFlavors = df1.length != df2.length;
|
||||
|
||||
for (int i = 0; !newFlavors && i < df1.length; i++)
|
||||
newFlavors = !df1[i].equals(df2[i]);
|
||||
}
|
||||
// We are a bit optimistic here. We assume DataFlavors will be
|
||||
// given in the same order. If the number of flavors is
|
||||
// different or the order of the DataFlavors in the list then
|
||||
// fire a change event.
|
||||
boolean newFlavors = ((contents != null && oldContents == null)
|
||||
|| (contents == null && oldContents != null));
|
||||
if (!newFlavors && contents != null && oldContents != null)
|
||||
{
|
||||
DataFlavor[] df1 = contents.getTransferDataFlavors();
|
||||
DataFlavor[] df2 = oldContents.getTransferDataFlavors();
|
||||
newFlavors = df1.length != df2.length;
|
||||
|
||||
if (newFlavors)
|
||||
{
|
||||
FlavorEvent e = new FlavorEvent(this);
|
||||
for (int i = 0; i < fs.length; i++)
|
||||
fs[i].flavorsChanged(e);
|
||||
}
|
||||
for (int i = 0; !newFlavors && i < df1.length; i++)
|
||||
newFlavors = !df1[i].equals(df2[i]);
|
||||
}
|
||||
|
||||
if (newFlavors)
|
||||
{
|
||||
FlavorEvent e = new FlavorEvent(this);
|
||||
for (int i = 0; i < fs.length; i++)
|
||||
fs[i].flavorsChanged(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -165,7 +165,7 @@ public class Clipboard
|
|||
DataFlavor[] fs = getAvailableDataFlavors();
|
||||
for (int i = 0; i < fs.length; i++)
|
||||
if (flavor.equals(fs[i]))
|
||||
return true;
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -187,7 +187,7 @@ public class Clipboard
|
|||
|
||||
synchronized(listeners)
|
||||
{
|
||||
listeners.add(listener);
|
||||
listeners.add(listener);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -198,7 +198,7 @@ public class Clipboard
|
|||
|
||||
synchronized(listeners)
|
||||
{
|
||||
listeners.remove(listener);
|
||||
listeners.remove(listener);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -206,8 +206,8 @@ public class Clipboard
|
|||
{
|
||||
synchronized(listeners)
|
||||
{
|
||||
return (FlavorListener[])
|
||||
listeners.toArray(new FlavorListener[listeners.size()]);
|
||||
return (FlavorListener[])
|
||||
listeners.toArray(new FlavorListener[listeners.size()]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,6 +52,5 @@ public interface ClipboardOwner
|
|||
* @param clipboard The clipboard for which ownership was lost.
|
||||
* @param contents The contents of the clipboard which are no longer owned.
|
||||
*/
|
||||
void lostOwnership (Clipboard clipboard, Transferable contents);
|
||||
void lostOwnership (Clipboard clipboard, Transferable contents);
|
||||
}
|
||||
|
||||
|
|
|
@ -74,24 +74,24 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
* @deprecated The charset unicode is platform specific and InputStream
|
||||
* deals with bytes not chars. Use <code>getRederForText()</code>.
|
||||
*/
|
||||
public static final DataFlavor plainTextFlavor =
|
||||
public static final DataFlavor plainTextFlavor =
|
||||
new DataFlavor("text/plain; charset=unicode; class=java.io.InputStream",
|
||||
"plain unicode text");
|
||||
|
||||
/**
|
||||
* This is the data flavor used for transferring Java strings. The
|
||||
* MIME type is "application/x-java-serialized-object" and the
|
||||
* MIME type is "application/x-java-serialized-object" and the
|
||||
* representation class is <code>java.lang.String</code>.
|
||||
*/
|
||||
public static final DataFlavor stringFlavor =
|
||||
public static final DataFlavor stringFlavor =
|
||||
new DataFlavor(java.lang.String.class, "Java Unicode String");
|
||||
|
||||
/**
|
||||
* This is a data flavor used for transferring lists of files. The
|
||||
* representation type is a <code>java.util.List</code>, with each
|
||||
* representation type is a <code>java.util.List</code>, with each
|
||||
* element of the list being a <code>java.io.File</code>.
|
||||
*/
|
||||
public static final DataFlavor javaFileListFlavor =
|
||||
public static final DataFlavor javaFileListFlavor =
|
||||
new DataFlavor("application/x-java-file-list; class=java.util.List",
|
||||
"Java File List");
|
||||
|
||||
|
@ -99,7 +99,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
* This is an image flavor used for transferring images. The
|
||||
* representation type is a <code>java.awt.Image</code>.
|
||||
*/
|
||||
public static final DataFlavor imageFlavor =
|
||||
public static final DataFlavor imageFlavor =
|
||||
new DataFlavor(java.awt.Image.class, "Java Image");
|
||||
|
||||
/**
|
||||
|
@ -127,20 +127,20 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
/*
|
||||
* Instance Variables
|
||||
*/
|
||||
|
||||
|
||||
// The MIME type for this flavor
|
||||
private MimeType mimeType;
|
||||
|
||||
|
||||
// The representation class for this flavor
|
||||
private Class<?> representationClass;
|
||||
|
||||
|
||||
// The human readable name of this flavor
|
||||
private String humanPresentableName;
|
||||
|
||||
/*
|
||||
* Static Methods
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* This method attempts to load the named class. The following class
|
||||
* loaders are searched in order: the bootstrap class loader, the
|
||||
|
@ -154,7 +154,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
* @exception ClassNotFoundException If the class cannot be loaded.
|
||||
*/
|
||||
protected static final Class<?> tryToLoadClass(String className,
|
||||
ClassLoader classLoader)
|
||||
ClassLoader classLoader)
|
||||
throws ClassNotFoundException
|
||||
{
|
||||
// Bootstrap
|
||||
|
@ -164,37 +164,37 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
}
|
||||
catch(ClassNotFoundException cnfe)
|
||||
{
|
||||
// Ignored.
|
||||
// Ignored.
|
||||
}
|
||||
|
||||
|
||||
// System
|
||||
try
|
||||
{
|
||||
ClassLoader loader = ClassLoader.getSystemClassLoader();
|
||||
ClassLoader loader = ClassLoader.getSystemClassLoader();
|
||||
return Class.forName(className, true, loader);
|
||||
}
|
||||
catch(ClassNotFoundException cnfe)
|
||||
{
|
||||
// Ignored.
|
||||
// Ignored.
|
||||
}
|
||||
|
||||
|
||||
// Context
|
||||
try
|
||||
{
|
||||
ClassLoader loader = Thread.currentThread().getContextClassLoader();
|
||||
ClassLoader loader = Thread.currentThread().getContextClassLoader();
|
||||
return Class.forName(className, true, loader);
|
||||
}
|
||||
catch(ClassNotFoundException cnfe)
|
||||
{
|
||||
// Ignored.
|
||||
// Ignored.
|
||||
}
|
||||
|
||||
|
||||
if (classLoader != null)
|
||||
return Class.forName(className, true, classLoader);
|
||||
|
||||
throw new ClassNotFoundException(className);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* XXX - Currently returns <code>plainTextFlavor</code>.
|
||||
*/
|
||||
|
@ -202,7 +202,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
{
|
||||
return plainTextFlavor;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Selects the best supported text flavor on this implementation.
|
||||
* Returns <code>null</code> when none of the given flavors is liked.
|
||||
|
@ -213,19 +213,19 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
* class which is (a subclass of) <code>InputStream</code> and has a
|
||||
* primary MIME type of "text" and has an supported encoding.
|
||||
*/
|
||||
public static final DataFlavor
|
||||
public static final DataFlavor
|
||||
selectBestTextFlavor(DataFlavor[] availableFlavors)
|
||||
{
|
||||
for(int i = 0; i < availableFlavors.length; i++)
|
||||
{
|
||||
DataFlavor df = availableFlavors[i];
|
||||
Class c = df.representationClass;
|
||||
|
||||
|
||||
// A Reader or String is good.
|
||||
if ((Reader.class.isAssignableFrom(c))
|
||||
|| (String.class.isAssignableFrom(c)))
|
||||
return df;
|
||||
|
||||
|
||||
// A InputStream is good if the mime primary type is "text"
|
||||
if ((InputStream.class.isAssignableFrom(c))
|
||||
&& ("text".equals(df.getPrimaryType())))
|
||||
|
@ -246,7 +246,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
return df;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Nothing found
|
||||
return null;
|
||||
}
|
||||
|
@ -255,14 +255,14 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
/*
|
||||
* Constructors
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Empty public constructor needed for externalization.
|
||||
* Should not be used for normal instantiation.
|
||||
*/
|
||||
public DataFlavor()
|
||||
{
|
||||
// Used for deserialization only, nothing to do here.
|
||||
// Used for deserialization only, nothing to do here.
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -312,7 +312,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
* specified cannot be loaded.
|
||||
* @exception ClassNotFoundException If the class is not loaded.
|
||||
*/
|
||||
public DataFlavor(String mimeType, String humanPresentableName,
|
||||
public DataFlavor(String mimeType, String humanPresentableName,
|
||||
ClassLoader classLoader)
|
||||
throws ClassNotFoundException
|
||||
{
|
||||
|
@ -444,7 +444,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
public String getHumanPresentableName()
|
||||
{
|
||||
return(humanPresentableName);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the primary MIME type for this flavor.
|
||||
|
@ -478,7 +478,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
{
|
||||
if ("humanPresentableName".equals(paramName))
|
||||
return getHumanPresentableName();
|
||||
|
||||
|
||||
return mimeType.getParameter(paramName);
|
||||
}
|
||||
|
||||
|
@ -529,7 +529,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
*
|
||||
* @param flavor The flavor to test against.
|
||||
*
|
||||
* @return <code>true</code> if the flavor's MIME type is equal to this
|
||||
* @return <code>true</code> if the flavor's MIME type is equal to this
|
||||
* object's MIME type, <code>false</code> otherwise.
|
||||
*/
|
||||
public final boolean isMimeTypeEqual(DataFlavor flavor)
|
||||
|
@ -619,9 +619,9 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
if (getPrimaryType().equals(javaFileListFlavor.getPrimaryType())
|
||||
&& getSubType().equals(javaFileListFlavor.getSubType())
|
||||
&& javaFileListFlavor.representationClass
|
||||
.isAssignableFrom(representationClass))
|
||||
.isAssignableFrom(representationClass))
|
||||
return true;
|
||||
|
||||
|
||||
return false ;
|
||||
}
|
||||
|
||||
|
@ -681,19 +681,19 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
if (! isRepresentationClassCharBuffer()
|
||||
&& ! isRepresentationClassReader()
|
||||
&& representationClass != java.lang.String.class
|
||||
&& ! (representationClass.isArray()
|
||||
&& representationClass.getComponentType() == Character.TYPE))
|
||||
{
|
||||
String charset = getParameter("charset");
|
||||
String otherset = flavor.getParameter("charset");
|
||||
String defaultset = Charset.defaultCharset().name();
|
||||
&& ! (representationClass.isArray()
|
||||
&& representationClass.getComponentType() == Character.TYPE))
|
||||
{
|
||||
String charset = getParameter("charset");
|
||||
String otherset = flavor.getParameter("charset");
|
||||
String defaultset = Charset.defaultCharset().name();
|
||||
|
||||
if (charset == null || charset.equals(defaultset))
|
||||
if (charset == null || charset.equals(defaultset))
|
||||
return (otherset == null || otherset.equals(defaultset));
|
||||
|
||||
return charset.equals(otherset);
|
||||
}
|
||||
|
||||
return charset.equals(otherset);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -718,7 +718,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
{
|
||||
if (! (obj instanceof DataFlavor))
|
||||
return false;
|
||||
|
||||
|
||||
return equals((DataFlavor) obj);
|
||||
}
|
||||
|
||||
|
@ -780,7 +780,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
* the MIME type string unchanged.
|
||||
*
|
||||
* @param type The MIME type.
|
||||
*
|
||||
*
|
||||
* @return The MIME type.
|
||||
*
|
||||
* @deprecated
|
||||
|
@ -797,7 +797,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
*
|
||||
* @exception IOException If an error occurs.
|
||||
*/
|
||||
public void writeExternal(ObjectOutput stream)
|
||||
public void writeExternal(ObjectOutput stream)
|
||||
throws IOException
|
||||
{
|
||||
if (mimeType != null)
|
||||
|
@ -821,7 +821,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
* @exception ClassNotFoundException If the class for an object being restored
|
||||
* cannot be found.
|
||||
*/
|
||||
public void readExternal(ObjectInput stream)
|
||||
public void readExternal(ObjectInput stream)
|
||||
throws IOException, ClassNotFoundException
|
||||
{
|
||||
mimeType = (MimeType) stream.readObject();
|
||||
|
@ -913,13 +913,13 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
{
|
||||
if (!transferable.isDataFlavorSupported(this))
|
||||
throw new UnsupportedFlavorException(this);
|
||||
|
||||
|
||||
if (Reader.class.isAssignableFrom(representationClass))
|
||||
return (Reader)transferable.getTransferData(this);
|
||||
|
||||
|
||||
if (String.class.isAssignableFrom(representationClass))
|
||||
return new StringReader((String)transferable.getTransferData(this));
|
||||
|
||||
|
||||
if (InputStream.class.isAssignableFrom(representationClass)
|
||||
&& "text".equals(getPrimaryType()))
|
||||
{
|
||||
|
@ -929,7 +929,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
encoding = "us-ascii";
|
||||
return new InputStreamReader(in, encoding);
|
||||
}
|
||||
|
||||
|
||||
throw new UnsupportedFlavorException(this);
|
||||
}
|
||||
|
||||
|
@ -965,7 +965,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
{
|
||||
return Reader.class.isAssignableFrom(representationClass);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this <code>DataFlavor</code> is a valid text flavor for
|
||||
* this implementation of the Java platform. Only flavors equivalent to
|
||||
|
@ -975,12 +975,12 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
* If this flavor supports the charset parameter, it must be equivalent to
|
||||
* <code>DataFlavor.stringFlavor</code>, or its representation must be
|
||||
* <code>java.io.Reader</code>, <code>java.lang.String</code>,
|
||||
* <code>java.nio.CharBuffer</code>, <code>java.io.InputStream</code> or
|
||||
* <code>java.nio.CharBuffer</code>, <code>java.io.InputStream</code> or
|
||||
* <code>java.nio.ByteBuffer</code>,
|
||||
* If the representation is <code>java.io.InputStream</code> or
|
||||
* <code>java.nio.ByteBuffer</code>, then this flavor's <code>charset</code>
|
||||
* parameter must be supported by this implementation of the Java platform.
|
||||
* If a charset is not specified, then the platform default charset, which
|
||||
* If the representation is <code>java.io.InputStream</code> or
|
||||
* <code>java.nio.ByteBuffer</code>, then this flavor's <code>charset</code>
|
||||
* parameter must be supported by this implementation of the Java platform.
|
||||
* If a charset is not specified, then the platform default charset, which
|
||||
* is always supported, is assumed.
|
||||
* <p>
|
||||
* If this flavor does not support the charset parameter, its
|
||||
|
@ -996,16 +996,16 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
* @since 1.4
|
||||
*/
|
||||
public boolean isFlavorTextType() {
|
||||
// FIXME: I'm not 100% sure if this implementation does the same like sun's does
|
||||
// FIXME: I'm not 100% sure if this implementation does the same like sun's does
|
||||
if(equals(DataFlavor.stringFlavor) || getPrimaryType().equals("text"))
|
||||
{
|
||||
String charset = getParameter("charset");
|
||||
Class c = getRepresentationClass();
|
||||
if(charset != null)
|
||||
{
|
||||
if(Reader.class.isAssignableFrom(c)
|
||||
|| CharBuffer.class.isAssignableFrom(c)
|
||||
|| String.class.isAssignableFrom(c))
|
||||
if(charset != null)
|
||||
{
|
||||
if(Reader.class.isAssignableFrom(c)
|
||||
|| CharBuffer.class.isAssignableFrom(c)
|
||||
|| String.class.isAssignableFrom(c))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -1024,4 +1024,3 @@ public class DataFlavor implements java.io.Externalizable, Cloneable
|
|||
return false;
|
||||
}
|
||||
} // class DataFlavor
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ import java.util.EventObject;
|
|||
* Fired by a ClipBoard for registered FlavorListeners.
|
||||
*
|
||||
* @author Mark J. Wielaard (mark@klomp.org)
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public class FlavorEvent extends EventObject
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* FlavorListener -- Interface for tagging an interest in FlavorEvents.
|
||||
/* FlavorListener -- Interface for tagging an interest in FlavorEvents.
|
||||
Copyright (C) 2005 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
|
|
@ -124,7 +124,7 @@ class MimeType
|
|||
* Returns the parameter for the <code>key</code>.
|
||||
*
|
||||
* @param key the parameter key
|
||||
*
|
||||
*
|
||||
* @return the parameter for the <code>key</code>
|
||||
*/
|
||||
String getParameter(String key)
|
||||
|
|
|
@ -55,7 +55,7 @@ public class StringSelection implements Transferable, ClipboardOwner
|
|||
|
||||
// List of flavors we support
|
||||
// XXX: DataFlavor.plainTextFlavor is deprecated.
|
||||
static final DataFlavor[] supported_flavors
|
||||
static final DataFlavor[] supported_flavors
|
||||
= { DataFlavor.stringFlavor,
|
||||
DataFlavor.plainTextFlavor };
|
||||
|
||||
|
@ -154,5 +154,4 @@ lostOwnership(Clipboard clipboard, Transferable contents)
|
|||
// FIXME: What does this do?
|
||||
}
|
||||
|
||||
} // class StringSelection
|
||||
|
||||
} // class StringSelection
|
||||
|
|
|
@ -67,30 +67,30 @@ import java.util.WeakHashMap;
|
|||
public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
||||
{
|
||||
/**
|
||||
* The map which maps the thread's <code>ClassLoaders</code> to
|
||||
* The map which maps the thread's <code>ClassLoaders</code> to
|
||||
* <code>SystemFlavorMaps</code>.
|
||||
*/
|
||||
private static final Map systemFlavorMaps = new WeakHashMap();
|
||||
|
||||
|
||||
/**
|
||||
* Constant which is used to prefix encode Java MIME types.
|
||||
*/
|
||||
private static final String GNU_JAVA_MIME_PREFIX = "gnu.java:";
|
||||
|
||||
|
||||
/**
|
||||
* This map maps native <code>String</code>s to lists of
|
||||
* This map maps native <code>String</code>s to lists of
|
||||
* <code>DataFlavor</code>s
|
||||
*/
|
||||
private HashMap<String,List<DataFlavor>> nativeToFlavorMap =
|
||||
new HashMap<String,List<DataFlavor>>();
|
||||
|
||||
|
||||
/**
|
||||
* This map maps <code>DataFlavor</code>s to lists of native
|
||||
* This map maps <code>DataFlavor</code>s to lists of native
|
||||
* <code>String</code>s
|
||||
*/
|
||||
private HashMap<DataFlavor, List<String>> flavorToNativeMap =
|
||||
new HashMap<DataFlavor, List<String>>();
|
||||
|
||||
|
||||
/**
|
||||
* Private constructor.
|
||||
*/
|
||||
|
@ -152,7 +152,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
// Check valid mime type.
|
||||
MimeType type = new MimeType(mime);
|
||||
DataFlavor flav = new DataFlavor(mime);
|
||||
|
||||
|
||||
List<DataFlavor> flavs = nativeToFlavorMap.get(nat);
|
||||
if (flavs == null)
|
||||
{
|
||||
|
@ -207,7 +207,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
* @return A <code>Map</code> of data flavors to native type names.
|
||||
*/
|
||||
public Map<String, DataFlavor> getFlavorsForNatives (String[] natives)
|
||||
{
|
||||
{
|
||||
return new HashMap<String, DataFlavor>();
|
||||
}
|
||||
|
||||
|
@ -219,18 +219,18 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
{
|
||||
ClassLoader classLoader = Thread.currentThread()
|
||||
.getContextClassLoader();
|
||||
|
||||
//if ContextClassLoader not set, use system default
|
||||
|
||||
//if ContextClassLoader not set, use system default
|
||||
if (classLoader == null)
|
||||
{
|
||||
classLoader = ClassLoader.getSystemClassLoader();
|
||||
}
|
||||
|
||||
|
||||
synchronized(systemFlavorMaps)
|
||||
{
|
||||
FlavorMap map = (FlavorMap)
|
||||
FlavorMap map = (FlavorMap)
|
||||
systemFlavorMaps.get(classLoader);
|
||||
if (map == null)
|
||||
if (map == null)
|
||||
{
|
||||
map = new SystemFlavorMap();
|
||||
systemFlavorMaps.put(classLoader, map);
|
||||
|
@ -268,7 +268,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
|
||||
/**
|
||||
* Encodes a <code>DataFlavor</code> for use as a <code>String</code>
|
||||
* native. The format of an encoded <code>DataFlavor</code> is
|
||||
* native. The format of an encoded <code>DataFlavor</code> is
|
||||
* implementation-dependent. The only restrictions are:
|
||||
* <ul>
|
||||
* <li>The encoded representation is <code>null</code> if and only if the
|
||||
|
@ -313,7 +313,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
* Decodes a <code>String</code> native for use as a Java MIME type.
|
||||
*
|
||||
* @param name the <code>String</code> to decode
|
||||
* @return the decoded Java MIME type, or <code>null</code> if nat
|
||||
* @return the decoded Java MIME type, or <code>null</code> if nat
|
||||
* is not an encoded <code>String</code> native
|
||||
*/
|
||||
public static String decodeJavaMIMEType (String name)
|
||||
|
@ -322,7 +322,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
{
|
||||
return name.substring(GNU_JAVA_MIME_PREFIX.length());
|
||||
}
|
||||
else
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -334,27 +334,27 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
throws ClassNotFoundException
|
||||
{
|
||||
String javaMIMEType = decodeJavaMIMEType (name);
|
||||
|
||||
|
||||
if (javaMIMEType != null)
|
||||
return new DataFlavor (javaMIMEType);
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a List of <code>DataFlavors</code> to which the specified
|
||||
* <code>String</code> native can be translated by the data transfer
|
||||
* subsystem. The <code>List</code> will be sorted from best
|
||||
* <code>DataFlavor</code> to worst. That is, the first <code>DataFlavor
|
||||
* </code> will best reflect data in the specified native to a Java
|
||||
* application.
|
||||
/**
|
||||
* Returns a List of <code>DataFlavors</code> to which the specified
|
||||
* <code>String</code> native can be translated by the data transfer
|
||||
* subsystem. The <code>List</code> will be sorted from best
|
||||
* <code>DataFlavor</code> to worst. That is, the first <code>DataFlavor
|
||||
* </code> will best reflect data in the specified native to a Java
|
||||
* application.
|
||||
* <p>
|
||||
* If the specified native is previously unknown to the data transfer
|
||||
* subsystem, and that native has been properly encoded, then invoking
|
||||
* this method will establish a mapping in both directions between the
|
||||
* specified native and a DataFlavor whose MIME type is a decoded
|
||||
* If the specified native is previously unknown to the data transfer
|
||||
* subsystem, and that native has been properly encoded, then invoking
|
||||
* this method will establish a mapping in both directions between the
|
||||
* specified native and a DataFlavor whose MIME type is a decoded
|
||||
* version of the native.
|
||||
*/
|
||||
*/
|
||||
public List<DataFlavor> getFlavorsForNative(String nat)
|
||||
{
|
||||
List<DataFlavor> ret = new ArrayList<DataFlavor>();
|
||||
|
@ -402,7 +402,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Adds a mapping from a single <code>String</code> native to a single
|
||||
* <code>DataFlavor</code>. Unlike <code>getFlavorsForNative</code>, the
|
||||
|
@ -421,13 +421,13 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
* @see #addUnencodedNativeForFlavor
|
||||
* @since 1.4
|
||||
*/
|
||||
public synchronized void addFlavorForUnencodedNative(String nativeStr,
|
||||
public synchronized void addFlavorForUnencodedNative(String nativeStr,
|
||||
DataFlavor flavor)
|
||||
{
|
||||
if ((nativeStr == null) || (flavor == null))
|
||||
throw new NullPointerException();
|
||||
List<DataFlavor> flavors = nativeToFlavorMap.get(nativeStr);
|
||||
if (flavors == null)
|
||||
if (flavors == null)
|
||||
{
|
||||
flavors = new ArrayList<DataFlavor>();
|
||||
nativeToFlavorMap.put(nativeStr, flavors);
|
||||
|
@ -438,7 +438,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
flavors.add(flavor);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Adds a mapping from the specified <code>DataFlavor</code> (and all
|
||||
* <code>DataFlavor</code>s equal to the specified <code>DataFlavor</code>)
|
||||
|
@ -446,7 +446,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
* Unlike <code>getNativesForFlavor</code>, the mapping will only be
|
||||
* established in one direction, and the native will not be encoded. To
|
||||
* establish a two-way mapping, call
|
||||
* <code>addFlavorForUnencodedNative</code> as well. The new mapping will
|
||||
* <code>addFlavorForUnencodedNative</code> as well. The new mapping will
|
||||
* be of lower priority than any existing mapping.
|
||||
* This method has no effect if a mapping from the specified or equal
|
||||
* <code>DataFlavor</code> to the specified <code>String</code> native
|
||||
|
@ -460,12 +460,12 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
* @since 1.4
|
||||
*/
|
||||
public synchronized void addUnencodedNativeForFlavor(DataFlavor flavor,
|
||||
String nativeStr)
|
||||
String nativeStr)
|
||||
{
|
||||
if ((nativeStr == null) || (flavor == null))
|
||||
throw new NullPointerException();
|
||||
List<String> natives = flavorToNativeMap.get(flavor);
|
||||
if (natives == null)
|
||||
if (natives == null)
|
||||
{
|
||||
natives = new ArrayList<String>();
|
||||
flavorToNativeMap.put(flavor, natives);
|
||||
|
@ -476,11 +476,11 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
natives.add(nativeStr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Discards the current mappings for the specified <code>DataFlavor</code>
|
||||
* and all <code>DataFlavor</code>s equal to the specified
|
||||
* <code>DataFlavor</code>, and creates new mappings to the
|
||||
* <code>DataFlavor</code>, and creates new mappings to the
|
||||
* specified <code>String</code> natives.
|
||||
* Unlike <code>getNativesForFlavor</code>, the mappings will only be
|
||||
* established in one direction, and the natives will not be encoded. To
|
||||
|
@ -492,7 +492,7 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
* If the array contains several elements that reference equal
|
||||
* <code>String</code> natives, this method will establish new mappings
|
||||
* for the first of those elements and ignore the rest of them.
|
||||
* <p>
|
||||
* <p>
|
||||
* It is recommended that client code not reset mappings established by the
|
||||
* data transfer subsystem. This method should only be used for
|
||||
* application-level mappings.
|
||||
|
@ -506,18 +506,18 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
* @since 1.4
|
||||
*/
|
||||
public synchronized void setNativesForFlavor(DataFlavor flavor,
|
||||
String[] natives)
|
||||
String[] natives)
|
||||
{
|
||||
if ((natives == null) || (flavor == null))
|
||||
throw new NullPointerException();
|
||||
|
||||
|
||||
flavorToNativeMap.remove(flavor);
|
||||
for (int i = 0; i < natives.length; i++)
|
||||
for (int i = 0; i < natives.length; i++)
|
||||
{
|
||||
addUnencodedNativeForFlavor(flavor, natives[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Discards the current mappings for the specified <code>String</code>
|
||||
* native, and creates new mappings to the specified
|
||||
|
@ -546,13 +546,13 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable
|
|||
* @since 1.4
|
||||
*/
|
||||
public synchronized void setFlavorsForNative(String nativeStr,
|
||||
DataFlavor[] flavors)
|
||||
DataFlavor[] flavors)
|
||||
{
|
||||
if ((nativeStr == null) || (flavors == null))
|
||||
throw new NullPointerException();
|
||||
|
||||
|
||||
nativeToFlavorMap.remove(nativeStr);
|
||||
for (int i = 0; i < flavors.length; i++)
|
||||
for (int i = 0; i < flavors.length; i++)
|
||||
{
|
||||
addFlavorForUnencodedNative(nativeStr, flavors[i]);
|
||||
}
|
||||
|
|
|
@ -80,4 +80,3 @@ public interface Transferable
|
|||
throws UnsupportedFlavorException, IOException;
|
||||
|
||||
} // interface Transferable
|
||||
|
||||
|
|
|
@ -62,4 +62,4 @@ public class UnsupportedFlavorException extends Exception
|
|||
{
|
||||
super(flavor == null ? null : flavor.getHumanPresentableName());
|
||||
}
|
||||
} // class UnsupportedFlavorException
|
||||
} // class UnsupportedFlavorException
|
||||
|
|
|
@ -67,4 +67,3 @@ public interface Autoscroll
|
|||
void autoscroll (Point location);
|
||||
|
||||
} // interface Autoscroll
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ class DnDEventMulticaster extends AWTEventMulticaster
|
|||
{
|
||||
super (a, b);
|
||||
}
|
||||
|
||||
|
||||
public static DragSourceListener add (DragSourceListener a,
|
||||
DragSourceListener b)
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ class DnDEventMulticaster extends AWTEventMulticaster
|
|||
{
|
||||
return (DragSourceMotionListener) addInternal (a, b);
|
||||
}
|
||||
|
||||
|
||||
public static DragSourceListener remove (DragSourceListener a,
|
||||
DragSourceListener b)
|
||||
{
|
||||
|
|
|
@ -87,67 +87,67 @@ public class DragGestureEvent extends EventObject
|
|||
|
||||
/**
|
||||
* Returns the source casted as a DragGestureRecognizer.
|
||||
*
|
||||
*
|
||||
* @return the source casted as a DragGestureRecognizer.
|
||||
*/
|
||||
public DragGestureRecognizer getSourceAsDragGestureRecognizer()
|
||||
{
|
||||
return (DragGestureRecognizer) getSource();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the Component corresponding to this.
|
||||
*
|
||||
*
|
||||
* @return the Component corresponding to this.
|
||||
*/
|
||||
public Component getComponent()
|
||||
{
|
||||
return component;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the DragSource corresponding to this.
|
||||
*
|
||||
*
|
||||
* @return the DragSource corresponding to this.
|
||||
*/
|
||||
public DragSource getDragSource()
|
||||
{
|
||||
return dragSource;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the origin of the drag.
|
||||
*
|
||||
*
|
||||
* @return the origin of the drag.
|
||||
*/
|
||||
public Point getDragOrigin()
|
||||
{
|
||||
return origin;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets an iterator representation of the List of events.
|
||||
*
|
||||
*
|
||||
* @return an iterator representation of the List of events.
|
||||
*/
|
||||
public Iterator<InputEvent> iterator()
|
||||
{
|
||||
return events.iterator();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets an array representation of the List of events.
|
||||
*
|
||||
*
|
||||
* @return an array representation of the List of events.
|
||||
*/
|
||||
public Object[] toArray()
|
||||
{
|
||||
return events.toArray();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets an array representation of the List of events.
|
||||
*
|
||||
*
|
||||
* @param array - the array to store the events in.
|
||||
* @return an array representation of the List of events.
|
||||
*/
|
||||
|
@ -158,17 +158,17 @@ public class DragGestureEvent extends EventObject
|
|||
|
||||
/**
|
||||
* Gets the user's preferred action.
|
||||
*
|
||||
*
|
||||
* @return the user's preferred action.
|
||||
*/
|
||||
public int getDragAction()
|
||||
{
|
||||
return action;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the event that triggered this gesture.
|
||||
*
|
||||
*
|
||||
* @return the event that triggered this gesture.
|
||||
*/
|
||||
public InputEvent getTriggerEvent()
|
||||
|
|
|
@ -164,7 +164,7 @@ public abstract class DragGestureRecognizer implements Serializable
|
|||
{
|
||||
if(dragGestureListener != null)
|
||||
dragGestureListener.dragGestureRecognized
|
||||
(new DragGestureEvent(this, dragAction, p, events));
|
||||
(new DragGestureEvent(this, dragAction, p, events));
|
||||
resetRecognizer();
|
||||
}
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ public class DragSource implements Serializable
|
|||
private transient FlavorMap flavorMap = SystemFlavorMap.getDefaultFlavorMap ();
|
||||
private transient DragSourceListener dragSourceListener;
|
||||
private transient DragSourceMotionListener dragSourceMotionListener;
|
||||
|
||||
|
||||
private static DragSource ds;
|
||||
private DragSourceContextPeer peer;
|
||||
private DragSourceContext context;
|
||||
|
@ -95,7 +95,7 @@ public class DragSource implements Serializable
|
|||
|
||||
/**
|
||||
* Gets the default drag source.
|
||||
*
|
||||
*
|
||||
* @exception HeadlessException If GraphicsEnvironment.isHeadless() is true.
|
||||
*/
|
||||
public static DragSource getDefaultDragSource()
|
||||
|
@ -139,14 +139,14 @@ public class DragSource implements Serializable
|
|||
// This function sends the same message to the context, which then forwards
|
||||
// it to the peer, passing itself as a parameter. Now, the native system has
|
||||
// access to the Transferable through the context.
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
flavorMap = map;
|
||||
|
||||
|
||||
if (peer == null)
|
||||
peer = Toolkit.getDefaultToolkit().createDragSourceContextPeer(trigger);
|
||||
|
||||
|
||||
if (context == null)
|
||||
context = createDragSourceContext(peer, trigger,
|
||||
dragCursor,
|
||||
|
@ -210,7 +210,7 @@ public class DragSource implements Serializable
|
|||
/**
|
||||
* Creates the DragSourceContext to handle this drag.
|
||||
*
|
||||
* @exception IllegalArgumentException
|
||||
* @exception IllegalArgumentException
|
||||
* @exception NullPointerException If dscp, dgl, dragImage or t is null.
|
||||
*/
|
||||
protected DragSourceContext
|
||||
|
@ -225,16 +225,16 @@ public class DragSource implements Serializable
|
|||
{
|
||||
return flavorMap;
|
||||
}
|
||||
|
||||
|
||||
public <T extends DragGestureRecognizer> T
|
||||
createDragGestureRecognizer(Class<T> recognizer,
|
||||
Component c,
|
||||
int actions,
|
||||
DragGestureListener dgl)
|
||||
createDragGestureRecognizer(Class<T> recognizer,
|
||||
Component c,
|
||||
int actions,
|
||||
DragGestureListener dgl)
|
||||
{
|
||||
return (T) Toolkit.getDefaultToolkit().createDragGestureRecognizer(recognizer,
|
||||
this, c,
|
||||
actions, dgl);
|
||||
this, c,
|
||||
actions, dgl);
|
||||
}
|
||||
|
||||
public DragGestureRecognizer createDefaultDragGestureRecognizer(Component c,
|
||||
|
@ -301,20 +301,20 @@ public class DragSource implements Serializable
|
|||
{
|
||||
if (listenerType == DragSourceListener.class)
|
||||
return DnDEventMulticaster.getListeners (dragSourceListener,
|
||||
listenerType);
|
||||
listenerType);
|
||||
|
||||
if (listenerType == DragSourceMotionListener.class)
|
||||
return DnDEventMulticaster.getListeners (dragSourceMotionListener,
|
||||
listenerType);
|
||||
listenerType);
|
||||
|
||||
// Return an empty EventListener array.
|
||||
return (T[]) new EventListener [0];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* @return TODO
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public static int getDragThreshold()
|
||||
|
|
|
@ -72,7 +72,7 @@ public class DragSourceContext
|
|||
private int sourceActions;
|
||||
private Image image;
|
||||
private Point offset;
|
||||
|
||||
|
||||
/**
|
||||
* Initializes a drag source context.
|
||||
*
|
||||
|
@ -81,13 +81,13 @@ public class DragSourceContext
|
|||
* or if the source actions for the DragGestureRecognizer associated with the
|
||||
* trigger event are equal to DnDConstants.ACTION_NONE.
|
||||
* @exception NullPointerException If peer, trans or trigger is null or if the
|
||||
* image is not null but the offset is.
|
||||
* image is not null but the offset is.
|
||||
*/
|
||||
public DragSourceContext (DragSourceContextPeer peer,
|
||||
DragGestureEvent trigger, Cursor cursor,
|
||||
Image image, Point offset, Transferable trans,
|
||||
DragSourceListener dsl)
|
||||
{
|
||||
{
|
||||
if (peer == null
|
||||
|| trigger == null || trans == null
|
||||
|| (image != null && offset == null))
|
||||
|
@ -108,7 +108,7 @@ public class DragSourceContext
|
|||
this.transferable = trans;
|
||||
this.dragSourceListener = dsl;
|
||||
this.sourceActions = trigger.getSourceAsDragGestureRecognizer().getSourceActions();
|
||||
|
||||
|
||||
setCursor(cursor);
|
||||
updateCurrentCursor(trigger.getDragAction(), sourceActions, DEFAULT);
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ public class DragSourceContext
|
|||
/**
|
||||
* Returns the DragSource object associated with the
|
||||
* DragGestureEvent.
|
||||
*
|
||||
*
|
||||
* @return the DragSource associated with the trigger.
|
||||
*/
|
||||
public DragSource getDragSource()
|
||||
|
@ -126,7 +126,7 @@ public class DragSourceContext
|
|||
|
||||
/**
|
||||
* Returns the component associated with this.
|
||||
*
|
||||
*
|
||||
* @return the component associated with the trigger.
|
||||
*/
|
||||
public Component getComponent()
|
||||
|
@ -136,7 +136,7 @@ public class DragSourceContext
|
|||
|
||||
/**
|
||||
* Gets the trigger associated with this.
|
||||
*
|
||||
*
|
||||
* @return the trigger.
|
||||
*/
|
||||
public DragGestureEvent getTrigger()
|
||||
|
@ -146,7 +146,7 @@ public class DragSourceContext
|
|||
|
||||
/**
|
||||
* Returns the source actions for the DragGestureRecognizer.
|
||||
*
|
||||
*
|
||||
* @return the source actions for DragGestureRecognizer.
|
||||
*/
|
||||
public int getSourceActions()
|
||||
|
@ -158,7 +158,7 @@ public class DragSourceContext
|
|||
|
||||
/**
|
||||
* Sets the cursor for this drag operation to the specified cursor.
|
||||
*
|
||||
*
|
||||
* @param cursor c - the Cursor to use, or null to use the default drag
|
||||
* cursor.
|
||||
*/
|
||||
|
@ -175,7 +175,7 @@ public class DragSourceContext
|
|||
/**
|
||||
* Returns the current cursor or null if the default
|
||||
* drag cursor is used.
|
||||
*
|
||||
*
|
||||
* @return the current cursor or null.
|
||||
*/
|
||||
public Cursor getCursor()
|
||||
|
@ -215,57 +215,57 @@ public class DragSourceContext
|
|||
/**
|
||||
* Calls dragEnter on the listeners registered with this
|
||||
* and with the DragSource.
|
||||
*
|
||||
*
|
||||
* @param e - the DragSourceDragEvent
|
||||
*/
|
||||
public void dragEnter(DragSourceDragEvent e)
|
||||
{
|
||||
if (dragSourceListener != null)
|
||||
dragSourceListener.dragEnter(e);
|
||||
|
||||
|
||||
DragSource ds = getDragSource();
|
||||
DragSourceListener[] dsl = ds.getDragSourceListeners();
|
||||
for (int i = 0; i < dsl.length; i++)
|
||||
dsl[i].dragEnter(e);
|
||||
|
||||
|
||||
updateCurrentCursor(e.getDropAction(), e.getTargetActions(), ENTER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Calls dragOver on the listeners registered with this
|
||||
* and with the DragSource.
|
||||
*
|
||||
*
|
||||
* @param e - the DragSourceDragEvent
|
||||
*/
|
||||
public void dragOver(DragSourceDragEvent e)
|
||||
{
|
||||
if (dragSourceListener != null)
|
||||
dragSourceListener.dragOver(e);
|
||||
|
||||
|
||||
DragSource ds = getDragSource();
|
||||
DragSourceListener[] dsl = ds.getDragSourceListeners();
|
||||
for (int i = 0; i < dsl.length; i++)
|
||||
dsl[i].dragOver(e);
|
||||
|
||||
|
||||
updateCurrentCursor(e.getDropAction(), e.getTargetActions(), OVER);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Calls dragExit on the listeners registered with this
|
||||
* and with the DragSource.
|
||||
*
|
||||
*
|
||||
* @param e - the DragSourceEvent
|
||||
*/
|
||||
public void dragExit(DragSourceEvent e)
|
||||
{
|
||||
if (dragSourceListener != null)
|
||||
dragSourceListener.dragExit(e);
|
||||
|
||||
|
||||
DragSource ds = getDragSource();
|
||||
DragSourceListener[] dsl = ds.getDragSourceListeners();
|
||||
for (int i = 0; i < dsl.length; i++)
|
||||
dsl[i].dragExit(e);
|
||||
|
||||
|
||||
updateCurrentCursor(DnDConstants.ACTION_NONE, DnDConstants.ACTION_NONE,
|
||||
DEFAULT);
|
||||
}
|
||||
|
@ -273,33 +273,33 @@ public class DragSourceContext
|
|||
/**
|
||||
* Calls dropActionChanged on the listeners registered with this
|
||||
* and with the DragSource.
|
||||
*
|
||||
*
|
||||
* @param e - the DragSourceDragEvent
|
||||
*/
|
||||
public void dropActionChanged(DragSourceDragEvent e)
|
||||
{
|
||||
if (dragSourceListener != null)
|
||||
dragSourceListener.dropActionChanged(e);
|
||||
|
||||
|
||||
DragSource ds = getDragSource();
|
||||
DragSourceListener[] dsl = ds.getDragSourceListeners();
|
||||
for (int i = 0; i < dsl.length; i++)
|
||||
dsl[i].dropActionChanged(e);
|
||||
|
||||
|
||||
updateCurrentCursor(e.getDropAction(), e.getTargetActions(), CHANGED);
|
||||
}
|
||||
|
||||
/**
|
||||
* Calls dragDropEnd on the listeners registered with this
|
||||
* and with the DragSource.
|
||||
*
|
||||
*
|
||||
* @param e - the DragSourceDropEvent
|
||||
*/
|
||||
public void dragDropEnd(DragSourceDropEvent e)
|
||||
{
|
||||
if (dragSourceListener != null)
|
||||
dragSourceListener.dragDropEnd(e);
|
||||
|
||||
|
||||
DragSource ds = getDragSource();
|
||||
DragSourceListener[] dsl = ds.getDragSourceListeners();
|
||||
for (int i = 0; i < dsl.length; i++)
|
||||
|
@ -308,7 +308,7 @@ public class DragSourceContext
|
|||
|
||||
/**
|
||||
* Calls dragMouseMoved on the listeners registered with the DragSource.
|
||||
*
|
||||
*
|
||||
* @param e - the DragSourceDragEvent
|
||||
*/
|
||||
public void dragMouseMoved(DragSourceDragEvent e)
|
||||
|
@ -321,7 +321,7 @@ public class DragSourceContext
|
|||
|
||||
/**
|
||||
* Returns the Transferable set with this object.
|
||||
*
|
||||
*
|
||||
* @return the transferable.
|
||||
*/
|
||||
public Transferable getTransferable()
|
||||
|
@ -333,7 +333,7 @@ public class DragSourceContext
|
|||
* This function sets the drag cursor for the specified operation, actions and
|
||||
* status if the default drag cursor is active. Otherwise, the cursor is not
|
||||
* updated in any way.
|
||||
*
|
||||
*
|
||||
* @param dropOp - the current operation.
|
||||
* @param targetAct - the supported actions.
|
||||
* @param status - the status of the cursor (constant).
|
||||
|
@ -370,7 +370,7 @@ public class DragSourceContext
|
|||
newCursor = DragSource.DefaultCopyDrop;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (cursor == null || ! cursor.equals(newCursor))
|
||||
{
|
||||
cursor = newCursor;
|
||||
|
|
|
@ -60,7 +60,7 @@ public class DragSourceDropEvent extends DragSourceEvent
|
|||
this.dropAction = 0;
|
||||
this.dropSuccess = false;
|
||||
}
|
||||
|
||||
|
||||
public DragSourceDropEvent (DragSourceContext context, int dropAction,
|
||||
boolean dropSuccess)
|
||||
{
|
||||
|
|
|
@ -50,7 +50,7 @@ public class DragSourceEvent extends EventObject
|
|||
* Compatible with JDK 1.2+
|
||||
*/
|
||||
private static final long serialVersionUID = -763287114604032641L;
|
||||
|
||||
|
||||
private final boolean locationSpecified;
|
||||
private final int x;
|
||||
private final int y;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* DropTarget.java --
|
||||
/* DropTarget.java --
|
||||
Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
@ -164,7 +164,7 @@ public class DropTarget
|
|||
private DropTargetListener dropTargetListener;
|
||||
private DropTarget.DropTargetAutoScroller autoscroller;
|
||||
private boolean active = true;
|
||||
|
||||
|
||||
/**
|
||||
* Creates a <code>DropTarget</code> object.
|
||||
*
|
||||
|
@ -175,7 +175,7 @@ public class DropTarget
|
|||
{
|
||||
this (null, DnDConstants.ACTION_COPY_OR_MOVE, null, true, null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates a <code>DropTarget</code> object.
|
||||
*
|
||||
|
@ -186,7 +186,7 @@ public class DropTarget
|
|||
{
|
||||
this (c, DnDConstants.ACTION_COPY_OR_MOVE, dtl, true, null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates a <code>DropTarget</code> object.
|
||||
*
|
||||
|
@ -197,7 +197,7 @@ public class DropTarget
|
|||
{
|
||||
this (c, i, dtl, true, null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates a <code>DropTarget</code> object.
|
||||
*
|
||||
|
@ -208,7 +208,7 @@ public class DropTarget
|
|||
{
|
||||
this (c, i, dtl, b, null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates a <code>DropTarget</code> object.
|
||||
*
|
||||
|
@ -224,14 +224,14 @@ public class DropTarget
|
|||
setComponent(c);
|
||||
setDefaultActions(i);
|
||||
dropTargetListener = dtl;
|
||||
|
||||
|
||||
if (fm == null)
|
||||
flavorMap = SystemFlavorMap.getDefaultFlavorMap();
|
||||
else
|
||||
flavorMap = fm;
|
||||
|
||||
|
||||
setActive (b);
|
||||
|
||||
|
||||
if (c != null)
|
||||
c.setDropTarget(this);
|
||||
}
|
||||
|
@ -284,7 +284,7 @@ public class DropTarget
|
|||
|
||||
/**
|
||||
* Adds a new <code>DropTargetListener</code>.
|
||||
*
|
||||
*
|
||||
* @exception TooManyListenersException Sun's JDK does not, despite
|
||||
* documentation, throw this exception here when you install an additional
|
||||
* <code>DropTargetListener</code>. So to be compatible, we do the same
|
||||
|
@ -295,13 +295,13 @@ public class DropTarget
|
|||
{
|
||||
if (dtl == null)
|
||||
return;
|
||||
|
||||
|
||||
if (dtl.equals(this))
|
||||
throw new IllegalArgumentException();
|
||||
|
||||
|
||||
if (dropTargetListener != null)
|
||||
throw new TooManyListenersException();
|
||||
|
||||
|
||||
dropTargetListener = dtl;
|
||||
}
|
||||
|
||||
|
@ -397,7 +397,7 @@ public class DropTarget
|
|||
{
|
||||
if (dropTargetContext == null)
|
||||
dropTargetContext = createDropTargetContext ();
|
||||
|
||||
|
||||
return dropTargetContext;
|
||||
}
|
||||
|
||||
|
@ -405,7 +405,7 @@ public class DropTarget
|
|||
{
|
||||
if (dropTargetContext == null)
|
||||
dropTargetContext = new DropTargetContext (this);
|
||||
|
||||
|
||||
return dropTargetContext;
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ public class DropTargetContext implements Serializable
|
|||
this.transferable = t;
|
||||
this.isLocal = local;
|
||||
}
|
||||
|
||||
|
||||
public DataFlavor[] getTransferDataFlavors()
|
||||
{
|
||||
return transferable.getTransferDataFlavors();
|
||||
|
@ -156,7 +156,7 @@ public class DropTargetContext implements Serializable
|
|||
protected void rejectDrop ()
|
||||
{
|
||||
if (dtcp != null)
|
||||
dtcp.rejectDrop();
|
||||
dtcp.rejectDrop();
|
||||
}
|
||||
|
||||
protected DataFlavor[] getCurrentDataFlavors ()
|
||||
|
@ -181,7 +181,7 @@ public class DropTargetContext implements Serializable
|
|||
*
|
||||
* @exception InvalidDnDOperationException If a drag is not outstanding.
|
||||
*/
|
||||
protected Transferable getTransferable()
|
||||
protected Transferable getTransferable()
|
||||
throws InvalidDnDOperationException
|
||||
{
|
||||
// FIXME: Implement this
|
||||
|
|
|
@ -89,10 +89,10 @@ public class DropTargetDragEvent extends DropTargetEvent
|
|||
| DnDConstants.ACTION_COPY_OR_MOVE
|
||||
| DnDConstants.ACTION_LINK
|
||||
| DnDConstants.ACTION_REFERENCE;
|
||||
|
||||
|
||||
if (~(srcActions ^ srcActionsMask) != 0)
|
||||
throw new IllegalArgumentException ();
|
||||
|
||||
|
||||
this.dropAction = dropAction;
|
||||
this.srcActions = srcActions;
|
||||
this.location = location;
|
||||
|
@ -107,12 +107,12 @@ public class DropTargetDragEvent extends DropTargetEvent
|
|||
{
|
||||
return context.getCurrentDataFlavors ();
|
||||
}
|
||||
|
||||
|
||||
public List<DataFlavor> getCurrentDataFlavorsAsList ()
|
||||
{
|
||||
return context.getCurrentDataFlavorsAsList ();
|
||||
}
|
||||
|
||||
|
||||
public int getDropAction()
|
||||
{
|
||||
return dropAction & ((DropTargetContext) source).getTargetActions();
|
||||
|
@ -137,12 +137,12 @@ public class DropTargetDragEvent extends DropTargetEvent
|
|||
{
|
||||
context.rejectDrag ();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public Transferable getTransferable()
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue