public abstract class KContainer
extends java.awt.Container
The KContainer class is the abstract base class for all containers in this package.
Container,
直列化された形式| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected boolean |
focusTraversable
True if the keyboard focus traversal is enabled.
|
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
KContainer() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addNotify()
Notifies this component that it has been added to a container
and if a peer is required, it should be created.
|
java.awt.Rectangle |
bounds() |
void |
disable()
Disables this component.
|
void |
doLayout()
Lays out this component.
|
void |
enable()
Enables this component.
|
void |
enable(boolean b) |
java.awt.Rectangle |
getBounds()
Returns the bounds of this component.
|
java.awt.Frame |
getFrame()
Returns the top fram of this component.
|
java.awt.Insets |
getInsets()
Returns the insets of this component.
|
java.awt.Point |
getLocation()
Returns the location of this component.
|
java.awt.Dimension |
getMinimumSize()
Returns the minimum size of this component.
|
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of this component.
|
java.awt.Dimension |
getSize()
Returns the size of this component.
|
void |
hide() |
java.awt.Insets |
insets()
Returns the insets of this component.
|
boolean |
isDirectNotification()
If true, notifies listeners directly without using the event queue.
|
boolean |
isFocusTraversable()
Checks if the keyboard focus traversal is enabled.
|
void |
layout()
Lays out this component.
|
java.awt.Point |
location()
Returns the location of this component.
|
java.awt.Dimension |
minimumSize()
Returns the minimum size of this component.
|
protected void |
postOldEvent(java.awt.AWTEvent e)
Posts a 1.0 style event.
|
java.awt.Dimension |
preferredSize()
Returns the preferred size of this component.
|
void |
repaintNow()
Paints this component and all of its subcomponents immediately.
|
void |
requestFocus()
Requests that this component get the input focus.
|
void |
reshape(int x,
int y,
int width,
int height)
Moves and resizes this component.
|
void |
setBounds(int x,
int y,
int width,
int height)
Moves and resizes this component.
|
void |
setEnabled(boolean b)
Enables or disables this component.
|
void |
setFocusTraversable(boolean b)
Enables or disables the keyboard focus traversal.
|
void |
setVisible(boolean b)
Shows or hides this component.
|
void |
show() |
void |
show(boolean b) |
java.awt.Dimension |
size()
Returns the size of this component.
|
void |
update(java.awt.Graphics g)
Updates this component.
|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getListeners, getMaximumSize, getMousePosition, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, list, list, locate, paint, paintComponents, paramString, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setBackground, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprotected boolean focusTraversable
public boolean isFocusTraversable()
isFocusTraversable クラス内 java.awt.Componentpublic void setFocusTraversable(boolean b)
public boolean isDirectNotification()
public void setEnabled(boolean b)
setEnabled クラス内 java.awt.Componentpublic void enable()
enable クラス内 java.awt.Componentpublic void enable(boolean b)
enable クラス内 java.awt.Componentpublic void disable()
disable クラス内 java.awt.Componentpublic void setVisible(boolean b)
setVisible クラス内 java.awt.Componentpublic void show()
show クラス内 java.awt.Componentpublic void show(boolean b)
show クラス内 java.awt.Componentpublic void hide()
hide クラス内 java.awt.Componentpublic java.awt.Point getLocation()
getLocation クラス内 java.awt.Componentpublic java.awt.Point location()
location クラス内 java.awt.Componentpublic java.awt.Dimension getSize()
getSize クラス内 java.awt.Componentpublic java.awt.Dimension size()
size クラス内 java.awt.Componentpublic java.awt.Rectangle getBounds()
getBounds クラス内 java.awt.Componentpublic java.awt.Rectangle bounds()
bounds クラス内 java.awt.Componentpublic void setBounds(int x,
int y,
int width,
int height)
setBounds クラス内 java.awt.Componentpublic void reshape(int x,
int y,
int width,
int height)
reshape クラス内 java.awt.Componentpublic java.awt.Dimension getPreferredSize()
getPreferredSize クラス内 java.awt.Containerpublic java.awt.Dimension preferredSize()
preferredSize クラス内 java.awt.Containerpublic java.awt.Dimension getMinimumSize()
getMinimumSize クラス内 java.awt.Containerpublic java.awt.Dimension minimumSize()
minimumSize クラス内 java.awt.Containerpublic void doLayout()
doLayout クラス内 java.awt.Containerpublic void layout()
layout クラス内 java.awt.Containerpublic java.awt.Insets getInsets()
getInsets クラス内 java.awt.Containerpublic java.awt.Insets insets()
insets クラス内 java.awt.Containerpublic void update(java.awt.Graphics g)
update クラス内 java.awt.Containerpublic void repaintNow()
public void requestFocus()
For the sun.awt.windows.WWindowPeer#getFocusPeer() bug
(it exists in the JDK for Windows 95/NT version 1.1.4 or before),
if a lightwight component is focus traversable, an application will
be hung up.
requestFocus クラス内 java.awt.ComponentAWTResources.HAS_FOCUS_BUGpublic void addNotify()
The component state is checked for avoiding the JDK bug.
addNotify クラス内 java.awt.ContainerAWTResources.checkComponentState(java.awt.Component)public java.awt.Frame getFrame()
protected void postOldEvent(java.awt.AWTEvent e)