|
|||||||||
| Home >> All >> com >> imagero >> gui >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.imagero.gui.swing
Class ButtonProxy

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.imagero.gui.swing.ComponentProxy
com.imagero.gui.swing.ButtonProxy
- All Implemented Interfaces:
- java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- public class ButtonProxy
- extends ComponentProxy
| Nested Class Summary |
| Nested classes inherited from class com.imagero.gui.swing.ComponentProxy |
ComponentProxy.MouseHandler |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
(package private) boolean |
rotateBorder
|
| Fields inherited from class com.imagero.gui.swing.ComponentProxy |
alpha, axis, borderPainted, clockwise, component, composite, compositeValid, contentPainted, crp, ignoreMouse, useAlpha |
| 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.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ButtonProxy(javax.swing.AbstractButton button)
|
|
ButtonProxy(javax.swing.AbstractButton button,
javax.swing.CellRendererPane crp)
create Button proxy with shared CellRendererPane |
|
| Method Summary | |
javax.swing.AbstractButton |
getButton()
|
boolean |
isRotateBorder()
|
static void |
main(java.lang.String[] args)
|
void |
paintComponent(java.awt.Graphics g)
Paint the component's body. |
void |
setRotateBorder(boolean rotateBorder)
If rotateBorder is false then border is painted without rotating even if component is rotated. |
| Methods inherited from class com.imagero.gui.swing.ComponentProxy |
contains, createRendererPane, dispatchToRenderer, getAlpha, getAxis, getComponent, getComposite, getMouseHandler, getPreferredSize, isBorderPainted, isClockwise, isContentPainted, isIgnoreMouse, isUseAlpha, paintBorder, setAlpha, setAxis, setBorderPainted, setCellRendererPane, setClockwise, setComposite, setContentPainted, setIgnoreMouse, setRenderer, setUseAlpha |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
rotateBorder
boolean rotateBorder
| Constructor Detail |
ButtonProxy
public ButtonProxy(javax.swing.AbstractButton button)
ButtonProxy
public ButtonProxy(javax.swing.AbstractButton button, javax.swing.CellRendererPane crp)
- create Button proxy with shared CellRendererPane
| Method Detail |
getButton
public javax.swing.AbstractButton getButton()
isRotateBorder
public boolean isRotateBorder()
setRotateBorder
public void setRotateBorder(boolean rotateBorder)
- If rotateBorder is false then border is painted without rotating even if component is rotated.
Note: rotated borders looks sometimes horrible.
paintComponent
public void paintComponent(java.awt.Graphics g)
- Description copied from class:
javax.swing.JComponent - Paint the component's body. This usually means calling ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)>
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)55 on the JComponent.ui>JComponent.ui55 property of the component, if it is non-null. You may override this if you wish to customize the component's body-painting behavior. The component's body is painted first, before the border and children.- Overrides:
paintComponentin classComponentProxy
main
public static void main(java.lang.String[] args)
|
|||||||||
| Home >> All >> com >> imagero >> gui >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC