public class JFrame extends Frame implements WindowConstants, Accessible, RootPaneContainer
java.awt.Frame的扩展版本增加了对JFC / Swing组件架构的支持。
您可以在Java Tutorial JFrame中找到有关使用JFrame的面向任务的文档 。
JFrame类与Frame略有不Frame 。 像所有其他JFC / Swing顶级容器一样, JFrame包含一个JRootPane作为其唯一的孩子。 根窗格提供的内容窗格通常应包含JFrame显示的所有非菜单JFrame 。 这与AWT Frame情况不同。 作为一种方便, add , remove和setLayout这个类的方法将被覆盖,所以他们委托给相应方法的调用ContentPane 。 例如,您可以将子组件添加到框架中,如下所示:
frame.add(child);
而孩子将被添加到contentPane。
内容窗格将始终为非空。
尝试将其设置为null将导致JFrame引发异常。
默认内容窗格中将设置一个BorderLayout管理器。
有关添加,删除和设置LayoutManager的LayoutManager的详细信息,请参阅JFrame 。
与Frame不同, JFrame有一些概念,当用户尝试关闭窗口时,如何响应。 默认行为是在用户关闭窗口时简单地隐藏JFrame。 要更改默认行为,您调用方法setDefaultCloseOperation(int) 。 要使JFrame与Frame实例相同,请使用setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE) 。
有关根窗格提供的内容窗格和其他功能的详细信息,请参阅Java教程中的 Using Top-Level Containers 。
在多屏幕环境中,您可以在不同的屏幕设备上创建一个JFrame 。 见Frame以获取更多信息。
警告: Swing不是线程安全的。 欲了解更多信息,请参阅Swing's Threading Policy 。
警告:此类的序列化对象与将来的Swing版本不兼容。 当前的序列化支持适用于运行相同版本的Swing的应用程序之间的短期存储或RMI。 从1.4版本起,支持所有JavaBeans的长期存储已经添加到java.beans包中。 请参阅XMLEncoder 。
| Modifier and Type | Class and Description |
|---|---|
protected class |
JFrame.AccessibleJFrame
这个类实现了可访问性支持
JFrame类。
|
Frame.AccessibleAWTFrameWindow.AccessibleAWTWindow, Window.TypeContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected AccessibleContext |
accessibleContext
可访问的上下文属性。
|
static int |
EXIT_ON_CLOSE
退出应用程序默认窗口关闭操作。
|
protected JRootPane |
rootPane
JRootPane实例管理这个框架的
contentPane和可选的
menuBar ,以及
glassPane 。
|
protected boolean |
rootPaneCheckingEnabled
如果为真,那么
add和
setLayout将被转发到
contentPane 。
|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSORBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
JFrame()
构造一个最初不可见的新框架。
|
JFrame(GraphicsConfiguration gc)
在屏幕设备的指定
GraphicsConfiguration中创建一个
Frame和一个空白标题。
|
JFrame(String title)
创建一个新的,最初不可见的
Frame与指定的标题。
|
JFrame(String title, GraphicsConfiguration gc)
创建
JFrame具有指定标题和指定
GraphicsConfiguration屏幕设备的。
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addImpl(Component comp, Object constraints, int index)
添加指定的孩子
Component 。
|
protected JRootPane |
createRootPane()
由构造函数调用方法创建默认值
rootPane 。
|
protected void |
frameInit()
由构造函数调用正确地初始化
JFrame 。
|
AccessibleContext |
getAccessibleContext()
获取与此JFrame关联的AccessibleContext。
|
Container |
getContentPane()
返回此框架的
contentPane对象。
|
int |
getDefaultCloseOperation()
返回当用户在此框架上启动“关闭”时发生的操作。
|
Component |
getGlassPane()
返回此框架的
glassPane对象。
|
Graphics |
getGraphics()
为此组件创建图形上下文。
|
JMenuBar |
getJMenuBar()
返回在此框架上设置的菜单栏。
|
JLayeredPane |
getLayeredPane()
返回此框架的
layeredPane对象。
|
JRootPane |
getRootPane()
返回此框架的
rootPane对象。
|
TransferHandler |
getTransferHandler()
获取
transferHandler属性。
|
static boolean |
isDefaultLookAndFeelDecorated()
如果新创建的
JFrame应该具有当前外观提供的窗口装饰,则返回true。
|
protected boolean |
isRootPaneCheckingEnabled()
add和
setLayout是否转接到
contentPane 。
|
protected String |
paramString()
返回此
JFrame的字符串表示
JFrame 。
|
protected void |
processWindowEvent(WindowEvent e)
处理在此组件上发生的窗口事件。
|
void |
remove(Component comp)
从容器中删除指定的组件。
|
void |
repaint(long time, int x, int y, int width, int height)
在time毫秒内
time绘制该组件的
time矩形。
|
void |
setContentPane(Container contentPane)
设置
contentPane属性。
|
void |
setDefaultCloseOperation(int operation)
设置用户在此框架上启动“关闭”时默认执行的操作。
|
static void |
setDefaultLookAndFeelDecorated(boolean defaultLookAndFeelDecorated)
提供关于新创建的
JFrame是否应该具有由当前外观提供的窗口装饰(例如边框,窗口小部件以关闭窗口,标题...)的提示。
|
void |
setGlassPane(Component glassPane)
设置
glassPane属性。
|
void |
setIconImage(Image image)
将要显示的图像设置为此窗口的图标。
|
void |
setJMenuBar(JMenuBar menubar)
设置此帧的菜单栏。
|
void |
setLayeredPane(JLayeredPane layeredPane)
设置
layeredPane属性。
|
void |
setLayout(LayoutManager manager)
设置
LayoutManager 。
|
protected void |
setRootPane(JRootPane root)
设置
rootPane属性。
|
protected void |
setRootPaneCheckingEnabled(boolean enabled)
设置是否向
add和
setLayout的
contentPane 。
|
void |
setTransferHandler(TransferHandler newHandler)
设置
transferHandler属性,这是一种支持将数据传输到此组件中的机制。
|
void |
update(Graphics g)
只要打
paint(g) 。
|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFont, postEventpublic static final int EXIT_ON_CLOSE
SecurityException可能会抛出SecurityException 。
建议您只在应用程序中使用。
protected JRootPane rootPane
JRootPane实例管理
contentPane和可选的
menuBar为这个框架,以及
glassPane 。
JRootPane , RootPaneContainer
protected boolean rootPaneCheckingEnabled
add和setLayout将被转发到contentPane 。
这最初是假的,但是当JFrame时设置为true。
protected AccessibleContext accessibleContext
public JFrame()
throws HeadlessException
这个构造函数将组件的区域属性返回的值JComponent.getDefaultLocale 。
HeadlessException - 如果GraphicsEnvironment.isHeadless()返回true。
GraphicsEnvironment.isHeadless() ,
Component.setSize(int, int) ,
Component.setVisible(boolean) ,
JComponent.getDefaultLocale()
public JFrame(GraphicsConfiguration gc)
GraphicsConfiguration中创建一个Frame和一个空白标题。
这个构造函数将组件的区域属性返回的值JComponent.getDefaultLocale 。
gc - GraphicsConfiguration用于构建新的Frame ;
如果gc是null ,系统默认值为GraphicsConfiguration
IllegalArgumentException - 如果gc不是来自屏幕设备。
当GraphicsEnvironment.isHeadless()返回true时,总是会抛出此异常。
GraphicsEnvironment.isHeadless() ,
JComponent.getDefaultLocale()
public JFrame(String title) throws HeadlessException
Frame与指定的标题。
这个构造函数将组件的区域属性返回的值JComponent.getDefaultLocale 。
title - 框架的标题
HeadlessException - 如果GraphicsEnvironment.isHeadless()返回true。
GraphicsEnvironment.isHeadless() ,
Component.setSize(int, int) ,
Component.setVisible(boolean) ,
JComponent.getDefaultLocale()
public JFrame(String title, GraphicsConfiguration gc)
JFrame具有指定标题和指定GraphicsConfiguration屏幕设备的。
这个构造函数将组件的区域属性返回的值JComponent.getDefaultLocale 。
title - 要在框架边框中显示的标题。
一个null值被视为空字符串“”。
gc -所述GraphicsConfiguration被用于构造新JFrame用;
如果gc为null ,系统默认为GraphicsConfiguration
IllegalArgumentException - 如果gc不是从屏幕设备。
当GraphicsEnvironment.isHeadless()返回true时,总是会抛出此异常。
GraphicsEnvironment.isHeadless() ,
JComponent.getDefaultLocale()
protected void frameInit()
JFrame 。
protected JRootPane createRootPane()
rootPane 。
protected void processWindowEvent(WindowEvent e)
defaultCloseOperation属性的设置隐藏窗口或处理它。
processWindowEvent在
Window类
e - 窗口事件
setDefaultCloseOperation(int) ,
Window.processWindowEvent(java.awt.event.WindowEvent)
public void setDefaultCloseOperation(int operation)
DO_NOTHING_ON_CLOSE (定义在WindowConstants ):不要做任何事情; 要求程序处理WindowListener对象的windowClosing方法的操作。 HIDE_ON_CLOSE (在WindowConstants定义):在调用任何已注册的WindowListener对象后自动隐藏框架。 DISPOSE_ON_CLOSE (在WindowConstants定义):在调用任何已注册的WindowListener对象后自动隐藏和处理该框架。 EXIT_ON_CLOSE (在JFrame定义):使用System exit方法退出exit程序。 仅在应用程序中使用。 该值默认设置为HIDE_ON_CLOSE 。 对此属性的值的更改导致触发属性更改事件,属性名称为“defaultCloseOperation”。
注意 :当Java虚拟机(VM)中的最后一个可显示的窗口被丢弃时,VM可能会终止。 见AWT Threading Issues以获取更多信息。
operation - 用户关闭帧时应执行的操作
IllegalArgumentException - 如果defaultCloseOperation值不是上述有效值之一
SecurityException - 如果
EXIT_ON_CLOSE了EXIT_ON_CLOSE,并且
SecurityManager将不允许来电者调用
System.exit
Window.addWindowListener(java.awt.event.WindowListener) , getDefaultCloseOperation() , WindowConstants , Runtime.exit(int)
public int getDefaultCloseOperation()
setDefaultCloseOperation(int)
public void setTransferHandler(TransferHandler newHandler)
transferHandler属性,这是一种支持将数据传输到此组件的机制。
使用null如果该组件不支持数据传输操作。
如果系统属性suppressSwingDropSupport (默认值)为false ,并且此组件上的当前丢弃目标是null或不是用户设置的丢弃目标,则此方法将更改丢弃目标,如下所示:如果newHandler为null ,它将清除掉目标。 如果不是null它会安装一个新的DropTarget 。
注意:当与JFrame一起使用时, TransferHandler仅提供数据导入功能,因为数据导出相关方法当前键入JComponent 。
有关详细信息 ,请参阅Java Tutorial How to Use Drag and Drop and Data Transfer中的一节。
newHandler - 全新
TransferHandler
TransferHandler , getTransferHandler() , Component.setDropTarget(java.awt.dnd.DropTarget)
public TransferHandler getTransferHandler()
transferHandler属性。
transferHandler属性
TransferHandler , setTransferHandler(javax.swing.TransferHandler)
public void update(Graphics g)
paint(g) 。
该方法被覆盖,以防止不必要的调用来清除背景。
update在
Container
g - 要绘制的图形上下文
Component.update(Graphics)
public void setJMenuBar(JMenuBar menubar)
menubar - 将菜单放在框架中
getJMenuBar()
public JMenuBar getJMenuBar()
setJMenuBar(javax.swing.JMenuBar)
protected boolean isRootPaneCheckingEnabled()
add和
setLayout的电话转发给
contentPane 。
add和setLayout ,则为true;
否则为假
addImpl(java.awt.Component, java.lang.Object, int) , setLayout(java.awt.LayoutManager) , setRootPaneCheckingEnabled(boolean) , RootPaneContainer
protected void setRootPaneCheckingEnabled(boolean enabled)
add和
setLayout的
contentPane 。
enabled - 如果
add和
setLayout被转发,则为true,如果它们应该直接在
JFrame上操作,则为false。
addImpl(java.awt.Component, java.lang.Object, int) , setLayout(java.awt.LayoutManager) , isRootPaneCheckingEnabled() , RootPaneContainer
protected void addImpl(Component comp, Object constraints, int index)
Component 。
该方法被覆盖以有条件地转移到contentPane 。
默认情况下,孩子将添加到contentPane而不是框架,有关详细信息,请参阅RootPaneContainer 。
addImpl在
Container
comp - 要增强的组件
constraints - 要遵守的约束
index - 指数
IllegalArgumentException - 如果
index无效
IllegalArgumentException - 如果将容器的父项添加到自身
IllegalArgumentException - 如果向
IllegalArgumentException添加窗口
setRootPaneCheckingEnabled(boolean) , RootPaneContainer
public void remove(Component comp)
comp不是rootPane ,这将转发到contentPane 。
如果comp不是JFrame或contentPane的孩子,这将contentPane 。
remove在
Container
comp - 要删除的组件
NullPointerException - 如果
comp为空
Container.add(java.awt.Component) , RootPaneContainer
public void setLayout(LayoutManager manager)
setLayout在
Container
manager -
LayoutManager
setRootPaneCheckingEnabled(boolean) , RootPaneContainer
public JRootPane getRootPane()
rootPane对象。
getRootPane在界面
RootPaneContainer
rootPane属性
setRootPane(javax.swing.JRootPane) ,
RootPaneContainer.getRootPane()
protected void setRootPane(JRootPane root)
rootPane属性。
该方法由构造函数调用。
root - 该框架的
rootPane对象
getRootPane()
public void setIconImage(Image image)
可以使用此方法代替setIconImages()将单个图像指定为窗口的图标。
以下声明:
setIconImage(image);
相当于:
ArrayList<Image> imageList = new ArrayList<Image>();
imageList.add(image);
setIconImages(imageList);
注意:根据上下文(例如窗口装饰,窗口列表,任务栏等),本机窗口系统可以使用不同尺寸的不同图像来表示窗口。 他们也可以仅使用单个图像进行所有上下文或根本没有图像。
setIconImage在
Frame
image - 要显示的图标图像。
Window.setIconImages(java.util.List<? extends java.awt.Image>) ,
Window.getIconImages()
public Container getContentPane()
contentPane对象。
getContentPane在接口
RootPaneContainer
contentPane财产
setContentPane(java.awt.Container) ,
RootPaneContainer.getContentPane()
public void setContentPane(Container contentPane)
contentPane属性。
该方法由构造函数调用。
Swing的绘画架构在遏制层次JComponent中需要一个不透明的JComponent。 这通常由内容窗格提供。 如果更换内容窗格,建议将其替换为不透明的JComponent 。
setContentPane在接口
RootPaneContainer
contentPane - 这个框架的
contentPane对象
IllegalComponentStateException - (运行时异常)如果内容窗格参数是
null
getContentPane() , RootPaneContainer.setContentPane(java.awt.Container) , JRootPane
public JLayeredPane getLayeredPane()
layeredPane对象。
getLayeredPane在接口
RootPaneContainer
layeredPane财产
setLayeredPane(javax.swing.JLayeredPane) ,
RootPaneContainer.getLayeredPane()
public void setLayeredPane(JLayeredPane layeredPane)
layeredPane属性。
该方法由构造函数调用。
setLayeredPane在接口
RootPaneContainer
layeredPane - 这个框架的
layeredPane对象
IllegalComponentStateException - (运行时异常)如果分层窗格参数为
null
getLayeredPane() ,
RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane)
public Component getGlassPane()
glassPane对象。
getGlassPane在界面
RootPaneContainer
glassPane属性
setGlassPane(java.awt.Component) ,
RootPaneContainer.getGlassPane()
public void setGlassPane(Component glassPane)
glassPane属性。
该方法由构造函数调用。
setGlassPane在接口
RootPaneContainer
glassPane - 此框架的
glassPane对象
getGlassPane() ,
RootPaneContainer.setGlassPane(java.awt.Component)
public Graphics getGraphics()
null如果组件当前是不可显示。
getGraphics在
Component
null
Component.paint(java.awt.Graphics)
public void repaint(long time,
int x,
int y,
int width,
int height)
time绘制该组件的time矩形。
有关如何处理重绘的详细信息,请参阅RepaintManager 。
repaint在
Component
time - 更新前的最大时间(毫秒)
x -
x坐标
y -
y坐标
width - 宽度
height - 高度
RepaintManager
public static void setDefaultLookAndFeelDecorated(boolean defaultLookAndFeelDecorated)
JFrame是否应该具有由当前外观提供的窗口装饰(例如边框,关闭窗口,标题...)的提示。
如果defaultLookAndFeelDecorated是真的,当前的LookAndFeel支持提供窗口装饰,当前窗口管理器支持未装饰的窗口,那么新创建的JFrame将会由当前的LookAndFeel提供它们的Window LookAndFeel 。
否则,新创建的JFrame将具有由当前窗口管理器提供的窗口装饰。
您可以通过执行以下操作在单个JFrame上获得相同的效果:
JFrame frame = new JFrame();
frame.setUndecorated(true);
frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
defaultLookAndFeelDecorated - 关于当前的外观是否应提供窗饰的提示
LookAndFeel.getSupportsWindowDecorations()
public static boolean isDefaultLookAndFeelDecorated()
JFrame应该具有当前外观提供的窗口装饰,则返回true。
这只是一个提示,因为某些外观和感觉可能不支持此功能。
protected String paramString()
JFrame的字符串表示JFrame 。
该方法仅用于调试目的,并且返回的字符串的内容和格式可能因实现而异。
返回的字符串可能为空,但可能不是null 。
paramString在
Frame
JFrame的字符串表示
JFrame
public AccessibleContext getAccessibleContext()
getAccessibleContext在接口
Accessible
getAccessibleContext在
Frame
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.