net.jini.lookup.entry
Class ServiceType

java.lang.Object
  |
  +--net.jini.entry.AbstractEntry
        |
        +--net.jini.lookup.entry.ServiceType

public abstract class ServiceType
extends AbstractEntry
implements ServiceControlled

Human-oriented information about the "type" of a service. This is not related to its data or class types, and is more oriented towards allowing someone to determine what a service (for example, a printer) does and that it is similar to another, without needing to know anything about data or class types for the Java platform.

See Also:
Serialized Form

Constructor Summary
ServiceType()
          Instantiate this class.
 
Method Summary
 java.lang.String getDisplayName()
          Return the localized display name of this service.
 java.awt.Image getIcon(int iconKind)
          Get an icon for this service.
 java.lang.String getShortDescription()
          Return a localized short description of this service.
 
Methods inherited from class net.jini.entry.AbstractEntry
equals, equals, hashCode, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceType

public ServiceType()
Instantiate this class.
Method Detail

getIcon

public java.awt.Image getIcon(int iconKind)
Get an icon for this service. This icon may be localized where appropriate. The valid parameter values are the same as for the getIcon method of java.beans.BeanInfo.
Parameters:
iconKind - the kind of icon to return

getDisplayName

public java.lang.String getDisplayName()
Return the localized display name of this service.

getShortDescription

public java.lang.String getShortDescription()
Return a localized short description of this service.


Copyright © 1999 Sun Microsystems, Inc. All rights reserved