|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use String | |
| java.applet | Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. |
| java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
| java.awt.color | Provides classes for color spaces. |
| java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications. |
| java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. |
| java.awt.event | Provides interfaces and classes for dealing with different types of events fired by AWT components. |
| java.awt.font | Provides classes and interface relating to fonts. |
| java.awt.geom | Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. |
| java.awt.im.spi | Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. |
| java.awt.image | Provides classes for creating and modifying images. |
| java.awt.image.renderable | Provides classes and interfaces for producing rendering-independent images. |
| java.awt.print | Provides classes and interfaces for a general printing API. |
| java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture. |
| java.beans.beancontext | Provides classes and interfaces relating to bean context. |
| java.io | Provides for system input and output through data streams, serialization and the file system. |
| java.lang | Provides classes that are fundamental to the design of the Java programming language. |
| java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects. |
| java.math | Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). |
| java.net | Provides the classes for implementing networking applications. |
| java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages. |
| java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. |
| java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. |
| java.nio.charset.spi | Service-provider classes for the java.nio.charset package. |
| java.rmi | Provides the RMI package. |
| java.rmi.activation | Provides support for RMI Object Activation. |
| java.rmi.dgc | Provides classes and interface for RMI distributed garbage-collection (DGC). |
| java.rmi.registry | Provides a class and two interfaces for the RMI registry. |
| java.rmi.server | Provides classes and interfaces for supporting the server side of RMI. |
| java.security | Provides the classes and interfaces for the security framework. |
| java.security.acl | The classes and interfaces in this package have been superseded by classes in the java.security package. |
| java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. |
| java.security.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. |
| java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. |
| java.text | Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. |
| java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). |
| java.util.jar | Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. |
| java.util.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. |
| java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data. |
| java.util.regex | Classes for matching character sequences against patterns specified by regular expressions. |
| java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats. |
| javax.accessibility | Defines a contract between user-interface components and an assistive technology that provides access to those components. |
| javax.crypto | Provides the classes and interfaces for cryptographic operations. |
| javax.crypto.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. |
| javax.imageio | The main package of the Java Image I/O API. |
| javax.imageio.event | A package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images. |
| javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. |
| javax.imageio.plugins.jpeg | Classes supporting the built-in JPEG plug-in. |
| javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. |
| javax.imageio.stream | A package of the Java Image I/O API dealing with low-level I/O from files and streams. |
| javax.naming | Provides the classes and interfaces for accessing naming services. |
| javax.naming.directory | Extends the javax.naming package to provide functionality for accessing directory services. |
| javax.naming.event | Provides support for event notification when accessing naming and directory services. |
| javax.naming.ldap | Provides support for LDAPv3 extended operations and controls. |
| javax.naming.spi | Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. |
| javax.net | Provides classes for networking applications. |
| javax.net.ssl | Provides classes for the secure socket package. |
| javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
| javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. |
| javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes. |
| javax.print.event | Package javax.print.event contains event classes and listener interfaces. |
| javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. |
| javax.security.auth | This package provides a framework for authentication and authorization. |
| javax.security.auth.callback | This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). |
| javax.security.auth.kerberos | This package contains utility classes related to the Kerberos network authentication protocol. |
| javax.security.auth.login | This package provides a pluggable authentication framework. |
| javax.security.auth.x500 | This package contains the classes that should be used to store X500 Principal and X500 Private Crendentials in a Subject. |
| javax.security.cert | Provides classes for public key certificates. |
| javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. |
| javax.sound.sampled | Provides interfaces and classes for capture, processing, and playback of sampled audio data. |
| javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language. |
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
| javax.swing.border | Provides classes and interface for drawing specialized borders around a Swing component. |
| javax.swing.colorchooser | Contains classes and interfaces used by the JColorChooser
component. |
| javax.swing.event | Provides for events fired by Swing components. |
| javax.swing.filechooser | Contains classes and interfaces used by the JFileChooser component. |
| javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. |
| javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel. |
| javax.swing.plaf.metal | Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel. |
| javax.swing.plaf.multi | Provides user interface objects that combine two or more look and feels. |
| javax.swing.table | Provides classes and interfaces for dealing with
javax.swing.JTable. |
| javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
| javax.swing.text.html | Provides the class HTMLEditorKit and supporting classes
for creating HTML text editors. |
| javax.swing.text.html.parser | Provides the default HTML parser, along with support classes. |
| javax.swing.text.rtf | Provides a class (RTFEditorKit) for creating Rich-Text-Format
text editors. |
| javax.swing.tree | Provides classes and interfaces for dealing with
javax.swing.JTree. |
| javax.swing.undo | Allows developers to provide support for undo/redo in applications such as text editors. |
| javax.transaction | Contains three exceptions thrown by the ORB machinery during unmarshalling. |
| javax.transaction.xa | Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions. |
| javax.xml.parsers | Provides classes allowing the processing of XML documents. |
| javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. |
| javax.xml.transform.dom | This package implements DOM-specific transformation APIs. |
| javax.xml.transform.sax | This package implements SAX2-specific transformation APIs. |
| javax.xml.transform.stream | This package implements stream- and URI- specific transformation APIs. |
| org.ietf.jgss | This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API. |
| org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). |
| org.omg.CORBA_2_3 | The CORBA_2_3 package defines additions to existing CORBA interfaces in the Java 2 Standard Edition. These changes occurred in recent revisions to the CORBA API defined by the OMG. The new methods were added to interfaces derived from the corresponding interfaces in the CORBA package. This provides backward compatibility and avoids breaking the JCK tests. |
| org.omg.CORBA_2_3.portable | Provides methods for the input and output of value types, and contains
other updates to the org/omg/CORBA/portable package. |
| org.omg.CORBA.DynAnyPackage | Provides the exceptions used with the DynAny interface
(InvalidValue,
Invalid, InvalidSeq, and
TypeMismatch). |
| org.omg.CORBA.ORBPackage | Provides the exception InvalidName, which is thrown
by the method ORB.resolve_initial_references
and the exception InconsistentTypeCode, which is thrown
by the Dynamic Any creation methods in the ORB class. |
| org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. |
| org.omg.CORBA.TypeCodePackage | Provides the user-defined exceptions BadKind
and Bounds, which are thrown by methods in
in the class TypeCode. |
| org.omg.CosNaming | Provides a naming service for Java IDL. |
| org.omg.CosNaming.NamingContextExtPackage | This package contains the following classes, which are used in org.omg.CosNaming.NamingContextExt: |
| org.omg.CosNaming.NamingContextPackage | This package contains Exception classes for the org.omg.CosNaming package. |
| org.omg.DynamicAny | Provides classes and interfaces that enable traversal of the data value
associated with an any at
runtime, and extraction of the primitive constituents of the data value. |
| org.omg.DynamicAny.DynAnyFactoryPackage | This package contains classes and exceptions from the DynAnyFactory interface of the DynamicAny module specified in the OMG The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 9.2.2. |
| org.omg.DynamicAny.DynAnyPackage | This package contains classes and exceptions from the DynAny interface of the DynamicAny module specified in the OMG The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 9.2. |
| org.omg.IOP | This package contains the IOP module specified in the OMG document The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 13.6. |
| org.omg.IOP.CodecFactoryPackage | This package contains the exceptions specified in the IOP::CodeFactory interface (as part of the Portable Interceptors spec). |
| org.omg.IOP.CodecPackage | This package is generated from the IOP::Codec IDL interface definition. |
| org.omg.Messaging | This package contains the Messaging module specified in the OMG CORBA Messaging specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07. |
| org.omg.PortableInterceptor | Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB. |
| org.omg.PortableInterceptor.ORBInitInfoPackage | This package contains the exceptions and typedefs from the ORBInitInfo local interface of the PortableInterceptor module specified in the OMG Portable Interceptor specification, http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.7.2. |
| org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
| org.omg.PortableServer.CurrentPackage | Provides method implementations with access to the identity of the object on which the method was invoked. |
| org.omg.PortableServer.POAManagerPackage | Encapsulates the processing state of the POAs it is associated with. |
| org.omg.PortableServer.POAPackage | Allows programmers to construct object implementations that are portable between different ORB products. |
| org.omg.PortableServer.portable | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
| org.omg.stub.java.rmi | Contains RMI-IIOP Stubs for the Remote types that occur in the java.rmi package. |
| org.w3c.dom | Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing. |
| org.xml.sax | Provides the classes and interfaces for the Simple API for XML (SAX) which is a component of the Java API for XML Processing. |
| org.xml.sax.ext | Provides extension classes and interfaces for the Simple API for XML (SAX) which is a component of the Java API for XML Processing. |
| org.xml.sax.helpers | Provides helper classes for the Simple API for XML (SAX) which is a component of the Java API for XML Processing. |
| Uses of String in java.applet |
| Methods in java.applet that return String | |
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
String |
Applet.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
String |
Applet.getAppletInfo()
Returns information about this applet. |
String[][] |
Applet.getParameterInfo()
Returns information about the parameters that are understood by this applet. |
| Methods in java.applet with parameters of type String | |
Applet |
AppletContext.getApplet(String name)
Finds and returns the applet in the document represented by this applet context with the given name. |
void |
AppletContext.showDocument(URL url,
String target)
Requests that the browser or applet viewer show the Web page indicated by the url argument. |
void |
AppletContext.showStatus(String status)
Requests that the argument string be displayed in the "status window". |
void |
AppletContext.setStream(String key,
InputStream stream)
Associates the specified stream with the specified key in this applet context. |
InputStream |
AppletContext.getStream(String key)
Returns the stream to which specified key is associated within this applet context. |
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
String |
Applet.getParameter(String name)
Returns the value of the named parameter in the HTML tag. |
void |
Applet.showStatus(String msg)
Requests that the argument string be displayed in the "status window". |
Image |
Applet.getImage(URL url,
String name)
Returns an Image object that can then be painted on
the screen. |
AudioClip |
Applet.getAudioClip(URL url,
String name)
Returns the AudioClip object specified by the
URL and name arguments. |
void |
Applet.play(URL url,
String name)
Plays the audio clip given the URL and a specifier that is relative to it. |
| Uses of String in java.awt |
| Fields in java.awt declared as String | |
static String |
BorderLayout.NORTH
The north layout constraint (top of container). |
static String |
BorderLayout.SOUTH
The south layout constraint (bottom of container). |
static String |
BorderLayout.EAST
The east layout constraint (right side of container). |
static String |
BorderLayout.WEST
The west layout constraint (left side of container). |
static String |
BorderLayout.CENTER
The center layout constraint (middle of container). |
static String |
BorderLayout.BEFORE_FIRST_LINE
Synonym for PAGE_START. |
static String |
BorderLayout.AFTER_LAST_LINE
Synonym for PAGE_END. |
static String |
BorderLayout.BEFORE_LINE_BEGINS
Synonym for LINE_START. |
static String |
BorderLayout.AFTER_LINE_ENDS
Synonym for LINE_END. |
static String |
BorderLayout.PAGE_START
The component comes before the first line of the layout's content. |
static String |
BorderLayout.PAGE_END
The component comes after the last line of the layout's content. |
static String |
BorderLayout.LINE_START
The component goes at the beginning of the line direction for the layout. |
static String |
BorderLayout.LINE_END
The component goes at the end of the line direction for the layout. |
protected String |
Cursor.name
The user-visible name of the cursor. |
protected String |
Font.name
The logical name of this Font, as passed to the
constructor. |
| Methods in java.awt that return String | |
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames()
Returns an array containing the names of all font families available in this GraphicsEnvironment. |
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
Returns an array containing the localized names of all font families available in this GraphicsEnvironment. |
String |
AWTKeyStroke.toString()
Returns a string that displays and identifies this object's properties. |
String |
GridBagLayout.toString()
Returns a string representation of this grid bag layout's values. |
String |
CardLayout.toString()
Returns a string representation of the state of this card layout. |
String |
FlowLayout.toString()
Returns a string representation of this FlowLayout
object and its values. |
String |
GridLayout.toString()
Returns the string representation of this grid layout's values. |
String |
BorderLayout.toString()
Returns a string representation of the state of this border layout. |
String |
Robot.toString()
Returns a string representation of this Robot. |
String |
SystemColor.toString()
Returns a string representation of this Color's values. |
String |
ScrollPaneAdjustable.toString()
Returns a string representation of this scrollbar and its values. |
String |
ScrollPaneAdjustable.paramString()
Returns a string representing the state of this scrollbar. |
String |
CheckboxGroup.toString()
Returns a string representation of this check box group, including the value of its current selection. |
String |
MenuShortcut.toString()
Returns an internationalized description of the MenuShortcut. |
protected String |
MenuShortcut.paramString()
Returns the parameter string representing the state of this MenuShortcut. |
String |
PageAttributes.toString()
Returns a string representation of this PageAttributes. |
String |
JobAttributes.getFileName()
Specifies the file name for the output file for jobs using these attributes. |
String |
JobAttributes.getPrinter()
Returns the destination printer for jobs using these attributes. |
String |
JobAttributes.toString()
Returns a string representation of this JobAttributes. |
String |
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
String |
CheckboxMenuItem.paramString()
Returns a string representing the state of this CheckBoxMenuItem. |
String |
FileDialog.getDirectory()
Gets the directory of this file dialog. |
String |
FileDialog.getFile()
Gets the selected file of this file dialog. |
protected String |
FileDialog.paramString()
Returns a string representing the state of this FileDialog
window. |
String |
Dialog.getTitle()
Gets the title of the dialog. |
protected String |
Dialog.paramString()
Returns a string representing the state of this dialog. |
String |
Window.getWarningString()
Gets the warning string that is displayed with this window. |
String |
Frame.getTitle()
Gets the title of the frame. |
protected String |
Frame.paramString()
Returns a string representing the state of this Frame. |
String |
Choice.getItem(int index)
Gets the string at the specified index in this Choice menu. |
String |
Choice.getSelectedItem()
Gets a representation of the current choice as a string. |
protected String |
Choice.paramString()
Returns a string representing the state of this Choice
menu. |
String |
Choice.AccessibleAWTChoice.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object. |
protected String |
TextArea.paramString()
Returns a string representing the state of this TextArea. |
String |
ScrollPane.paramString()
Returns a string representing the state of this ScrollPane. |
protected String |
Scrollbar.paramString()
Returns a string representing the state of this Scrollbar. |
String |
Checkbox.getLabel()
Gets the label of this check box. |
protected String |
Checkbox.paramString()
Returns a string representing the state of this Checkbox. |
String |
Checkbox.AccessibleAWTCheckbox.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
String |
List.getItem(int index)
Gets the item associated with the specified index. |
String[] |
List.getItems()
Gets the items in the list. |
String |
List.getSelectedItem()
Gets the selected item on this scrolling list. |
String[] |
List.getSelectedItems()
Gets the selected items on this scrolling list. |
protected String |
List.paramString()
Returns the parameter string representing the state of this scrolling list. |
String |
Label.AccessibleAWTLabel.getAccessibleName()
Get the accessible name of this object. |
String |
TextComponent.getText()
Returns the text that is presented by this text component. |
String |
TextComponent.getSelectedText()
Returns the selected text from the text that is presented by this text component. |
protected String |
TextComponent.paramString()
Returns a string representing the state of this TextComponent. |
String |
TextComponent.AccessibleAWTTextComponent.getSelectedText()
Returns the portion of the text that is selected. |
String |
TextComponent.AccessibleAWTTextComponent.getAtIndex(int part,
int index)
Returns the String at a given index. |
String |
TextComponent.AccessibleAWTTextComponent.getAfterIndex(int part,
int index)
Returns the String after a given index. |
String |
TextComponent.AccessibleAWTTextComponent.getBeforeIndex(int part,
int index)
Returns the String before a given index. |
protected String |
TextField.paramString()
Returns a string representing the state of this TextField. |
String |
Button.getLabel()
Gets the label of this button. |
String |
Button.getActionCommand()
Returns the command name of the action event fired by this button. |
protected String |
Button.paramString()
Returns a string representing the state of this Button. |
String |
Button.AccessibleAWTButton.getAccessibleName()
Get the accessible name of this object. |
String |
Button.AccessibleAWTButton.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
abstract String |
GraphicsDevice.getIDstring()
Returns the identification string associated with this GraphicsDevice. |
String |
Label.getText()
Gets the text of this label. |
protected String |
Label.paramString()
Returns a string representing the state of this Label. |
String |
RenderingHints.toString()
Returns a rather long string representation of the hashmap which contains the mappings of keys to values for this RenderingHints object. |
String |
Insets.toString()
Returns a string representation of this Insets object. |
String |
MenuComponent.getName()
Gets the name of the menu component. |
protected String |
MenuComponent.paramString()
Returns a string representing the state of this MenuComponent. |
String |
MenuComponent.toString()
Returns a representation of this menu component as a string. |
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleName()
Gets the accessible name of this object. |
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription()
Gets the accessible description of this object. |
String |
MenuItem.getLabel()
Gets the label for this menu item. |
String |
MenuItem.getActionCommand()
Gets the command name of the action event that is fired by this menu item. |
String |
MenuItem.paramString()
Returns a string representing the state of this MenuItem. |
String |
MenuItem.AccessibleAWTMenuItem.getAccessibleName()
Get the accessible name of this object. |
String |
MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int i)
Return a description of the specified action of the object. |
String |
Menu.paramString()
Returns a string representing the state of this Menu. |
String |
FontMetrics.toString()
Returns a representation of this FontMetrics
object's values as a String. |
String |
Graphics.toString()
Returns a String object representing this
Graphics object's value. |
String |
Rectangle.toString()
Returns a String representing this
Rectangle and its values. |
String |
Point.toString()
Returns a string representation of this point and its location in the (x, y) coordinate space. |
abstract String[] |
Toolkit.getFontList()
Deprecated. see GraphicsEnvironment.getAvailableFontFamilyNames() |
static String |
Toolkit.getProperty(String key,
String defaultValue)
Gets a property with the specified key and default. |
String |
Dimension.toString()
Returns a string representation of the values of this Dimension object's height and
width fields. |
String |
Cursor.getName()
Returns the name of this cursor. |
String |
Cursor.toString()
Returns a string representation of this cursor. |
String |
Font.getFamily()
Returns the family name of this Font. |
String |
Font.getFamily(Locale l)
Returns the family name of this Font, localized for
the specified locale. |
String |
Font.getPSName()
Returns the postscript name of this Font. |
String |
Font.getName()
Returns the logical name of this Font. |
String |
Font.getFontName()
Returns the font face name of this Font. |
String |
Font.getFontName(Locale l)
Returns the font face name of the Font, localized
for the specified locale. |
String |
Font.toString()
Converts this Font object to a String
representation. |
String |
Color.toString()
Returns a string representation of this Color. |
protected String |
Container.paramString()
Returns a string representing the state of this Container. |
String |
Component.getName()
Gets the name of the component. |
protected String |
Component.paramString()
Returns a string representing the state of this component. |
String |
Component.toString()
Returns a string representation of this component and its values. |
String |
Component.AccessibleAWTComponent.getAccessibleName()
Gets the accessible name of this object. |
String |
Component.AccessibleAWTComponent.getAccessibleDescription()
Gets the accessible description of this object. |
String |
AWTEvent.toString()
Returns a String representation of this object. |
String |
AWTEvent.paramString()
Returns a string representing the state of this Event. |
protected String |
Event.paramString()
NOTE: The Event class is obsolete and is
available only for backwards compatilibility. |
String |
Event.toString()
NOTE: The Event class is obsolete and is
available only for backwards compatilibility. |
| Methods in java.awt with parameters of type String | |
void |
KeyboardFocusManager.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific property. |
void |
KeyboardFocusManager.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a PropertyChangeListener from the listener list for a specific property. |
PropertyChangeListener[] |
KeyboardFocusManager.getPropertyChangeListeners(String propertyName)
Returns an array of all the PropertyChangeListeners
associated with the named property. |
protected void |
KeyboardFocusManager.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a bound property. |
void |
KeyboardFocusManager.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Adds a VetoableChangeListener to the listener list for a specific property. |
void |
KeyboardFocusManager.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Removes a VetoableChangeListener from the listener list for a specific property. |
VetoableChangeListener[] |
KeyboardFocusManager.getVetoableChangeListeners(String propertyName)
Returns an array of all the VetoableChangeListeners
associated with the named property. |
protected void |
KeyboardFocusManager.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a vetoable property. |
static AWTKeyStroke |
AWTKeyStroke.getAWTKeyStroke(String s)
Parses a string and returns an AWTKeyStroke. |
void |
GridBagLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout. |
void |
CardLayout.addLayoutComponent(String name,
Component comp)
Deprecated. replaced by addLayoutComponent(Component, Object). |
void |
CardLayout.show(Container parent,
String name)
Flips to the component that was added to this layout with the specified name, using addLayoutComponent. |
void |
FlowLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component to the layout. |
void |
GridLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout. |
void |
BorderLayout.addLayoutComponent(String name,
Component comp)
Deprecated. replaced by addLayoutComponent(Component, Object). |
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream s,
String k)
|
protected static void |
AWTEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l)
|
abstract void |
Graphics2D.drawString(String str,
int x,
int y)
Renders the text of the specified String, using the
current text attribute state in the Graphics2D context. |
abstract void |
Graphics2D.drawString(String s,
float x,
float y)
Renders the text specified by the specified String,
using the current text attribute state in the Graphics2D context. |
void |
JobAttributes.setFileName(String fileName)
Specifies the file name for the output file for jobs using these attributes. |
void |
JobAttributes.setPrinter(String printer)
Specifies the destination printer for jobs using these attributes. |
void |
FileDialog.setDirectory(String dir)
Sets the directory of this file dialog window to be the specified directory. |
void |
FileDialog.setFile(String file)
Sets the selected file for this file dialog window to be the specified file. |
void |
Dialog.setTitle(String title)
Sets the title of the Dialog. |
void |
Window.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific property. |
void |
Window.applyResourceBundle(String rbName)
Deprecated. As of J2SE 1.4, replaced by Component.applyComponentOrientation. |
void |
Frame.setTitle(String title)
Sets the title for this frame to the specified string. |
void |
Choice.add(String item)
Adds an item to this Choice menu. |
void |
Choice.addItem(String item)
Obsolete as of Java 2 platform v1.1. |
void |
Choice.insert(String item,
int index)
Inserts the item into this choice at the specified position. |
void |
Choice.remove(String item)
Removes the first occurrence of item
from the Choice menu. |
void |
Choice.select(String str)
Sets the selected item in this Choice menu
to be the item whose name is equal to the specified string. |
void |
TextArea.insert(String str,
int pos)
Inserts the specified text at the specified position in this text area. |
void |
TextArea.insertText(String str,
int pos)
Deprecated. As of JDK version 1.1, replaced by insert(String, int). |
void |
TextArea.append(String str)
Appends the given text to the text area's current text. |
void |
TextArea.appendText(String str)
Deprecated. As of JDK version 1.1, replaced by append(String). |
void |
TextArea.replaceRange(String str,
int start,
int end)
Replaces text between the indicated start and end positions with the specified replacement text. |
void |
TextArea.replaceText(String str,
int start,
int end)
Deprecated. As of JDK version 1.1, replaced by replaceRange(String, int, int). |
void |
Checkbox.setLabel(String label)
Sets this check box's label to be the string argument. |
void |
List.add( |