| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Insets | |
| private Insets | |
| private boolean | |
| protected Color | |
| private Insets | |
| pack-priv String | |
| private boolean | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | dispose()
Overrides sun. Implements java. Disposes all resources held by the component peer. |
| public void | focusGained(FocusEvent e)
Overrides sun. Called when component receives focus |
| public void | focusLost(FocusEvent e)
Overrides sun. Called when component loses focus |
| public Dimension | getMinimumSize()
Overrides sun. Implements java. Determines the minimum size of the component. |
| protected String | |
| pack-priv void | |
| pack-priv void | |
| public boolean | isFocusable()
Overrides sun. Implements java. Returns |
| public void | |
| protected void | |
| protected void | |
| pack-priv void | paintPeer(final Graphics g)
Overrides sun. This method is called from Toolkit Thread and so it should not call any client code. |
| protected void | |
| pack-priv void | preInit(XCreateWindowParams params)
Overrides sun. Called before window creation, descendants should override to initialize the data, initialize params. |
| public void | setBackground(Color c)
Overrides sun. Implements java. Sets the background color of this component. |
| public void | setLabel(String label)
Implements java. Sets the label that is displayed on the button. |
| armed | back to summary |
|---|---|
| private boolean armed | |
| borderInsets | back to summary |
|---|---|
| private Insets borderInsets | |
| contentAreaInsets | back to summary |
|---|---|
| private Insets contentAreaInsets | |
| disposed | back to summary |
|---|---|
| private boolean disposed | |
| focusColor | back to summary |
|---|---|
| protected Color focusColor | |
| focusInsets | back to summary |
|---|---|
| private Insets focusInsets | |
| label | back to summary |
|---|---|
| pack-priv String label | |
| pressed | back to summary |
|---|---|
| private boolean pressed | |
| propertyPrefix | back to summary |
|---|---|
| private static final String propertyPrefix | |
| XButtonPeer | back to summary |
|---|---|
| public XButtonPeer(Button target) | |
| action | back to summary |
|---|---|
| public void action(final long when, final int modifiers) | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides sun. Implements java. Doc from java. Disposes all resources held by the component peer. This is called when the component has been disconnected from the component hierarchy and is about to be garbage collected.
| |
| focusGained | back to summary |
|---|---|
| public void focusGained(FocusEvent e) Overrides sun. Doc from sun. Called when component receives focus
| |
| focusLost | back to summary |
|---|---|
| public void focusLost(FocusEvent e) Overrides sun. Doc from sun. Called when component loses focus
| |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize() Overrides sun. Implements java. Doc from java. Determines the minimum size of the component.
| |
| getPropertyPrefix | back to summary |
|---|---|
| protected String getPropertyPrefix() | |
| handleJavaKeyEvent | back to summary |
|---|---|
| pack-priv void handleJavaKeyEvent(KeyEvent e) Overrides sun.
| |
| handleJavaMouseEvent | back to summary |
|---|---|
| pack-priv void handleJavaMouseEvent(MouseEvent e) Overrides sun.
| |
| isFocusable | back to summary |
|---|---|
| public boolean isFocusable() Overrides sun. Implements java. Doc from java. Returns
| |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Graphics g, int x, int y, int w, int h) | |
| paintButtonPressed | back to summary |
|---|---|
| protected void paintButtonPressed(Graphics g, Component b) | |
| paintFocus | back to summary |
|---|---|
| protected void paintFocus(Graphics g, int x, int y, int w, int h) | |
| paintPeer | back to summary |
|---|---|
| pack-priv void paintPeer(final Graphics g) Overrides sun. This method is called from Toolkit Thread and so it should not call any client code.
| |
| paintText | back to summary |
|---|---|
| protected void paintText(Graphics g, Component c, Rectangle textRect, String text) | |
| preInit | back to summary |
|---|---|
| pack-priv void preInit(XCreateWindowParams params) Overrides sun. Doc from sun. Called before window creation, descendants should override to initialize the data, initialize params.
| |
| setBackground | back to summary |
|---|---|
| public void setBackground(Color c) Overrides sun. Implements java. Doc from java. Sets the background color of this component.
| |
| setLabel | back to summary |
|---|---|
| public void setLabel(String label) Implements java. Doc from java. Sets the label that is displayed on the button. Can be
| |