![]() |
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JMenuBar | +--javax.swing.plaf.basic.BasicInternalFrameTitlePane.SystemMenuBar
This inner class is marked "public" due to a compiler bug.
This class should be treated as a "protected" inner class.
Instantiate it only within subclasses of
Inner classes inherited from class javax.swing.JMenuBar |
JMenuBar.AccessibleJMenuBar |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
BasicInternalFrameTitlePane.SystemMenuBar()
|
Method Summary | |
boolean |
isFocusTraversable()
Identifies whether or not this component can receive the focus. |
boolean |
isOpaque()
Returns true if this component is completely opaque. |
void |
paint(Graphics g)
This method is invoked by Swing to draw components. |
void |
requestFocus()
Set focus on the receiving component if isRequestFocusEnabled returns true |
Methods inherited from class javax.swing.JMenuBar |
add,
addNotify,
getAccessibleContext,
getComponent,
getComponentAtIndex,
getComponentIndex,
getHelpMenu,
getMargin,
getMenu,
getMenuCount,
getSelectionModel,
getSubElements,
getUI,
getUIClassID,
isBorderPainted,
isManagingFocus,
isSelected,
menuSelectionChanged,
paintBorder,
paramString,
processKeyEvent,
processMouseEvent,
removeNotify,
setBorderPainted,
setHelpMenu,
setMargin,
setSelected,
setSelectionModel,
setUI,
updateUI |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public BasicInternalFrameTitlePane.SystemMenuBar()
Method Detail |
public boolean isFocusTraversable()
public void requestFocus()
FocusEvent
,
Component.addFocusListener(java.awt.event.FocusListener)
,
Component.processFocusEvent(java.awt.event.FocusEvent)
,
Component.isFocusTraversable()
public void paint(Graphics g)
repaint
method to
schedule the component for redrawing.
This method actually delegates the work of painting to three
protected methods: paintComponent
, paintBorder
,
and paintChildren
. They're called in the order
listed to ensure that children appear on top of component itself.
Generally speaking, the component and its children should not
paint in the insets area allocated to the border. Subclasses can
just override this method, as always. A subclass that just
wants to specialize the UI (look and feel) delegates paint
method should just override paintComponent
.
JComponent.paintComponent(java.awt.Graphics)
,
JComponent.paintBorder(java.awt.Graphics)
,
JComponent.paintChildren(java.awt.Graphics)
,
JComponent.getComponentGraphics(java.awt.Graphics)
,
JComponent.repaint(long, int, int, int, int)
public boolean isOpaque()
An opaque component paints every pixel within its rectangular region. A non-opaque component paints only some of its pixels, allowing the pixels underneath it to "show through". A component that does not fully paint its pixels therefore provides a degree of transparency.
Subclasses that guarantee to always completely paint their contents should override this method and return true.
This method will migrate to java.awt.Component in the next major JDK release
JComponent.setOpaque(boolean)
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |