| java.lang.Object org.jvnet.substance.button.BaseButtonShaper org.jvnet.substance.button.StandardButtonShaper
StandardButtonShaper | public class StandardButtonShaper extends BaseButtonShaper implements RectangularButtonShaper(Code) | | Button shaper that returns buttons with completely rounded corners (ala Mac
10.4). This class is part of officially supported API.
author: Kirill Grouchnikov |
isProportionate | public boolean isProportionate()(Code) | | |
isRoundButton | public static boolean isRoundButton(AbstractButton button)(Code) | | Returns indication whether the specified button should be drawn with
completely round corners.
Parameters: button - A button. true if the specified button should be drawn withcompletely round corners, false otherwise. |
Methods inherited from org.jvnet.substance.button.BaseButtonShaper | public static GeneralPath getBaseOutline(AbstractButton button, float radius, Set<Side> straightSides)(Code)(Java Doc) public static GeneralPath getBaseOutline(int width, int height, float radius, Set<Side> straightSides)(Code)(Java Doc) public static GeneralPath getBaseOutline(int width, int height, float radius, Set<Side> straightSides, int insets)(Code)(Java Doc) public static GeneralPath getBaseOutline(int width, int height, float radius, Set<Side> straightSides, Insets insets)(Code)(Java Doc) public GeneralPath getButtonOutline(AbstractButton button, Insets insets)(Code)(Java Doc) public GeneralPath getButtonOutline(AbstractButton button)(Code)(Java Doc) public static GeneralPath getTriangleButtonOutline(int width, int height, float radius, int insets)(Code)(Java Doc) public static GeneralPath getTriangleButtonOutline(int width, int height, float radius, Insets insets)(Code)(Java Doc)
|
|
|