Uses of Class
java.util.Hashtable
Packages that useHashtable Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.image Provides classes for creating and modifying images.java.security Provides the classes and interfaces for the security framework.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.javax.management Provides the core classes for the Java Management Extensions.javax.naming Provides the classes and interfaces for accessing naming services.javax.naming.directory Extends thejavax.namingpackage to provide functionalityfor accessing 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 accessingnaming and directory services through thejavax.namingand related packages.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.plaf.basic Provides user interface objects built according to the Basic look and feel.javax.swing.text.html.parser Provides the default HTML parser, along with support classes.javax.swing.undo Allows developers to provide support for undo/redo in applications such as text editors.Uses ofHashtable injava.awt
Fields injava.awt declared asHashtable Modifier and Type Field Description protectedHashtable<Component,GridBagConstraints>GridBagLayout. comptableThis hashtable maintains the association between a component and its gridbag constraints.Uses ofHashtable injava.awt.image
Methods injava.awt.image with parameters of typeHashtable Modifier and Type Method Description voidCropImageFilter. setProperties(Hashtable<?,?> props)Passes along the properties from the source object after adding a property indicating the cropped region.voidImageConsumer. setProperties(Hashtable<?,?> props)Sets the extensible list of properties associated with this image.voidImageFilter. setProperties(Hashtable<?,?> props)Passes the properties from the source object along after adding a property indicating the stream of filters it has been run through.voidPixelGrabber. setProperties(Hashtable<?,?> props)The setProperties method is part of the ImageConsumer API which this class must implement to retrieve the pixels.voidReplicateScaleFilter. setProperties(Hashtable<?,?> props)Passes along the properties from the source object after adding a property indicating the scale applied.Constructors injava.awt.image with parameters of typeHashtable Constructor Description BufferedImage(ColorModel cm,WritableRaster raster, boolean isRasterPremultiplied,Hashtable<?,?> properties)Constructs a newBufferedImagewith a specifiedColorModelandRaster.MemoryImageSource(int w, int h, int[] pix, int off, int scan,Hashtable<?,?> props)Constructs an ImageProducer object which uses an array of integers in the default RGB ColorModel to produce data for an Image object.MemoryImageSource(int w, int h,ColorModel cm, byte[] pix, int off, int scan,Hashtable<?,?> props)Constructs an ImageProducer object which uses an array of bytes to produce data for an Image object.MemoryImageSource(int w, int h,ColorModel cm, int[] pix, int off, int scan,Hashtable<?,?> props)Constructs an ImageProducer object which uses an array of integers to produce data for an Image object.Uses ofHashtable injava.security
Subclasses ofHashtable injava.security Modifier and Type Class Description classAuthProviderThis class defines login and logout methods for a provider.classProviderThis class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security.Uses ofHashtable injava.util
Subclasses ofHashtable injava.util Modifier and Type Class Description classPropertiesThePropertiesclass represents a persistent set of properties.Uses ofHashtable injavax.management
Methods injavax.management that returnHashtable Modifier and Type Method Description Hashtable<String,String>ObjectName. getKeyPropertyList()Returns the key properties as a Hashtable.Methods injavax.management with parameters of typeHashtable Modifier and Type Method Description staticObjectNameObjectName. getInstance(String domain,Hashtable<String,String> table)Return an instance of ObjectName that can be used anywhere an object obtained withnew ObjectName(domain, table)can be used.Constructors injavax.management with parameters of typeHashtable Constructor Description ObjectName(String domain,Hashtable<String,String> table)Construct an object name with several key properties from a Hashtable.Uses ofHashtable injavax.naming
Fields injavax.naming declared asHashtable Modifier and Type Field Description protectedHashtable<?,?>CannotProceedException. environmentContains the environment relevant for the Context or DirContext method that cannot proceed.protectedHashtable<Object,Object>InitialContext. myPropsThe environment associated with this InitialContext.Methods injavax.naming that returnHashtable Modifier and Type Method Description Hashtable<?,?>CannotProceedException. getEnvironment()Retrieves the environment that was in effect when this exception was created.Hashtable<?,?>Context. getEnvironment()Retrieves the environment in effect for this context.Methods injavax.naming with parameters of typeHashtable Modifier and Type Method Description abstractContextReferralException. getReferralContext(Hashtable<?,?> env)Retrieves the context at which to continue the method using environment properties.protected voidInitialContext. init(Hashtable<?,?> environment)Initializes the initial context using the supplied environment.voidCannotProceedException. setEnvironment(Hashtable<?,?> environment)Sets the environment that will be returned when getEnvironment() is called.Constructors injavax.naming with parameters of typeHashtable Constructor Description InitialContext(Hashtable<?,?> environment)Constructs an initial context using the supplied environment.Uses ofHashtable injavax.naming.directory
Constructors injavax.naming.directory with parameters of typeHashtable Constructor Description InitialDirContext(Hashtable<?,?> environment)Constructs an initial DirContext using the supplied environment.Uses ofHashtable injavax.naming.ldap
Methods injavax.naming.ldap with parameters of typeHashtable Modifier and Type Method Description staticControlControlFactory. getControlInstance(Control ctl,Context ctx,Hashtable<?,?> env)Creates a control using known control factories.abstractContextLdapReferralException. getReferralContext(Hashtable<?,?> env)Retrieves the context at which to continue the method using environment properties and no controls.abstractContextLdapReferralException. getReferralContext(Hashtable<?,?> env,Control[] reqCtls)Retrieves the context at which to continue the method using request controls and environment properties.Constructors injavax.naming.ldap with parameters of typeHashtable Constructor Description InitialLdapContext(Hashtable<?,?> environment,Control[] connCtls)Constructs an initial context using environment properties and connection request controls.Uses ofHashtable injavax.naming.spi
Methods injavax.naming.spi with parameters of typeHashtable Modifier and Type Method Description InitialContextFactoryInitialContextFactoryBuilder. createInitialContextFactory(Hashtable<?,?> environment)Creates an initial context factory using the specified environment.ObjectFactoryObjectFactoryBuilder. createObjectFactory(Object obj,Hashtable<?,?> environment)Creates a new object factory using the environment supplied.ContextInitialContextFactory. getInitialContext(Hashtable<?,?> environment)Creates an Initial Context for beginning name resolution.staticContextNamingManager. getInitialContext(Hashtable<?,?> env)Creates an initial context using the specified environment properties.staticObjectDirectoryManager. getObjectInstance(Object refInfo,Name name,Context nameCtx,Hashtable<?,?> environment,Attributes attrs)Creates an instance of an object for the specified object, attributes, and environment.ObjectDirObjectFactory. getObjectInstance(Object obj,Name name,Context nameCtx,Hashtable<?,?> environment,Attributes attrs)Creates an object using the location or reference information, and attributes specified.staticObjectNamingManager. getObjectInstance(Object refInfo,Name name,Context nameCtx,Hashtable<?,?> environment)Creates an instance of an object for the specified object and environment.ObjectObjectFactory. getObjectInstance(Object obj,Name name,Context nameCtx,Hashtable<?,?> environment)Creates an object using the location or reference information specified.staticDirStateFactory.ResultDirectoryManager. getStateToBind(Object obj,Name name,Context nameCtx,Hashtable<?,?> environment,Attributes attrs)Retrieves the state of an object for binding when given the original object and its attributes.DirStateFactory.ResultDirStateFactory. getStateToBind(Object obj,Name name,Context nameCtx,Hashtable<?,?> environment,Attributes inAttrs)Retrieves the state of an object for binding given the object and attributes to be transformed.staticObjectNamingManager. getStateToBind(Object obj,Name name,Context nameCtx,Hashtable<?,?> environment)Retrieves the state of an object for binding.ObjectStateFactory. getStateToBind(Object obj,Name name,Context nameCtx,Hashtable<?,?> environment)Retrieves the state of an object for binding.staticContextNamingManager. getURLContext(String scheme,Hashtable<?,?> environment)Creates a context for the given URL scheme id.Uses ofHashtable injavax.swing
Subclasses ofHashtable injavax.swing Modifier and Type Class Description classUIDefaultsA table of defaults for Swing components.Fields injavax.swing declared asHashtable Modifier and Type Field Description protectedHashtable<Object,Object>JTable. defaultEditorsByColumnClassA table of objects that display and edit the contents of a cell, indexed by class as declared ingetColumnClassin theTableModelinterface.protectedHashtable<Object,Object>JTable. defaultRenderersByColumnClassA table of objects that display the contents of a cell, indexed by class as declared ingetColumnClassin theTableModelinterface.Methods injavax.swing that returnHashtable Modifier and Type Method Description Hashtable<Integer,JComponent>JSlider. createStandardLabels(int increment)Creates aHashtableof numerical text labels, starting at the slider minimum, and using the increment specified.Hashtable<Integer,JComponent>JSlider. createStandardLabels(int increment, int start)Creates aHashtableof numerical text labels, starting at the starting point specified, and using the increment specified.protectedHashtable<Component,Integer>JLayeredPane. getComponentToLayer()Returns the hashtable that maps components to layers.Constructors injavax.swing with parameters of typeHashtable Constructor Description JTree(Hashtable<?,?> value)Returns aJTreecreated from aHashtablewhich does not display with root.Uses ofHashtable injavax.swing.plaf.basic
Fields injavax.swing.plaf.basic declared asHashtable Modifier and Type Field Description protectedHashtable<TreePath,Boolean>BasicTreeUI. drawingCacheUsed for minimizing the drawing of vertical lines.protectedHashtable<File,Icon>BasicFileChooserUI.BasicFileView. iconCacheThe icon cacheUses ofHashtable injavax.swing.text.html.parser
Fields injavax.swing.text.html.parser declared asHashtable Modifier and Type Field Description Hashtable<String,Element>DTD. elementHashThe hash table contains the name of element and the corresponding element.Hashtable<Object,Entity>DTD. entityHashThe hash table contains anObjectand the correspondingEntityUses ofHashtable injavax.swing.undo
Fields injavax.swing.undo declared asHashtable Modifier and Type Field Description protectedHashtable<Object,Object>StateEdit. postStateThe state information after the editprotectedHashtable<Object,Object>StateEdit. preStateThe state information prior to the editMethods injavax.swing.undo with parameters of typeHashtable Modifier and Type Method Description voidStateEditable. restoreState(Hashtable<?,?> state)Upon receiving this message the receiver should extract any relevant state out ofstate.voidStateEditable. storeState(Hashtable<Object,Object> state)Upon receiving this message the receiver should place any relevant state intostate.