Uses of Class
java.lang.Integer
-
Packages that use Integer Package Description com.sun.nio.sctp A Java API for Stream Control Transport Protocol.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.java.net Provides the classes for implementing networking applications.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.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java™ programming language.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.java.util.spi Service provider classes for the classes in the java.util package.java.util.stream Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.javafx.beans.binding Provides classes that create and operate on aBinding
that calculates a value that depends on one or more sources.javafx.beans.property The packagejavafx.beans.property
defines read-only properties and writable properties, plus a number of implementations.javafx.css Provides API for making properties styleable via CSS and for supporting pseudo-class state.javafx.scene.control The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts.javafx.scene.control.cell Thejavafx.scene.control.cell
package is where all cell-related classes are located, other than the core classes such asCell
,IndexedCell
,ListCell
,TreeCell
, andTableCell
.javafx.scene.layout Provides classes to support user interface layout.javax.imageio.plugins.tiff Public classes used by the built-in TIFF plug-ins.javax.management Provides the core classes for the Java Management Extensions.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.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.script The scripting API consists of interfaces and classes that define Java™ Scripting Engines and provides a framework for their use in Java applications.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.jdk.jshell Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code. -
-
Uses of Integer in com.sun.nio.sctp
Fields in com.sun.nio.sctp with type parameters of type Integer Modifier and Type Field Description static SctpSocketOption<Integer>
SctpStandardSocketOptions. SCTP_FRAGMENT_INTERLEAVE
Fragmented interleave controls how the presentation of messages occur for the message receiver.static SctpSocketOption<Integer>
SctpStandardSocketOptions. SO_LINGER
Linger on close if data is present.static SctpSocketOption<Integer>
SctpStandardSocketOptions. SO_RCVBUF
The size of the socket receive buffer.static SctpSocketOption<Integer>
SctpStandardSocketOptions. SO_SNDBUF
The size of the socket send buffer. -
Uses of Integer in java.awt.font
Fields in java.awt.font declared as Integer Modifier and Type Field Description static Integer
TextAttribute. KERNING_ON
Request standard kerning.static Integer
TextAttribute. LIGATURES_ON
Request standard optional ligatures.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. -
Uses of Integer in java.lang
Fields in java.lang with type parameters of type Integer Modifier and Type Field Description static Class<Integer>
Integer. TYPE
TheClass
instance representing the primitive typeint
.Methods in java.lang that return Integer Modifier and Type Method Description static Integer
Integer. decode(String nm)
Decodes aString
into anInteger
.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 anInteger
instance representing the specifiedint
value.static Integer
Integer. valueOf(String s)
Returns anInteger
object holding the value of the specifiedString
.static Integer
Integer. valueOf(String s, int radix)
Returns anInteger
object holding the value extracted from the specifiedString
when parsed with the radix given by the second argument.Methods in java.lang that return types with arguments of type Integer Modifier and Type Method Description Optional<Integer>
Runtime.Version. build()
Returns the build number.List<Integer>
Runtime.Version. version()
Returns an unmodifiableList
of the integers represented in the version number.Methods in java.lang with parameters of type Integer Modifier and Type Method Description int
Integer. compareTo(Integer anotherInteger)
Compares twoInteger
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 java.net
Fields in java.net with type parameters of type Integer Modifier and Type Field Description static SocketOption<Integer>
StandardSocketOptions. IP_MULTICAST_TTL
The time-to-live for Internet Protocol (IP) multicast datagrams.static SocketOption<Integer>
StandardSocketOptions. IP_TOS
The Type of Service (ToS) octet in the Internet Protocol (IP) header.static SocketOption<Integer>
StandardSocketOptions. SO_LINGER
Linger on close if data is present.static SocketOption<Integer>
StandardSocketOptions. SO_RCVBUF
The size of the socket receive buffer.static SocketOption<Integer>
StandardSocketOptions. SO_SNDBUF
The size of the socket send buffer. -
Uses of Integer in java.nio.channels
Methods in java.nio.channels that return types with arguments of type Integer Modifier and Type Method Description Future<Integer>
AsynchronousByteChannel. read(ByteBuffer dst)
Reads a sequence of bytes from this channel into the given buffer.abstract Future<Integer>
AsynchronousFileChannel. read(ByteBuffer dst, long position)
Reads a sequence of bytes from this channel into the given buffer, starting at the given file position.abstract Future<Integer>
AsynchronousSocketChannel. read(ByteBuffer dst)
Future<Integer>
AsynchronousByteChannel. write(ByteBuffer src)
Writes a sequence of bytes to this channel from the given buffer.abstract Future<Integer>
AsynchronousFileChannel. write(ByteBuffer src, long position)
Writes a sequence of bytes to this channel from the given buffer, starting at the given file position.abstract Future<Integer>
AsynchronousSocketChannel. write(ByteBuffer src)
Method parameters in java.nio.channels with type arguments of type Integer Modifier and Type Method Description <A> void
AsynchronousByteChannel. read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler)
Reads a sequence of bytes from this channel into the given buffer.abstract <A> void
AsynchronousFileChannel. read(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler)
Reads a sequence of bytes from this channel into the given buffer, starting at the given file position.abstract <A> void
AsynchronousSocketChannel. read(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
Reads a sequence of bytes from this channel into the given buffer.<A> void
AsynchronousSocketChannel. read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler)
<A> void
AsynchronousByteChannel. write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler)
Writes a sequence of bytes to this channel from the given buffer.abstract <A> void
AsynchronousFileChannel. write(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler)
Writes a sequence of bytes to this channel from the given buffer, starting at the given file position.abstract <A> void
AsynchronousSocketChannel. write(ByteBuffer src, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
Writes a sequence of bytes to this channel from the given buffer.<A> void
AsynchronousSocketChannel. write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler)
-
Uses of Integer in java.sql
Methods in java.sql that return Integer Modifier and Type Method Description Integer
JDBCType. getVendorTypeNumber()
Returns the vendor specific type number for the data type.Integer
SQLType. getVendorTypeNumber()
Returns the vendor specific type number for the data type. -
Uses of Integer in java.util
Methods in java.util that return Integer Modifier and Type Method Description default Integer
PrimitiveIterator.OfInt. next()
Returns the next element in the iteration.Methods in java.util that return types with arguments of type Integer Modifier and Type Method Description Map<String,Integer>
Calendar. getDisplayNames(int field, int style, Locale locale)
Returns aMap
containing all names of the calendarfield
in the givenstyle
andlocale
and their corresponding field values.Method parameters in java.util with type arguments of type Integer Modifier and Type Method Description default void
PrimitiveIterator.OfInt. forEachRemaining(Consumer<? super Integer> action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception.default void
Spliterator.OfInt. forEachRemaining(Consumer<? super Integer> action)
Performs the given action for each remaining element, sequentially in the current thread, until all elements have been processed or the action throws an exception.default boolean
Spliterator.OfInt. tryAdvance(Consumer<? super Integer> action)
If a remaining element exists, performs the given action on it, returningtrue
; else returnsfalse
. -
Uses of Integer in java.util.spi
Methods in java.util.spi that return types with arguments of type Integer Modifier and Type Method Description abstract Map<String,Integer>
CalendarNameProvider. getDisplayNames(String calendarType, int field, int style, Locale locale)
Returns aMap
containing all string representations (display names) of theCalendar
field
in the givenstyle
andlocale
and their corresponding field values. -
Uses of Integer in java.util.stream
Methods in java.util.stream that return types with arguments of type Integer Modifier and Type Method Description Stream<Integer>
IntStream. boxed()
Returns aStream
consisting of the elements of this stream, each boxed to anInteger
.static <T> Collector<T,?,Integer>
Collectors. summingInt(ToIntFunction<? super T> mapper)
Returns aCollector
that produces the sum of a integer-valued function applied to the input elements. -
Uses of Integer in javafx.beans.binding
Methods in javafx.beans.binding that return types with arguments of type Integer Modifier and Type Method Description ObjectExpression<Integer>
IntegerExpression. asObject()
Creates anObjectExpression
that holds the value of thisIntegerExpression
.Method parameters in javafx.beans.binding with type arguments of type Integer Modifier and Type Method Description static IntegerBinding
Bindings. createIntegerBinding(Callable<Integer> func, Observable... dependencies)
Helper function to create a customIntegerBinding
. -
Uses of Integer in javafx.beans.property
Methods in javafx.beans.property that return types with arguments of type Integer Modifier and Type Method Description ObjectProperty<Integer>
IntegerProperty. asObject()
Creates anObjectProperty
that bidirectionally bound to thisIntegerProperty
.ReadOnlyObjectProperty<Integer>
ReadOnlyIntegerProperty. asObject()
Creates aReadOnlyObjectProperty
that holds the value of thisReadOnlyIntegerProperty
.Method parameters in javafx.beans.property with type arguments of type Integer Modifier and Type Method Description static IntegerProperty
IntegerProperty. integerProperty(Property<Integer> property)
Returns aIntegerProperty
that wraps aProperty
and is bidirectionally bound to it. -
Uses of Integer in javafx.css
Constructors in javafx.css with parameters of type Integer Constructor Description SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Integer initialValue)
The constructor of theSimpleStyleableIntegerProperty
.SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Integer initialValue)
The constructor of theSimpleStyleableIntegerProperty
. -
Uses of Integer in javafx.scene.control
Methods in javafx.scene.control that return types with arguments of type Integer Modifier and Type Method Description EventHandler<ScrollToEvent<Integer>>
ListView. getOnScrollTo()
Gets the value of the property onScrollTo.EventHandler<ScrollToEvent<Integer>>
TableView. getOnScrollTo()
Gets the value of the property onScrollTo.EventHandler<ScrollToEvent<Integer>>
TreeTableView. getOnScrollTo()
Gets the value of the property onScrollTo.EventHandler<ScrollToEvent<Integer>>
TreeView. getOnScrollTo()
Gets the value of the property onScrollTo.Callback<Integer,Node>
Pagination. getPageFactory()
Returns the page factory callback function.abstract ObservableList<Integer>
MultipleSelectionModel. getSelectedIndices()
Returns a read-only ObservableList of all selected indices.ObjectProperty<EventHandler<ScrollToEvent<Integer>>>
ListView. onScrollToProperty()
Called when there's a request to scroll an index into view usingListView.scrollTo(int)
orListView.scrollTo(Object)
ObjectProperty<EventHandler<ScrollToEvent<Integer>>>
TableView. onScrollToProperty()
Called when there's a request to scroll an index into view usingTableView.scrollTo(int)
orTableView.scrollTo(Object)
ObjectProperty<EventHandler<ScrollToEvent<Integer>>>
TreeTableView. onScrollToProperty()
Called when there's a request to scroll an index into view usingTreeTableView.scrollTo(int)
ObjectProperty<EventHandler<ScrollToEvent<Integer>>>
TreeView. onScrollToProperty()
Called when there's a request to scroll an index into view usingTreeView.scrollTo(int)
ObjectProperty<Callback<Integer,Node>>
Pagination. pageFactoryProperty()
The pageFactory callback function that is called when a page has been selected by the application or the user.static EventType<ScrollToEvent<Integer>>
ScrollToEvent. scrollToTopIndex()
This event occurs if the user requests scrolling a given index into view.Method parameters in javafx.scene.control with type arguments of type Integer Modifier and Type Method Description void
ListView. setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)
Sets the value of the property onScrollTo.void
TableView. setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)
Sets the value of the property onScrollTo.void
TreeTableView. setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)
Sets the value of the property onScrollTo.void
TreeView. setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)
Sets the value of the property onScrollTo.void
Pagination. setPageFactory(Callback<Integer,Node> value)
Sets the page factory callback function. -
Uses of Integer in javafx.scene.control.cell
Methods in javafx.scene.control.cell that return types with arguments of type Integer Modifier and Type Method Description Callback<Integer,ObservableValue<Boolean>>
CheckBoxTableCell. getSelectedStateCallback()
Returns theCallback
that is bound to by the CheckBox shown on screen.Callback<Integer,ObservableValue<Boolean>>
CheckBoxTreeTableCell. getSelectedStateCallback()
Returns theCallback
that is bound to by the CheckBox shown on screen.ObjectProperty<Callback<Integer,ObservableValue<Boolean>>>
CheckBoxTableCell. selectedStateCallbackProperty()
Property representing theCallback
that is bound to by the CheckBox shown on screen.ObjectProperty<Callback<Integer,ObservableValue<Boolean>>>
CheckBoxTreeTableCell. selectedStateCallbackProperty()
Property representing theCallback
that is bound to by the CheckBox shown on screen.Method parameters in javafx.scene.control.cell with type arguments of type Integer Modifier and Type Method Description static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>>
CheckBoxTableCell. forTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty)
Creates a cell factory for use in aTableColumn
cell factory.static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>>
CheckBoxTableCell. forTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, boolean showLabel)
Creates a cell factory for use in aTableColumn
cell factory.static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>>
CheckBoxTableCell. forTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)
Creates a cell factory for use in aTableColumn
cell factory.static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>
CheckBoxTreeTableCell. forTreeTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty)
Creates a cell factory for use in aTreeTableColumn
cell factory.static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>
CheckBoxTreeTableCell. forTreeTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, boolean showLabel)
Creates a cell factory for use in aTreeTableColumn
cell factory.static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>
CheckBoxTreeTableCell. forTreeTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)
Creates a cell factory for use in aTreeTableColumn
cell factory.void
CheckBoxTableCell. setSelectedStateCallback(Callback<Integer,ObservableValue<Boolean>> value)
Sets theCallback
that is bound to by the CheckBox shown on screen.void
CheckBoxTreeTableCell. setSelectedStateCallback(Callback<Integer,ObservableValue<Boolean>> value)
Sets theCallback
that is bound to by the CheckBox shown on screen.Constructor parameters in javafx.scene.control.cell with type arguments of type Integer Constructor Description CheckBoxTableCell(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty)
Creates a default CheckBoxTableCell with a customCallback
to retrieve an ObservableValue for a given cell index.CheckBoxTableCell(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)
Creates a CheckBoxTableCell with a custom string converter.CheckBoxTreeTableCell(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty)
Creates a default CheckBoxTreeTableCell with a customCallback
to retrieve an ObservableValue for a given cell index.CheckBoxTreeTableCell(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)
Creates a CheckBoxTreeTableCell with a custom string converter. -
Uses of Integer in javafx.scene.layout
Methods in javafx.scene.layout that return Integer Modifier and Type Method Description static Integer
GridPane. getColumnIndex(Node child)
Returns the child's column index constraint if set.static Integer
GridPane. getColumnSpan(Node child)
Returns the child's column-span constraint if set.static Integer
GridPane. getRowIndex(Node child)
Returns the child's row index constraint if set.static Integer
GridPane. getRowSpan(Node child)
Returns the child's row-span constraint if set.Methods in javafx.scene.layout with parameters of type Integer Modifier and Type Method Description static void
GridPane. setColumnIndex(Node child, Integer value)
Sets the column index for the child when contained by a gridpane so that it will be positioned starting in that column of the gridpane.static void
GridPane. setColumnSpan(Node child, Integer value)
Sets the column span for the child when contained by a gridpane so that it will span that number of columns horizontally.static void
GridPane. setRowIndex(Node child, Integer value)
Sets the row index for the child when contained by a gridpane so that it will be positioned starting in that row of the gridpane.static void
GridPane. setRowSpan(Node child, Integer value)
Sets the row span for the child when contained by a gridpane so that it will span that number of rows vertically. -
Uses of Integer in javax.imageio.plugins.tiff
Methods in javax.imageio.plugins.tiff that return types with arguments of type Integer Modifier and Type Method Description SortedSet<Integer>
TIFFTagSet. getTagNumbers()
Retrieves an unmodifiable numerically increasing set of tag numbers. -
Uses of Integer in javax.management
Methods in javax.management that return Integer Modifier and Type Method Description 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.openmbean
Fields in javax.management.openmbean with type parameters of type Integer Modifier and Type Field Description static SimpleType<Integer>
SimpleType. INTEGER
TheSimpleType
instance describing values whose Java class name isjava.lang.Integer
. -
Uses of Integer in javax.management.relation
Methods in javax.management.relation that return Integer Modifier and Type Method Description Integer
RelationService. checkRoleReading(String roleName, String relationTypeName)
Checks if given Role can be read in a relation of the given type.Integer
RelationServiceMBean. checkRoleReading(String roleName, String relationTypeName)
Checks if given Role can be read in a relation of the given type.Integer
RelationService. checkRoleWriting(Role role, String relationTypeName, Boolean initFlag)
Checks if given Role can be set in a relation of given type.Integer
RelationServiceMBean. checkRoleWriting(Role role, String relationTypeName, Boolean initFlag)
Checks if given Role can be set in a relation of given type.Integer
Relation. getRoleCardinality(String roleName)
Returns the number of MBeans currently referenced in the given role.Integer
RelationService. getRoleCardinality(String relationId, String roleName)
Retrieves the number of MBeans currently referenced in the given role.Integer
RelationServiceMBean. getRoleCardinality(String relationId, String roleName)
Retrieves the number of MBeans currently referenced in the given role.Integer
RelationSupport. getRoleCardinality(String roleName)
Returns 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 Modifier and Type Method Description Integer
TargetedNotification. getListenerID()
The ID of the listener to which the notification is targeted.Constructors in javax.management.remote with parameters of type Integer Constructor Description TargetedNotification(Notification notification, Integer listenerID)
Constructs aTargetedNotification
object. -
Uses of Integer in javax.management.remote.rmi
Methods in javax.management.remote.rmi that return Integer Modifier and Type Method Description Integer[]
RMIConnection. addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)
Integer
RMIConnection. getMBeanCount(Subject delegationSubject)
Handles the methodMBeanServerConnection.getMBeanCount()
.Methods in javax.management.remote.rmi with parameters of type Integer Modifier and Type Method Description void
RMIConnection. removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject)
-
Uses of Integer in javax.management.timer
Methods in javax.management.timer that return Integer Modifier and Type Method Description Integer
Timer. addNotification(String type, String message, Object userData, Date date)
Creates a new timer notification with the specifiedtype
,message
anduserData
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, long period)
Creates a new timer notification with the specifiedtype
,message
anduserData
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, long nbOccurences)
Creates a new timer notification with the specifiedtype
,message
anduserData
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 specifiedtype
,message
anduserData
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)
Creates a new timer notification with the specifiedtype
,message
anduserData
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 specifiedtype
,message
anduserData
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 specifiedtype
,message
anduserData
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 specifiedtype
,message
anduserData
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 that return types with arguments of type Integer Modifier and Type Method Description Vector<Integer>
Timer. getAllNotificationIDs()
Gets all timer notification identifiers registered into the list of notifications.Vector<Integer>
TimerMBean. getAllNotificationIDs()
Gets all timer notification identifiers registered into the list of notifications.Vector<Integer>
Timer. getNotificationIDs(String type)
Gets all the identifiers of timer notifications corresponding to the specified type.Vector<Integer>
TimerMBean. getNotificationIDs(String type)
Gets all the identifiers of timer notifications corresponding to the specified type.Methods in javax.management.timer with parameters of type Integer Modifier and Type Method Description Date
Timer. getDate(Integer id)
Gets a copy of the date associated to a timer notification.Date
TimerMBean. getDate(Integer id)
Gets a copy of the date associated to a timer notification.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.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.Long
Timer. getNbOccurences(Integer id)
Gets a copy of the remaining number of occurrences associated to a timer notification.Long
TimerMBean. getNbOccurences(Integer id)
Gets a copy of the remaining number of occurrences associated to a timer notification.String
Timer. getNotificationMessage(Integer id)
Gets the timer notification detailed message corresponding to the specified identifier.String
TimerMBean. getNotificationMessage(Integer id)
Gets the timer notification detailed message corresponding to the specified identifier.String
Timer. getNotificationType(Integer id)
Gets the timer notification type corresponding to the specified identifier.String
TimerMBean. getNotificationType(Integer id)
Gets the timer notification type corresponding to the specified identifier.Object
Timer. getNotificationUserData(Integer id)
Gets the timer notification user data object corresponding to the specified identifier.Object
TimerMBean. getNotificationUserData(Integer id)
Gets the timer notification user data object corresponding to the specified identifier.Long
Timer. getPeriod(Integer id)
Gets a copy of the period (in milliseconds) associated to a timer notification.Long
TimerMBean. getPeriod(Integer id)
Gets a copy of the period (in milliseconds) associated to a timer notification.void
Timer. removeNotification(Integer id)
Removes the timer notification corresponding to the specified identifier from the list of notifications.void
TimerMBean. 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 Constructor Description TimerNotification(String type, Object source, long sequenceNumber, long timeStamp, String msg, Integer id)
Creates a timer notification object. -
Uses of Integer in javax.script
Methods in javax.script that return types with arguments of type Integer Modifier and Type Method Description List<Integer>
ScriptContext. getScopes()
Returns immutableList
of all the valid values for scope in the ScriptContext. -
Uses of Integer in javax.swing
Fields in javax.swing declared as Integer Modifier and Type Field Description 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 Modifier and Type Method Description 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 Modifier and Type Method Description Hashtable<Integer,JComponent>
JSlider. createStandardLabels(int increment)
Creates aHashtable
of numerical text labels, starting at the slider minimum, and using the increment specified.Hashtable<Integer,JComponent>
JSlider. createStandardLabels(int increment, int start)
Creates aHashtable
of numerical text labels, starting at the starting point specified, and using the increment specified.protected Hashtable<Component,Integer>
JLayeredPane. getComponentToLayer()
Returns the hashtable that maps components to layers.Methods in javax.swing with parameters of type Integer Modifier and Type Method Description void
JInternalFrame. setLayer(Integer layer)
Convenience method for setting the layer attribute of this component. -
Uses of Integer in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic that return Integer Modifier and Type Method Description protected Integer
BasicSliderUI. getHighestValue()
Returns the biggest value that has an entry in the label table.protected Integer
BasicSliderUI. getLowestValue()
Returns the smallest value that has an entry in the label table. -
Uses of Integer in jdk.jshell
Method parameters in jdk.jshell with type arguments of type Integer Modifier and Type Method Description JShell.Builder
JShell.Builder. idGenerator(BiFunction<Snippet,Integer,String> generator)
Sets the generator of identifying names for Snippets.
-