|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.painter.AbstractPainter<E> com.alee.managers.style.skin.ninepatch.NPScrollBarButtonPainter<E>
public class NPScrollBarButtonPainter<E extends javax.swing.AbstractButton>
Base 9-patch painter for JScrollBar arrow buttons.
Field Summary |
---|
Fields inherited from class com.alee.extended.painter.AbstractPainter |
---|
listeners, margin, opaque, preferredSize |
Constructor Summary | |
---|---|
NPScrollBarButtonPainter()
|
Method Summary | |
---|---|
void |
paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c)
Paints visual data onto the component graphics. |
void |
setButtonType(ScrollBarButtonType type)
todo 1. |
void |
setScrollbar(javax.swing.JScrollBar scrollbar)
Sets scroll bar which uses this button. |
Methods inherited from class com.alee.extended.painter.AbstractPainter |
---|
addPainterListener, getMargin, getPreferredSize, install, isOpaque, p, removePainterListener, repaint, repaint, repaint, revalidate, setMargin, setMargin, setMargin, setOpaque, setPreferredSize, uninstall, updateAll, updateOpacity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.alee.extended.painter.Painter |
---|
addPainterListener, getMargin, getPreferredSize, install, isOpaque, removePainterListener, uninstall |
Constructor Detail |
---|
public NPScrollBarButtonPainter()
Method Detail |
---|
public void setButtonType(ScrollBarButtonType type)
setButtonType
in interface ScrollBarButtonPainter<E extends javax.swing.AbstractButton>
type
- scroll bar button typepublic void setScrollbar(javax.swing.JScrollBar scrollbar)
ScrollBarButtonPainter
setScrollbar
in interface ScrollBarButtonPainter<E extends javax.swing.AbstractButton>
scrollbar
- scroll bar which uses this buttonpublic void paint(java.awt.Graphics2D g2d, java.awt.Rectangle bounds, E c)
Painter
paint
in interface Painter<E extends javax.swing.AbstractButton>
g2d
- component graphicsbounds
- bounds for painter visual datac
- component to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |