Parent Directory
|
Revision Log
* Chart has a new button to zoom to full chart extend
1 | alfonx | 486 | package skrueger.swing; |
2 | |||
3 | import javax.swing.Action; | ||
4 | import javax.swing.BorderFactory; | ||
5 | import javax.swing.JButton; | ||
6 | import javax.swing.JToggleButton; | ||
7 | |||
8 | public class SmallToggleButton extends JToggleButton{ | ||
9 | |||
10 | public SmallToggleButton() { | ||
11 | setBorder(BorderFactory.createEtchedBorder()); | ||
12 | } | ||
13 | |||
14 | public SmallToggleButton(Action action, String tooltip) { | ||
15 | this (action); | ||
16 | if (tooltip != null) | ||
17 | setToolTipText(tooltip); | ||
18 | } | ||
19 | |||
20 | public SmallToggleButton(Action action) { | ||
21 | super(action); | ||
22 | setBorder(BorderFactory.createEtchedBorder()); | ||
23 | } | ||
24 | |||
25 | } |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id URL |
svn:mime-type | text/plain |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |