01: /*
02: * @(#)ButtonStyle.java 7/1/2005
03: *
04: * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
05: */
06: package com.jidesoft.swing;
07:
08: /**
09: * The definitions of various button style. This is used by <code>JideButton</code>
10: * and <code>JideSplitButton</code>.
11: */
12: public interface ButtonStyle {
13: public final static String BUTTON_STYLE_PROPERTY = "buttonStyle";
14:
15: final static int TOOLBAR_STYLE = 0;
16: final static int TOOLBOX_STYLE = 1;
17: final static int FLAT_STYLE = 2;
18: final static int HYPERLINK_STYLE = 3;
19:
20: /**
21: * Gets the button style.
22: *
23: * @return the button style.
24: */
25: int getButtonStyle();
26:
27: /**
28: * Sets the button style.
29: *
30: * @param buttonStyle the button style.
31: */
32: void setButtonStyle(int buttonStyle);
33: }
|