| java.lang.Object sun.awt.motif.MComponentPeer
All known Subclasses: sun.awt.motif.MLabelPeer, sun.awt.motif.MTextAreaPeer, sun.awt.motif.MListPeer, sun.awt.motif.MCanvasPeer, sun.awt.motif.MCheckboxPeer, sun.awt.motif.MButtonPeer, sun.awt.motif.MScrollbarPeer, sun.awt.motif.MTextFieldPeer, sun.awt.motif.MChoicePeer,
Method Summary | |
void | EFcreate(MComponentPeer parent, int x) | native boolean | _requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) | public void | addDropTarget(DropTarget dt) | native void | addNativeDropTarget(DropTarget dt) | public void | beginLayout() | public void | beginValidate() | static void | callRequestFocusInWindow(Component target, CausedFocusEvent.Cause cause) | static boolean | canBeFocusedByClick(Component component) Checks whether or not this component would be focused by native system if it would be allowed to do so. | public boolean | canDetermineObscurity() | public int | checkImage(Image img, int w, int h, ImageObserver o) | public boolean | checkNativePaintOnSetBounds(int width, int height) | public void | coalescePaintEvent(PaintEvent e) | abstract void | create(MComponentPeer parent) | void | create(MComponentPeer parent, Object arg) | public void | createBuffers(int numBuffers, BufferCapabilities caps) | public Image | createImage(ImageProducer producer) | public Image | createImage(int width, int height) | public VolatileImage | createVolatileImage(int width, int height) | public void | destroyBuffers() | public void | disable() DEPRECATED: Replaced by setEnabled(boolean). | final public void | dispose() | protected void | disposeImpl() | void | draw3DOval(Graphics g, Color bg, int x, int y, int w, int h, boolean raised) | void | draw3DRect(Graphics g, Color bg, int x, int y, int width, int height, boolean raised) | void | drawScrollbar(Graphics g, Color bg, int thickness, int length, int min, int max, int val, int vis, boolean horizontal) | public void | enable() DEPRECATED: Replaced by setEnabled(boolean). | public void | endLayout() | public void | endValidate() | protected void | finalize() | public void | flip(BufferCapabilities.FlipContents flipAction) | public Image | getBackBuffer() | public Rectangle | getBounds() | public ColorModel | getColorModel() | public ColorModel | getColorModel(int transparency) | native static Component[] | getComponents_NoClientCode(Container container) | public long | getContentWindow() | public FontMetrics | getFontMetrics(Font font) | public synchronized Graphics | getGraphics() | public GraphicsConfiguration | getGraphicsConfiguration() | public Point | getLocationOnScreen() | public Dimension | getMinimumSize() | native int | getNativeColor(Color clr, GraphicsConfiguration gc) | native static Window | getNativeFocusedWindow() | native static Container | getParent_NoClientCode(Component component) | public Dimension | getPreferredSize() | public SurfaceData | getSurfaceData() | public Object | getTarget() | public java.awt.Toolkit | getToolkit() | public int | getZOrderPosition_NoClientCode() | public void | handleEvent(AWTEvent e) | void | handleExpose(int x, int y, int w, int h) | void | handleRepaint(int x, int y, int w, int h) | public boolean | handlesWheelScrolling() | public void | hide() DEPRECATED: Replaced by setVisible(boolean). | public void | init(Component target, Object arg) | public void | init(Component target) | void | initialize() | public boolean | isFocusable() | public boolean | isObscured() | public boolean | isPaintPending() | public boolean | isReparentSupported() | public void | layout() | public Dimension | minimumSize() DEPRECATED: Replaced by getMinimumSize(). | native void | nativeHandleEvent(AWTEvent e) | public void | notifyTextComponentChange(boolean add) | native void | pDisable() | native void | pDispose() | native void | pEnable() | native Point | pGetLocationOnScreen() | native Point | pGetLocationOnScreen2(Window win, MWindowPeer wpeer) | native void | pHide() | native void | pInitialize() | native void | pMakeCursorVisible() | native void | pReshape(int x, int y, int width, int height) | native void | pSetBackground(Color c) | native public void | pSetCursor(Cursor c) | native void | pSetForeground(Color c) | native public void | pSetInnerForeground(Color c) | native public void | pSetScrollbarBackground(Color c) | native void | pShow() | public void | paint(Graphics g) | void | postEvent(AWTEvent event) | public Dimension | preferredSize() DEPRECATED: Replaced by getPreferredSize(). | public boolean | prepareImage(Image img, int w, int h, ImageObserver o) | public void | print(Graphics g) | native static boolean | processSynchronousLightweightTransfer(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time) | public void | removeDropTarget(DropTarget dt) | native void | removeNativeDropTarget(DropTarget dt) | public void | repaint(long tm, int x, int y, int width, int height) | public void | reparent(ContainerPeer newNativeParent) | public boolean | requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) | public void | reshape(int x, int y, int width, int height) DEPRECATED: Replaced by setBounds(int, int, int, int). | native void | restoreFocus() | public void | setBackground(Color c) | void | setBounds(int x, int y, int width, int height) | public void | setBounds(int x, int y, int width, int height, int op) | public void | setEnabled(boolean b) | public void | setFont(Font f) | public void | setForeground(Color c) | native public void | setTargetBackground(Color c) | public void | setVisible(boolean b) | protected boolean | shouldFocusOnClick() Returns whether or not this component should be given focus on mouse click. | public void | show() DEPRECATED: Replaced by setVisible(boolean). | public String | toString() | public void | updateCursorImmediately() | public int | updatePriority() | void | validateSurface(int width, int height) |
MOTIF_NA | final static int MOTIF_NA(Code) | | |
MOTIF_V1 | final static int MOTIF_V1(Code) | | |
MOTIF_V2 | final static int MOTIF_V2(Code) | | |
disposed | protected boolean disposed(Code) | | |
isLayouting | boolean isLayouting(Code) | | |
jniGlobalRef | long jniGlobalRef(Code) | | |
paintPending | boolean paintPending(Code) | | |
requestFocusWithCause | static Method requestFocusWithCause(Code) | | |
serialNum | public int serialNum(Code) | | |
surfaceData | SurfaceData surfaceData(Code) | | |
MComponentPeer | MComponentPeer()(Code) | | |
_requestFocus | native boolean _requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)(Code) | | |
beginLayout | public void beginLayout()(Code) | | |
beginValidate | public void beginValidate()(Code) | | |
callRequestFocusInWindow | static void callRequestFocusInWindow(Component target, CausedFocusEvent.Cause cause)(Code) | | |
canBeFocusedByClick | static boolean canBeFocusedByClick(Component component)(Code) | | Checks whether or not this component would be focused by native system if it would be allowed to do so.
Currently it checks that it displayable, visible, enabled and focusable.
|
canDetermineObscurity | public boolean canDetermineObscurity()(Code) | | |
checkNativePaintOnSetBounds | public boolean checkNativePaintOnSetBounds(int width, int height)(Code) | | |
createImage | public Image createImage(int width, int height)(Code) | | |
destroyBuffers | public void destroyBuffers()(Code) | | |
disable | public void disable()(Code) | | DEPRECATED: Replaced by setEnabled(boolean).
|
dispose | final public void dispose()(Code) | | |
disposeImpl | protected void disposeImpl()(Code) | | |
draw3DOval | void draw3DOval(Graphics g, Color bg, int x, int y, int w, int h, boolean raised)(Code) | | |
draw3DRect | void draw3DRect(Graphics g, Color bg, int x, int y, int width, int height, boolean raised)(Code) | | |
drawScrollbar | void drawScrollbar(Graphics g, Color bg, int thickness, int length, int min, int max, int val, int vis, boolean horizontal)(Code) | | |
enable | public void enable()(Code) | | DEPRECATED: Replaced by setEnabled(boolean).
|
endLayout | public void endLayout()(Code) | | |
endValidate | public void endValidate()(Code) | | |
getContentWindow | public long getContentWindow()(Code) | | |
getLocationOnScreen | public Point getLocationOnScreen()(Code) | | |
getNativeFocusedWindow | native static Window getNativeFocusedWindow()(Code) | | |
getSurfaceData | public SurfaceData getSurfaceData()(Code) | | |
getZOrderPosition_NoClientCode | public int getZOrderPosition_NoClientCode()(Code) | | |
handleExpose | void handleExpose(int x, int y, int w, int h)(Code) | | |
handleRepaint | void handleRepaint(int x, int y, int w, int h)(Code) | | |
handlesWheelScrolling | public boolean handlesWheelScrolling()(Code) | | |
hide | public void hide()(Code) | | DEPRECATED: Replaced by setVisible(boolean).
|
initialize | void initialize()(Code) | | |
isFocusable | public boolean isFocusable()(Code) | | |
isObscured | public boolean isObscured()(Code) | | |
isPaintPending | public boolean isPaintPending()(Code) | | |
layout | public void layout()(Code) | | |
minimumSize | public Dimension minimumSize()(Code) | | DEPRECATED: Replaced by getMinimumSize().
|
notifyTextComponentChange | public void notifyTextComponentChange(boolean add)(Code) | | |
pDisable | native void pDisable()(Code) | | |
pDispose | native void pDispose()(Code) | | |
pEnable | native void pEnable()(Code) | | |
pGetLocationOnScreen | native Point pGetLocationOnScreen()(Code) | | |
pHide | native void pHide()(Code) | | |
pInitialize | native void pInitialize()(Code) | | |
pMakeCursorVisible | native void pMakeCursorVisible()(Code) | | |
pReshape | native void pReshape(int x, int y, int width, int height)(Code) | | |
pSetBackground | native void pSetBackground(Color c)(Code) | | |
pSetForeground | native void pSetForeground(Color c)(Code) | | |
pSetInnerForeground | native public void pSetInnerForeground(Color c)(Code) | | |
pSetScrollbarBackground | native public void pSetScrollbarBackground(Color c)(Code) | | |
pShow | native void pShow()(Code) | | |
preferredSize | public Dimension preferredSize()(Code) | | DEPRECATED: Replaced by getPreferredSize().
|
processSynchronousLightweightTransfer | native static boolean processSynchronousLightweightTransfer(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time)(Code) | | |
repaint | public void repaint(long tm, int x, int y, int width, int height)(Code) | | |
requestFocus | public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)(Code) | | |
reshape | public void reshape(int x, int y, int width, int height)(Code) | | DEPRECATED: Replaced by setBounds(int, int, int, int).
|
restoreFocus | native void restoreFocus()(Code) | | |
setBounds | void setBounds(int x, int y, int width, int height)(Code) | | |
setBounds | public void setBounds(int x, int y, int width, int height, int op)(Code) | | |
setEnabled | public void setEnabled(boolean b)(Code) | | |
setTargetBackground | native public void setTargetBackground(Color c)(Code) | | |
setVisible | public void setVisible(boolean b)(Code) | | |
shouldFocusOnClick | protected boolean shouldFocusOnClick()(Code) | | Returns whether or not this component should be given focus on mouse click.
Default implementation return whether or not this peer is "focusable"
Descendants might want to override it to extend/restrict conditions at which this
component should be focused by click (see MCanvasPeer and MPanelPeer)
|
show | public void show()(Code) | | DEPRECATED: Replaced by setVisible(boolean).
|
updateCursorImmediately | public void updateCursorImmediately()(Code) | | |
updatePriority | public int updatePriority()(Code) | | |
validateSurface | void validateSurface(int width, int height)(Code) | | |
|
|