public abstract class BaseButtonShaper extends java.lang.Object implements SubstanceButtonShaper
Constructor and Description |
---|
BaseButtonShaper() |
Modifier and Type | Method and Description |
---|---|
java.awt.Shape |
getButtonOutline(javax.swing.AbstractButton button)
Returns the outline path for the specified control.
|
java.awt.Shape |
getButtonOutline(javax.swing.AbstractButton button,
java.awt.Insets insets)
Returns the outline path for the specified button.
|
java.awt.Shape |
getButtonOutline(javax.swing.AbstractButton button,
java.awt.Insets insets,
int width,
int height)
Returns the outline path for the specified button.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getButtonBorder, getButtonOutline, getDisplayName, getPreferredSize, isProportionate
public final java.awt.Shape getButtonOutline(javax.swing.AbstractButton button, java.awt.Insets insets)
SubstanceButtonShaper
getButtonOutline
in interface SubstanceButtonShaper
button
- A button.insets
- Button insets.public final java.awt.Shape getButtonOutline(javax.swing.AbstractButton button)
SubstanceButtonShaper
getButtonOutline
in interface SubstanceButtonShaper
button
- A button.public final java.awt.Shape getButtonOutline(javax.swing.AbstractButton button, java.awt.Insets insets, int width, int height)
SubstanceButtonShaper
getButtonOutline
in interface SubstanceButtonShaper
button
- A button.insets
- Button insets.width
- Button width.height
- Button height.