站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

Uses of Class java.lang.Integer (Java 2 Platform SE 5.0) - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
java.lang.Integer

Packages that use Integer
java.awt.font Provides classes and interface relating to fonts. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
javax.management Provides the core classes for the Java Management Extensions. 
javax.management.relation Provides the definition of the Relation Service. 
javax.management.remote Interfaces for remote access to JMX MBean servers. 
javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server. 
javax.management.timer Provides the definition of the Timer MBean. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of Integer in java.awt.font
 

Fields in java.awt.font declared as Integer
static Integer TextAttribute.SUPERSCRIPT_SUB
          Standard subscript.
static Integer TextAttribute.SUPERSCRIPT_SUPER
          Standard superscript.
static Integer TextAttribute.UNDERLINE_LOW_DASHED
          Single pixel dashed low underline.
static Integer TextAttribute.UNDERLINE_LOW_DOTTED
          Single pixel dotted low underline.
static Integer TextAttribute.UNDERLINE_LOW_GRAY
          Double pixel gray low underline.
static Integer TextAttribute.UNDERLINE_LOW_ONE_PIXEL
          Single pixel solid low underline.
static Integer TextAttribute.UNDERLINE_LOW_TWO_PIXEL
          Double pixel solid low underline.
static Integer TextAttribute.UNDERLINE_ON
          Standard underline at the roman baseline for roman text, and below the decenders for other text.
 

Uses of Integer in java.lang
 

Fields in java.lang with type parameters of type Integer
static Class<Integer> Integer.TYPE
          The Class instance representing the primitive type int.
 

Methods in java.lang that return Integer
static Integer Integer.decode(String nm)
          Decodes a String into an Integer.
static Integer Integer.getInteger(String nm)
          Determines the integer value of the system property with the specified name.
static Integer Integer.getInteger(String nm, int val)
          Determines the integer value of the system property with the specified name.
static Integer Integer.getInteger(String nm, Integer val)
          Returns the integer value of the system property with the specified name.
static Integer Integer.valueOf(int i)
          Returns a Integer instance representing the specified int value.
static Integer Integer.valueOf(String s)
          Returns an Integer object holding the value of the specified String.
static Integer Integer.valueOf(String s, int radix)
          Returns an Integer object holding the value extracted from the specified String when parsed with the radix given by the second argument.
 

Methods in java.lang with parameters of type Integer
 int Integer.compareTo(Integer anotherInteger)
          Compares two Integer objects numerically.
static Integer Integer.getInteger(String nm, Integer val)
          Returns the integer value of the system property with the specified name.
 

Uses of Integer in javax.management
 

Methods in javax.management that return Integer
 Integer MBeanServer.getMBeanCount()
          Returns the number of MBeans registered in the MBean server.
 Integer MBeanServerConnection.getMBeanCount()
          Returns the number of MBeans registered in the MBean server.
 

Uses of Integer in javax.management.relation
 

Methods in javax.management.relation that return Integer
 Integer RelationService.checkRoleReading(String theRoleName, String theRelTypeName)
          Checks if given Role can be read in a relation of the given type.
 Integer RelationServiceMBean.checkRoleReading(String theRoleName, String theRelTypeName)
          Checks if given Role can be read in a relation of the given type.
 Integer RelationService.checkRoleWriting(Role theRole, String theRelTypeName, Boolean theInitFlg)
          Checks if given Role can be set in a relation of given type.
 Integer RelationServiceMBean.checkRoleWriting(Role theRole, String theRelTypeName, Boolean theInitFlg)
          Checks if given Role can be set in a relation of given type.
 Integer RelationSupport.getRoleCardinality(String theRoleName)
          Returns the number of MBeans currently referenced in the given role.
 Integer Relation.getRoleCardinality(String theRoleName)
          Returns the number of MBeans currently referenced in the given role.
 Integer RelationService.getRoleCardinality(String theRelId, String theRoleName)
          Retrieves the number of MBeans currently referenced in the given role.
 Integer RelationServiceMBean.getRoleCardinality(String theRelId, String theRoleName)
          Retrieves the number of MBeans currently referenced in the given role.
 

Uses of Integer in javax.management.remote
 

Methods in javax.management.remote that return Integer
 Integer TargetedNotification.getListenerID()
          The ID of the listener to which the notification is targeted.
 

Constructors in javax.management.remote with parameters of type Integer
TargetedNotification(Notification notification, Integer listenerID)
          Constructs a TargetedNotification object.
 

Uses of Integer in javax.management.remote.rmi
 

Methods in javax.management.remote.rmi that return Integer
 Integer[] RMIConnectionImpl_Stub.addNotificationListeners(ObjectName[] $param_arrayOf_ObjectName_1, MarshalledObject[] $param_arrayOf_MarshalledObject_2, Subject[] $param_arrayOf_Subject_3)
           
 Integer[] RMIConnectionImpl.addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)
           
 Integer[] RMIConnection.addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)
          Handles the method MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object).
 Integer RMIConnectionImpl_Stub.getMBeanCount(Subject $param_Subject_1)
           
 Integer RMIConnectionImpl.getMBeanCount(Subject delegationSubject)
           
 Integer RMIConnection.getMBeanCount(Subject delegationSubject)
          Handles the method MBeanServerConnection.getMBeanCount().
 

Methods in javax.management.remote.rmi with parameters of type Integer
 void RMIConnectionImpl_Stub.removeNotificationListeners(ObjectName $param_ObjectName_1, Integer[] $param_arrayOf_Integer_2, Subject $param_Subject_3)
           
 void RMIConnectionImpl.removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject)
           
 void RMIConnection.removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject)
          Handles the removeNotificationListener(ObjectName, NotificationListener) and removeNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object) methods.
 

Uses of Integer in javax.management.timer
 

Methods in javax.management.timer that return Integer
 Integer TimerMBean.addNotification(String type, String message, Object userData, Date date)
          Creates a new timer notification with the specified type, message and userData and inserts it into the list of notifications with a given date and a null period and number of occurrences.
 Integer Timer.addNotification(String type, String message, Object userData, Date date)
          Creates a new timer notification with the specified type, message and userData and inserts it into the list of notifications with a given date and a null period and number of occurrences.
 Integer TimerMBean.addNotification(String type, String message, Object userData, Date date, long period)
          Creates a new timer notification with the specified type, message and userData and inserts it into the list of notifications with a given date and period and a null number of occurrences.
 Integer Timer.addNotification(String type, String message, Object userData, Date date, long period)
          Creates a new timer notification with the specified type, message and userData and inserts it into the list of notifications with a given date and period and a null number of occurrences.
 Integer TimerMBean.addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences)
          Creates a new timer notification with the specified type, message and userData and inserts it into the list of notifications with a given date, period and number of occurrences.
 Integer Timer.addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences)
          Creates a new timer notification with the specified type, message and userData and inserts it into the list of notifications with a given date, period and number of occurrences.
 Integer TimerMBean.addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate)
          Creates a new timer notification with the specified type, message and userData and inserts it into the list of notifications with a given date, period and number of occurrences.
 Integer Timer.addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate)
          Creates a new timer notification with the specified type, message and userData and inserts it into the list of notifications with a given date, period and number of occurrences.
 Integer TimerNotification.getNotificationID()
          Gets the identifier of this timer notification.
 

Methods in javax.management.timer with parameters of type Integer
 Date TimerMBean.getDate(Integer id)
          Gets a copy of the date associated to a timer notification.
 Date Timer.getDate(Integer id)
          Gets a copy of the date associated to a timer notification.
 Boolean TimerMBean.getFixedRate(Integer id)
          Gets a copy of the flag indicating whether a periodic notification is executed at fixed-delay or at fixed-rate.
 Boolean Timer.getFixedRate(Integer id)
          Gets a copy of the flag indicating whether a periodic notification is executed at fixed-delay or at fixed-rate.
 Long TimerMBean.getNbOccurences(Integer id)
          Gets a copy of the remaining number of occurrences associated to a timer notification.
 Long Timer.getNbOccurences(Integer id)
          Gets a copy of the remaining number of occurrences associated to a timer notification.
 String TimerMBean.getNotificationMessage(Integer id)
          Gets the timer notification detailed message corresponding to the specified identifier.
 String Timer.getNotificationMessage(Integer id)
          Gets the timer notification detailed message corresponding to the specified identifier.
 String TimerMBean.getNotificationType(Integer id)
          Gets the timer notification type corresponding to the specified identifier.
 String Timer.getNotificationType(Integer id)
          Gets the timer notification type corresponding to the specified identifier.
 Object TimerMBean.getNotificationUserData(Integer id)
          Gets the timer notification user data object corresponding to the specified identifier.
 Object Timer.getNotificationUserData(Integer id)
          Gets the timer notification user data object corresponding to the specified identifier.
 Long TimerMBean.getPeriod(Integer id)
          Gets a copy of the period (in milliseconds) associated to a timer notification.
 Long Timer.getPeriod(Integer id)
          Gets a copy of the period (in milliseconds) associated to a timer notification.
 void TimerMBean.removeNotification(Integer id)
          Removes the timer notification corresponding to the specified identifier from the list of notifications.
 void Timer.removeNotification(Integer id)
          Removes the timer notification corresponding to the specified identifier from the list of notifications.
 

Constructors in javax.management.timer with parameters of type Integer
TimerNotification(String type, Object source, long sequenceNumber, long timeStamp, String msg, Integer id)
          Creates a timer notification object.
 

Uses of Integer in javax.swing
 

Fields in javax.swing declared as Integer
static Integer JLayeredPane.DEFAULT_LAYER
          Convenience object defining the Default layer.
static Integer JLayeredPane.DRAG_LAYER
          Convenience object defining the Drag layer.
static Integer JLayeredPane.FRAME_CONTENT_LAYER
          Convenience object defining the Frame Content layer.
static Integer JLayeredPane.MODAL_LAYER
          Convenience object defining the Modal layer.
static Integer JLayeredPane.PALETTE_LAYER
          Convenience object defining the Palette layer.
static Integer JLayeredPane.POPUP_LAYER
          Convenience object defining the Popup layer.
 

Methods in javax.swing that return Integer
protected  Integer JLayeredPane.getObjectForLayer(int layer)
          Returns the Integer object associated with a specified layer.
 

Methods in javax.swing that return types with arguments of type Integer
protected  Hashtable<Component,Integer> JLayeredPane.getComponentToLayer()
          Returns the hashtable that maps components to layers.
 

Methods in javax.swing with parameters of type Integer
 void JInternalFrame.setLayer(Integer layer)
          Convenience method for setting the layer attribute of this component.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.