Index of all Fields and Methods Packages Classes   A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

G

gc(). Method in class java.lang.Runtime
Runs the garbage collector.
gc(). Static method in class java.lang.System
Runs the garbage collector.
gc(RemoteObject[]). Method in class sun.tools.debug.RemoteDebugger
Free all objects referenced by the debugger.
get(). Method in class sun.tools.debug.RemoteBoolean
Return the boolean's value.
get(). Method in class sun.tools.debug.RemoteByte
Return the byte's value.
get(). Method in class sun.tools.debug.RemoteChar
Return the char's value.
get(). Method in class sun.tools.debug.RemoteDouble
Return the double's value.
get(). Method in class sun.tools.debug.RemoteFloat
Return the float's value.
get(). Method in class sun.tools.debug.RemoteInt
Return the int's value.
get(). Method in class sun.tools.debug.RemoteLong
Return the long's value.
get(). Method in class sun.tools.debug.RemoteShort
Return the short's value.
get(int). Method in class java.util.BitSet
Gets a bit.
get(Integer). Method in class sun.tools.debug.RemoteDebugger
Get an object from the remote object cache.
get(Object). Method in class java.util.Dictionary
Gets the object associated with the specified key in the Dictionary.
get(Object). Method in class java.util.Hashtable
Gets the object associated with the specified key in the hashtable.
getAbsolutePath(). Method in class java.io.File
Gets the absolute path of the file.
getAddress(). Method in class java.net.DatagramPacket
getAddress(). Method in class java.net.InetAddress
Returns the raw IP address in network byte order.
getAlignment(). Method in class java.awt.Label
Gets the current alignment of this label.
getAllByName(String). Static method in class java.net.InetAddress
Given a hostname, returns an array of all the corresponding InetAddresses.
getAllowUserInteraction(). Method in class java.net.URLConnection
getAlpha(int). Method in class java.awt.image.ColorModel
The subclass must provide a function which provides the alpha color compoment for the specified pixel.
getAlpha(int). Method in class java.awt.image.DirectColorModel
Return the alpha transparency value for the specified pixel in the range 0-255.
getAlpha(int). Method in class java.awt.image.IndexColorModel
Returns the alpha transparency value for the specified pixel in the range 0-255.
getAlphaMask(). Method in class java.awt.image.DirectColorModel
Returns the mask indicating which bits in a pixel contain the alpha transparency component.
getAlphas(byte[]). Method in class java.awt.image.IndexColorModel
Copies the array of alpha transparency values into the given array.
getApplet(String). Method in interface java.applet.AppletContext
Gets an applet by name.
getAppletContext(). Method in class java.applet.Applet
Gets a handle to the applet context.
getAppletContext(). Method in interface java.applet.AppletStub
Gets a handler to the applet's context.
getAppletInfo(). Method in class java.applet.Applet
Returns a string containing information about the author, version and copyright of the applet.
getApplets(). Method in interface java.applet.AppletContext
Enumerates the applets in this context.
getAscent(). Method in class java.awt.FontMetrics
Gets the font ascent.
getAudioClip(URL). Method in class java.applet.Applet
Gets an audio clip.
getAudioClip(URL). Method in interface java.applet.AppletContext
Gets an audio clip.
getAudioClip(URL, String). Method in class java.applet.Applet
Gets an audio clip.
getBackground(). Method in class java.awt.Component
Gets the background color.
getBlue(). Method in class java.awt.Color
Gets the blue component.
getBlue(int). Method in class java.awt.image.ColorModel
The subclass must provide a function which provides the blue color compoment for the specified pixel.
getBlue(int). Method in class java.awt.image.DirectColorModel
Returns the blue color compoment for the specified pixel in the range 0-255.
getBlue(int). Method in class java.awt.image.IndexColorModel
Returns the blue color compoment for the specified pixel in the range 0-255.
getBlueMask(). Method in class java.awt.image.DirectColorModel
Returns the mask indicating which bits in a pixel contain the blue color component.
getBlues(byte[]). Method in class java.awt.image.IndexColorModel
Copies the array of blue color components into the given array.
getBoolean(String). Static method in class java.lang.Boolean
Gets a Boolean from the properties.
getBoundingBox(). Method in class java.awt.Polygon
Determines the area spanned by this Polygon.
getByName(String). Static method in class java.net.InetAddress
Returns a network address for the indicated host.
getBytes(int, int, byte[], int). Method in class java.lang.String
Copies characters from this String into the specified byte array.
getChars(int, int, char[], int). Method in class java.lang.String
Copies characters from this String into the specified character array.
getChars(int, int, char[], int). Method in class java.lang.StringBuffer
Copies the characters of the specified substring (determined by srcBegin and srcEnd) into the character array, starting at the array's dstBegin location.
getCheckboxGroup(). Method in class java.awt.Checkbox
Returns the checkbox group.
getClass(). Method in class java.lang.Object
Returns the Class of this Object.
getClassContext(). Method in class java.lang.SecurityManager
Gets the context of this Class.
getClassLoader(). Method in class java.lang.Class
Returns the Class loader of this Class.
getClassLoader(). Method in class sun.tools.debug.RemoteClass
Return the classloader for this class.
getClazz(). Method in class sun.tools.debug.RemoteObject
Returns the object's class.
getClipRect(). Method in class java.awt.Graphics
Returns the bounding rectangle of the current clipping area.
getCodeBase(). Method in class java.applet.Applet
Gets the base URL.
getCodeBase(). Method in interface java.applet.AppletStub
Gets the base URL.
getColor(). Method in class java.awt.Graphics
Gets the current color.
getColor(String). Static method in class java.awt.Color
Gets the specified Color property.
getColor(String, Color). Static method in class java.awt.Color
Gets the specified Color property of the specified Color.
getColor(String, int). Static method in class java.awt.Color
Gets the specified Color property of the color value.
getColorModel(). Method in class java.awt.Component
Gets the ColorModel used to display the component on the output device.
getColorModel(). Method in interface java.awt.peer.ComponentPeer
getColorModel(). Method in class java.awt.Toolkit
Returns the ColorModel of the screen.
getColumns(). Method in class java.awt.TextArea
Returns the number of columns in the TextArea.
getColumns(). Method in class java.awt.TextField
Returns the number of columns in this TextField.
getComponent(int). Method in class java.awt.Container
Gets the nth component in this container.
getComponents(). Method in class java.awt.Container
Gets all the components in this container.
getConstraints(Component). Method in class java.awt.GridBagLayout
Retrieves the constraints for the specified component.
getContent(). Method in class java.net.URL
Gets the contents from this opened connection.
getContent(). Method in class java.net.URLConnection
Gets the object referred to by this URL.
getContent(URLConnection). Method in class java.net.ContentHandler
Given an input stream positioned at the beginning of the representation of an object, reads that stream and recreates the object from it.
getContentEncoding(). Method in class java.net.URLConnection
Gets the content encoding.
getContentLength(). Method in class java.net.URLConnection
Gets the content length.
getContentType(). Method in class java.net.URLConnection
Gets the content type.
getCurrent(). Method in class java.awt.CheckboxGroup
Gets the current choice.
getCurrentFrame(). Method in class sun.tools.debug.RemoteThread
Get the current stack frame.
getCurrentFrameIndex(). Method in class sun.tools.debug.RemoteThread
Return the current stackframe index
getCursorType(). Method in class java.awt.Frame
Return the cursor type
getData(). Method in class java.net.DatagramPacket
getDate(). Method in class java.util.Date
Returns the day of the month.
getDate(). Method in class java.net.URLConnection
Gets the sending date of the object.
getDay(). Method in class java.util.Date
Returns the day of the week.
getDefaultAllowUserInteraction(). Static method in class java.net.URLConnection
getDefaultRequestProperty(String). Static method in class java.net.URLConnection
getDefaultToolkit(). Static method in class java.awt.Toolkit
Returns the default toolkit.
getDefaultUseCaches(). Method in class java.net.URLConnection
Sets/gets the default value of the UseCaches flag.
getDescent(). Method in class java.awt.FontMetrics
Gets the font descent.
getDirectory(). Method in class java.awt.FileDialog
Gets the directory of the Dialog.
getDocumentBase(). Method in class java.applet.Applet
Gets the document URL.
getDocumentBase(). Method in interface java.applet.AppletStub
Gets the document URL.
getDoInput(). Method in class java.net.URLConnection
getDoOutput(). Method in class java.net.URLConnection
getEchoChar(). Method in class java.awt.TextField
Returns the character to be used for echoing.
getElement(int). Method in class sun.tools.debug.RemoteArray
Return an array element.
getElements(). Method in class sun.tools.debug.RemoteArray
Returns a copy of the array as instances of RemoteValue.
getElements(int, int). Method in class sun.tools.debug.RemoteArray
Returns a copy of a portion of the array as instances of RemoteValue.
getElementType(). Method in class sun.tools.debug.RemoteArray
Return the element type as a "TC_" constant, such as "TC_CHAR".
getenv(String). Static method in class java.lang.System
Obsolete.
getErrorsAny(). Method in class java.awt.MediaTracker
Returns a list of all media that have encountered an error.
getErrorsID(int). Method in class java.awt.MediaTracker
Returns a list of media with the specified ID that have encountered an error.
getErrorStream(). Method in class java.lang.Process
Returns the an InputStream connected to the error stream of the child process.
getExceptionCatchList(). Method in class sun.tools.debug.RemoteDebugger
Return the list of the exceptions the debugger will stop on.
getExpiration(). Method in class java.net.URLConnection
Gets the expriation date of the object.
getFamily(). Method in class java.awt.Font
Gets the platform specific family name of the font.
getFD(). Method in class java.io.FileInputStream
Returns the opaque file descriptor object associated with this stream.
getFD(). Method in class java.io.FileOutputStream
Returns the file descriptor associated with this stream.
getFD(). Method in class java.io.RandomAccessFile
Returns the opaque file descriptor object.
getField(int). Method in class sun.tools.debug.RemoteClass
Return the static field, specified by index.
getField(int). Method in class sun.tools.debug.RemoteObject
Return an instance variable, specified by slot number.
getField(String). Method in class sun.tools.debug.RemoteClass
Return the static field, specified by name.
getField(String). Method in class sun.tools.debug.RemoteObject
Return an instance variable, specified by name.
getFields(). Method in class sun.tools.debug.RemoteClass
Return all the static fields for this class.
getFields(). Method in class sun.tools.debug.RemoteObject
Return the instance (non-static) fields of an object.
getFieldValue(int). Method in class sun.tools.debug.RemoteClass
Return the value of a static field, specified by its index
getFieldValue(int). Method in class sun.tools.debug.RemoteObject
Returns the value of an object's instance variable.
getFieldValue(String). Method in class sun.tools.debug.RemoteClass
Return the value of a static field, specified by name.
getFieldValue(String). Method in class sun.tools.debug.RemoteObject
Returns the value of an object's instance variable.
getFile(). Method in class java.awt.FileDialog
Gets the file of the Dialog.
getFile(). Method in class java.net.URL
Gets the file name.
getFileDescriptor(). Method in class java.net.SocketImpl
getFilenameFilter(). Method in class java.awt.FileDialog
Gets the filter.
getFilePointer(). Method in class java.io.RandomAccessFile
Returns the current location of the file pointer.
getFilterInstance(ImageConsumer). Method in class java.awt.image.ImageFilter
Returns a unique instance of an ImageFilter object which will actually perform the filtering for the specified ImageConsumer.
getFont(). Method in class java.awt.Component
Gets the font of the component.
getFont(). Method in class java.awt.FontMetrics
Gets the font.
getFont(). Method in class java.awt.Graphics
Gets the current font.
getFont(). Method in class java.awt.MenuComponent
Gets the font used for this MenuItem.
getFont(). Method in interface java.awt.MenuContainer
getFont(String). Static method in class java.awt.Font
Gets a font from the system properties list.
getFont(String, Font). Static method in class java.awt.Font
Gets the specified font from the system properties list.
getFontList(). Method in class java.awt.Toolkit
Returns the names of the available fonts.
getFontMetrics(). Method in class java.awt.Graphics
Gets the current font metrics.
getFontMetrics(Font). Method in class java.awt.Component
Gets the font metrics for this component.
getFontMetrics(Font). Method in interface java.awt.peer.ComponentPeer
getFontMetrics(Font). Method in class java.awt.Graphics
Gets the current font metrics for the specified font.
getFontMetrics(Font). Method in class java.awt.Toolkit
Returns the screen metrics of the font.
getForeground(). Method in class java.awt.Component
Gets the foreground color.
getGraphics(). Method in class java.awt.Component
Gets a Graphics context for this component.
getGraphics(). Method in interface java.awt.peer.ComponentPeer
getGraphics(). Method in class java.awt.Image
Gets a graphics object to draw into this image.
getGreen(). Method in class java.awt.Color
Gets the green component.
getGreen(int). Method in class java.awt.image.ColorModel
The subclass must provide a function which provides the green color compoment for the specified pixel.
getGreen(int). Method in class java.awt.image.DirectColorModel
Returns the green color compoment for the specified pixel in the range 0-255.
getGreen(int). Method in class java.awt.image.IndexColorModel
Returns the green color compoment for the specified pixel in the range 0-255.
getGreenMask(). Method in class java.awt.image.DirectColorModel
Returns the mask indicating which bits in a pixel contain the green color component.
getGreens(byte[]). Method in class java.awt.image.IndexColorModel
Copies the array of green color components into the given array.
getHeaderField(int). Method in class java.net.URLConnection
Returns the value for the nth header field.
getHeaderField(String). Method in class java.net.URLConnection
Gets a header field by name.
getHeaderFieldDate(String, long). Method in class java.net.URLConnection
Gets a header field by name.
getHeaderFieldInt(String, int). Method in class java.net.URLConnection
Gets a header field by name.
getHeaderFieldKey(int). Method in class java.net.URLConnection
Returns the key for the nth header field.
getHeight(). Method in class java.awt.FontMetrics
Gets the total height of the font.
getHeight(ImageObserver). Method in class java.awt.Image
Gets the actual height of the image.
getHelpMenu(). Method in class java.awt.MenuBar
Gets the help menu on the menu bar.
getHost(). Method in class java.net.URL
Gets the host name.
getHostName(). Method in class java.net.InetAddress
Gets the hostname for this address; also the key in the hashtable.
getHours(). Method in class java.util.Date
Returns the hour.
getHSBColor(float, float, float). Static method in class java.awt.Color
A static Color factory for generating a Color object from HSB values.
getIconImage(). Method in class java.awt.Frame
Returns the icon image for this Frame.
getId(). Method in class sun.tools.debug.RemoteObject
Returns the id of the object.
getIfModifiedSince(). Method in class java.net.URLConnection
getImage(String). Method in class java.awt.Toolkit
Returns an image which gets pixel data from the specified file.
getImage(URL). Method in class java.applet.Applet
Gets an image given a URL.
getImage(URL). Method in interface java.applet.AppletContext
Gets an image.
getImage(URL). Method in class java.awt.Toolkit
Returns an image which gets pixel data from the specified URL.
getImage(URL, String). Method in class java.applet.Applet
Gets an image relative to a URL.
getInCheck(). Method in class java.lang.SecurityManager
Returns whether there is a security check in progress.
getInetAddress(). Method in class java.net.ServerSocket
Gets the address to which the socket is connected.
getInetAddress(). Method in class java.net.Socket
Gets the address to which the socket is connected.
getInetAddress(). Method in class java.net.SocketImpl
getInputStream(). Method in class java.lang.Process
Returns a Stream connected to the output of the child process.
getInputStream(). Method in class java.net.Socket
Gets an InputStream for this socket.
getInputStream(). Method in class java.net.SocketImpl
Gets an InputStream for this socket.
getInputStream(). Method in class java.net.URLConnection
Calls this routine to get an InputStream that reads from the object.
getInstanceField(int). Method in class sun.tools.debug.RemoteClass
Return the instance field, specified by its index.
getInstanceFields(). Method in class sun.tools.debug.RemoteClass
Return all the instance fields for this class.
getInteger(String). Static method in class java.lang.Integer
Gets an Integer property.
getInteger(String, int). Static method in class java.lang.Integer
Gets an Integer property.
getInteger(String, Integer). Static method in class java.lang.Integer
Gets an Integer property.
getInterfaces(). Method in class java.lang.Class
Returns the interfaces of this Class.
getInterfaces(). Method in class sun.tools.debug.RemoteClass
Return the interfaces for this class.
getItem(int). Method in class java.awt.Choice
Returns the String at the specified index in the Choice.
getItem(int). Method in class java.awt.List
Gets the item associated with the specified index.
getItem(int). Method in class java.awt.Menu
Returns the item located at the specified index of this menu.
getLabel(). Method in class java.awt.Button
Gets the label of the button.
getLabel(). Method in class java.awt.Checkbox
Gets the label of the button.
getLabel(). Method in class java.awt.MenuItem
Gets the label for this menu item.
getLastModified(). Method in class java.net.URLConnection
Gets the last modified date of the object.
getLayout(). Method in class java.awt.Container
Gets the layout manager for this container.
getLayoutDimensions(). Method in class java.awt.GridBagLayout
GetLayoutInfo(Container, int). Method in class java.awt.GridBagLayout
getLayoutOrigin(). Method in class java.awt.GridBagLayout
getLayoutWeights(). Method in class java.awt.GridBagLayout
getLeading(). Method in class java.awt.FontMetrics
Gets the standard leading, or line spacing, for the font.
getLength(). Method in class java.net.DatagramPacket
getLineIncrement(). Method in class java.awt.Scrollbar
Gets the line increment for this scrollbar.
getLineNumber(). Method in class java.io.LineNumberInputStream
Returns the current line number.
getLineNumber(). Method in class sun.tools.debug.RemoteStackFrame
Return the source file line number.
getLocalHost(). Static method in class java.net.InetAddress
Returns the local host.
getLocalizedInputStream(InputStream). Method in class java.lang.Runtime
Localize an input stream.
getLocalizedOutputStream(OutputStream). Method in class java.lang.Runtime
Localize an output stream.
getLocalPort(). Method in class java.net.DatagramSocket
Returns the local port that this socket is bound to.
getLocalPort(). Method in class java.net.ServerSocket
Gets the port on which the socket is listening.
getLocalPort(). Method in class java.net.Socket
Gets the local port to which the socket is connected.
getLocalPort(). Method in class java.net.SocketImpl
getLocalVariable(String). Method in class sun.tools.debug.RemoteStackFrame
Return a specific (named) stack variable.
getLocalVariables(). Method in class sun.tools.debug.RemoteStackFrame
Return an array of all valid local variables and method arguments for this stack frame.
getLong(String). Static method in class java.lang.Long
Get a Long property.
getLong(String, Long). Static method in class java.lang.Long
Get a Long property.
getLong(String, long). Static method in class java.lang.Long
Get a Long property.
getMapSize(). Method in class java.awt.image.IndexColorModel
Returns the size of the color component arrays in this IndexColorModel.
getMaxAdvance(). Method in class java.awt.FontMetrics
Gets the maximum advance width of any character in this Font.
getMaxAscent(). Method in class java.awt.FontMetrics
Gets the maximum ascent of all characters in this Font.
getMaxDecent(). Method in class java.awt.FontMetrics
For backward compatibility only.
getMaxDescent(). Method in class java.awt.FontMetrics
Gets the maximum descent of all characters.
getMaximum(). Method in class java.awt.Scrollbar
Returns the maximum value of this Scrollbar.
getMaxPriority(). Method in class java.lang.ThreadGroup
Gets the maximum priority of the group.
getMenu(int). Method in class java.awt.MenuBar
Gets the specified menu.
getMenuBar(). Method in class java.awt.Frame
Gets the menu bar for this Frame.
getMessage(). Method in class java.lang.Throwable
Gets the detail message of the Throwable.
getMethod(String). Method in class sun.tools.debug.RemoteClass
Return the method, specified by name.
getMethodName(). Method in class sun.tools.debug.RemoteStackFrame
Get the method name referenced by this stackframe.
getMethodNames(). Method in class sun.tools.debug.RemoteClass
Return the names of all methods supported by this class.
getMethods(). Method in class sun.tools.debug.RemoteClass
Return the class's methods.
getMinimum(). Method in class java.awt.Scrollbar
Returns the minimum value of this Scrollbar.
GetMinSize(Container, GridBagLayoutInfo). Method in class java.awt.GridBagLayout
getMinutes(). Method in class java.util.Date
Returns the minute.
getMode(). Method in class java.awt.FileDialog
Gets the mode of the file dialog.
getModifiers(). Method in class sun.tools.debug.RemoteField
Returns a string with the field's modifiers, such as "public", "static", "final", etc.
getMonth(). Method in class java.util.Date
Returns the month.
getName(). Method in class java.lang.Class
Returns the name of this Class.
getName(). Method in class java.io.File
Gets the name of the file.
getName(). Method in class java.awt.Font
Gets the logical name of the font.
getName(). Method in class sun.tools.debug.RemoteClass
Returns the name of the class.
getName(). Method in class sun.tools.debug.RemoteField
Returns the name of the field.
getName(). Method in class sun.tools.debug.RemoteStackVariable
Return the name of a stack variable or argument.
getName(). Method in class sun.tools.debug.RemoteThread
Return the name of the thread.
getName(). Method in class sun.tools.debug.RemoteThreadGroup
Return the threadgroup's name.
getName(). Method in class java.lang.Thread
Gets and returns this Thread's name.
getName(). Method in class java.lang.ThreadGroup
Gets the name of this Thread group.
getOrientation(). Method in class java.awt.Scrollbar
Returns the orientation for this Scrollbar.
getOutputStream(). Method in class java.lang.Process
Returns a Stream connected to the input of the child process.
getOutputStream(). Method in class java.net.Socket
Gets an OutputStream for this socket.
getOutputStream(). Method in class java.net.SocketImpl
Gets an OutputStream for this socket.
getOutputStream(). Method in class java.net.URLConnection
Calls this routine to get an OutputStream that writes to the object.
getPageIncrement(). Method in class java.awt.Scrollbar
Gets the page increment for this scrollbar.
getParameter(String). Method in class java.applet.Applet
Gets a parameter of the applet.
getParameter(String). Method in interface java.applet.AppletStub
Gets a parameter of the applet.
getParameterInfo(). Method in class java.applet.Applet
Returns an array of strings describing the parameters that are understood by this applet.
getParent(). Method in class java.awt.Component
Gets the parent of the component.
getParent(). Method in class java.io.File
Gets the name of the parent directory.
getParent(). Method in class java.awt.MenuComponent
Returns the parent container.
getParent(). Method in class java.lang.ThreadGroup
Gets the parent of this Thread group.
getPath(). Method in class java.io.File
Gets the path of the file.
getPC(). Method in class sun.tools.debug.RemoteStackFrame
Get the program counter referenced by this stackframe.
getPeer(). Method in class java.awt.Component
Gets the peer of the component.
getPeer(). Method in class java.awt.MenuComponent
Gets the MenuComponent's peer.
getPixelSize(). Method in class java.awt.image.ColorModel
Returns the number of bits per pixel described by this ColorModel.
getPort(). Method in class java.net.DatagramPacket
getPort(). Method in class java.net.Socket
Gets the remote port to which the socket is connected.
getPort(). Method in class java.net.SocketImpl
getPort(). Method in class java.net.URL
Gets the port number.
getPriority(). Method in class java.lang.Thread
Gets and returns the Thread's priority.
getProperties(). Static method in class java.lang.System
Gets the System properties.
getProperty(String). Method in class java.util.Properties
Gets a property with the specified key.
getProperty(String). Static method in class java.lang.System
Gets the System property indicated by the specified key.
getProperty(String, ImageObserver). Method in class java.awt.Image
Gets a property of the image by name.
getProperty(String, String). Method in class java.util.Properties
Gets a property with the specified key and default.
getProperty(String, String). Static method in class java.lang.System
Gets the System property indicated by the specified key and def.
getProtocol(). Method in class java.net.URL
Gets the protocol name.
getRed(). Method in class java.awt.Color
Gets the red component.
getRed(int). Method in class java.awt.image.ColorModel
The subclass must provide a function which provides the red color compoment for the specified pixel.
getRed(int). Method in class java.awt.image.DirectColorModel
Returns the red color compoment for the specified pixel in the range 0-255.
getRed(int). Method in class java.awt.image.IndexColorModel
Returns the red color compoment for the specified pixel in the range 0-255.
getRedMask(). Method in class java.awt.image.DirectColorModel
Returns the mask indicating which bits in a pixel contain the red color component.
getReds(byte[]). Method in class java.awt.image.IndexColorModel
Copies the array of red color components into the given array.
getRef(). Method in class java.net.URL
Gets the ref.
getRemoteClass(). Method in class sun.tools.debug.RemoteStackFrame
Get the class this stackframe references.
getRequestProperty(String). Method in class java.net.URLConnection
getRGB(). Method in class java.awt.Color
Gets the RGB value representing the color in the default RGB ColorModel.
getRGB(int). Method in class java.awt.image.ColorModel
Returns the color of the pixel in the default RGB color model.
getRGB(int). Method in class java.awt.image.DirectColorModel
Returns the color of the pixel in the default RGB color model.
getRGB(int). Method in class java.awt.image.IndexColorModel
Returns the color of the pixel in the default RGB color model.
getRGBdefault(). Static method in class java.awt.image.ColorModel
Return a ColorModel which describes the default format for integer RGB values used throughout the AWT image interfaces.
getRows(). Method in class java.awt.List
Returns the number of visible lines in this list.
getRows(). Method in class java.awt.TextArea
Returns the number of rows in the TextArea.
getRuntime(). Static method in class java.lang.Runtime
Returns the runtime.
getScreenResolution(). Method in class java.awt.Toolkit
Returns the screen resolution in dots-per-inch.
getScreenSize(). Method in class java.awt.Toolkit
Gets the size of the screen.
getSeconds(). Method in class java.util.Date
Returns the second.
getSecurityContext(). Method in class java.lang.SecurityManager
Returns an implementation-dependent Object which encapsulates enough information about the current execution environment to perform some of the security checks later.
getSecurityManager(). Static method in class java.lang.System
Gets the system security interface.
getSelectedIndex(). Method in class java.awt.Choice
Returns the index of the currently selected item.
getSelectedIndex(). Method in class java.awt.List
Get the selected item on the list or -1 if no item is selected.
getSelectedIndexes(). Method in class java.awt.List
Returns the selected indexes on the list.
getSelectedIndexes(). Method in interface java.awt.peer.ListPeer
getSelectedItem(). Method in class java.awt.Choice
Returns a String representation of the current choice.
getSelectedItem(). Method in class java.awt.List
Returns the selected item on the list or null if no item is selected.
getSelectedItems(). Method in class java.awt.List
Returns the selected items on the list.
getSelectedText(). Method in class java.awt.TextComponent
Returns the selected text contained in this TextComponent.
getSelectionEnd(). Method in class java.awt.TextComponent
Returns the selected text's end position.
getSelectionEnd(). Method in interface java.awt.peer.TextComponentPeer
getSelectionStart(). Method in class java.awt.TextComponent
Returns the selected text's start position.
getSelectionStart(). Method in interface java.awt.peer.TextComponentPeer
getSize(). Method in class java.awt.Font
Gets the point size of the font.
getSize(). Method in class sun.tools.debug.RemoteArray
Return the number of elements in the array.
getSource(). Method in class java.awt.Image
Gets the object that produces the pixels for the image.
getSourceFile(). Method in class sun.tools.debug.RemoteClass
Get the source file referenced by this stackframe.
getSourceFileName(). Method in class sun.tools.debug.RemoteClass
Get the name of the source file referenced by this stackframe.
getSourcePath(). Method in class sun.tools.debug.RemoteDebugger
Return the source file path the Agent is currently using.
getStackVariable(String). Method in class sun.tools.debug.RemoteThread
Return a stack variable from the current stackframe.
getStackVariables(). Method in class sun.tools.debug.RemoteThread
Return the arguments and local variable from the current stackframe.
getState(). Method in class java.awt.Checkbox
Returns the boolean state of the Checkbox.
getState(). Method in class java.awt.CheckboxMenuItem
Returns the state of this MenuItem.
getStaticFields(). Method in class sun.tools.debug.RemoteClass
Return all the static fields for this class.
getStatus(). Method in class sun.tools.debug.RemoteThread
Return the thread status description
getStyle(). Method in class java.awt.Font
Gets the style of the font.
getSuperclass(). Method in class java.lang.Class
Returns the superclass of this Class.
getSuperclass(). Method in class sun.tools.debug.RemoteClass
Return the superclass for this class.
getText(). Method in class java.awt.Label
Gets the text of this label.
getText(). Method in class java.awt.TextComponent
Returns the text contained in this TextComponent.
getText(). Method in interface java.awt.peer.TextComponentPeer
getThreadGroup(). Method in class java.lang.Thread
Gets and returns this Thread group.
getTime(). Method in class java.util.Date
Returns the time in milliseconds since the epoch.
getTimezoneOffset(). Method in class java.util.Date
Return the time zone offset in minutes for the current locale that is appropriate for this time.
getTitle(). Method in class java.awt.Dialog
Gets the title of the Dialog.
getTitle(). Method in class java.awt.Frame
Gets the title of the Frame.
getToolkit(). Method in class java.awt.Component
Gets the toolkit of the component.
getToolkit(). Method in interface java.awt.peer.ComponentPeer
getToolkit(). Method in class java.awt.Window
Returns the toolkit of this frame.
getTransparentPixel(). Method in class java.awt.image.IndexColorModel
Returns the index of the transparent pixel in this IndexColorModel or -1 if there is no transparent pixel.
getType(). Method in class sun.tools.debug.RemoteField
Returns a type string describing the field.
getType(). Method in class sun.tools.debug.RemoteValue
Returns the RemoteValue's type.
getURL(). Method in class java.net.URLConnection
Gets the URL for this connection.
getUseCaches(). Method in class java.net.URLConnection
getValue(). Method in class sun.tools.debug.RemoteStackVariable
Return the value of a stack variable or argument.
getValue(). Method in class java.awt.Scrollbar
Returns the current value of this Scrollbar.
getVisible(). Method in class java.awt.Scrollbar
Returns the visible amount of the Scrollbar.
getVisibleIndex(). Method in class java.awt.List
Gets the index of the item that was last made visible by the method makeVisible.
getWarningString(). Method in class java.awt.Window
Gets the warning string for this window.
getWidth(ImageObserver). Method in class java.awt.Image
Gets the actual width of the image.
getWidths(). Method in class java.awt.FontMetrics
Gets the widths of the first 256 characters in the Font.
getYear(). Method in class java.util.Date
Returns the year after 1900.
GOT_FOCUS. Static variable in class java.awt.Event
A component gained the focus.
gotFocus(Event, Object). Method in class java.awt.Component
Indicates that this component has received the input focus.
grabPixels(). Method in class java.awt.image.PixelGrabber
Request the Image or ImageProducer to start delivering pixels and wait for all of the pixels in the rectangle of interest to be delivered.
grabPixels(long). Method in class java.awt.image.PixelGrabber
Request the Image or ImageProducer to start delivering pixels and wait for all of the pixels in the rectangle of interest to be delivered or until the specified timeout has elapsed.
Graphics(). Constructor for class java.awt.Graphics
Constructs a new Graphics Object.
gray. Static variable in class java.awt.Color
The color gray.
green. Static variable in class java.awt.Color
The color green.
GridBagConstraints(). Constructor for class java.awt.GridBagConstraints
GridBagLayout(). Constructor for class java.awt.GridBagLayout
Creates a gridbag layout.
gridheight. Variable in class java.awt.GridBagConstraints
GridLayout(int, int). Constructor for class java.awt.GridLayout
Creates a grid layout with the specified rows and columns.
GridLayout(int, int, int, int). Constructor for class java.awt.GridLayout
Creates a grid layout with the specified rows, columns, horizontal gap, and vertical gap.
gridwidth. Variable in class java.awt.GridBagConstraints
gridx. Variable in class java.awt.GridBagConstraints
gridy. Variable in class java.awt.GridBagConstraints
grow(int, int). Method in class java.awt.Rectangle
Grows the rectangle horizontally and vertically.
guessContentTypeFromName(String). Static method in class java.net.URLConnection
A useful utility routine that tries to guess the content-type of an object based upon its extension.
guessContentTypeFromStream(InputStream). Static method in class java.net.URLConnection
This method is used to check for files that have some type that can be determined by inspection.