/Users/lyon/j4p/src/j2d/Images.java
|
1 package j2d;
2
3 import xml.Utils;
4
5 import javax.swing.*;
6
7 /**
8 * Copyright DocJava, inc.
9 * User: lyon
10 * Date: Aug 27, 2004
11 * Time: 10:40:03 AM
12 */
13 public class Images {
14 private static String ShortImageBeanExit =
15 "H4sIAAAAAAAAAFvzloG1uIhBKMsoRS84I7+oxDM3MT3VKTUx79Jz7fNOD1JnMjGwRDMwJpUwMEdHB/swsCfnZBYUpBaVMPD6pJdm6jtDuNZANemFDHUMjEBGEZhRUVBaBNZUsy52nZC1iykTA0NFAQMDgwBQnCk6+H2zHtvT2A2/4MIM3xn+44RODN9LQcaywVWewwpb6KiSAUkNAwGVDHB1+FXCVCB04HMnA5I66qgk1nbifUR8KFE7jlpwQHSVTnjgd2Du4AYmdD1oQn/8IahS7ff83UwMjFGwzJACTL9gA1nAqRth9Dm8CfocmsprWGELHVUyIKlhIKCSAa4Ov0qYCoQOfO5kQFJHHZXE2k68j4gPJWrHEe4EjaoSX4I+hzWlLsWbUpeiqcTtYnqpxB4H2FVii1fstmNLK7jciZn+KFVJrO3E+4j4UKJ2HOFOqagq8aXUpQBz65GonQgAAA==";
16 private static String ShortImageBeanOpen =
17 "H4sIAAAAAAAAAFvzloG1uIhBKMsoRS84I7+oxDM3MT3VKTUx79Jz7fNOD1JnMjGwRDMwJpUwMEdHB/swsCfnZBYUpBaVMPD6pJdm6jtDuNZANemFDHUMjEBGEZhRUVBaBNZUsy52nZC1iykTA0NFAQMDgwBQnCk6+H2zHtvT2A2/4MIM5+AQEwBFS0HGsqGoZGD4j4Zxq0RXh08lqjpcKs9hqMOnElUdITOJU0nYTAYizWQg2kxklcSZia7+HA53opt8DqvKc0hyKOqwmImq8hxOlajuROEDcwc3MKHrQRP64w9BlWq/5+9mYmCMgmWGFGD6BRvIAjIQyehrcIgJgKJYVIICHxkSq5KBYS8elQwo6nCrRJgKUUdYJUwd/VQyEKmSgWgzESohgLBKmHokdVjdyYCiEq4bw+8MKCqRbMEwkwHFtddwqkR15zUMlaMpdTSlDvqUCgCbGTxOnQgAAA==";
18 private static String ShortImageBeanRevert =
19 "H4sIAAAAAAAAAFvzloG1uIhBKMsoRS84I7+oxDM3MT3VKTUx79Jz7fNOD1JnMjGwRDMwJpUwMEdHB/swsCfnZBYUpBaVMPD6pJdm6jtDuNZANemFDHUMjEBGEZhRUVBaBNZUsy52nZC1iykTA0NFAQMDgwBQnCk6+H2zHtvT2A2/4MIM5/DDUpCxbGgqQQCDh0UlDBBSiQyopZIUdw6USmSfIPsLDChUyYBNFw6VCLVwUTwqz6GYjVslcgwRUokGgLmDG5jQ9aAJ/fGHoEq13/N3MzEwRsEyQwow/YINZAEZiGT0NfwQq0oQwOBhUQkDhFQiA2qpJMWdA6US2SfI/kKPfnJUMmDThUMlQi1cFI/Kayhm41aJHEOEVKKB0ZQ6yFQi+wTZX7jjdYSkVADMCBJtnQgAAA==";
20 private static String ShortImageBeanSave =
21 "H4sIAAAAAAAAAFvzloG1uIhBKMsoRS84I7+oxDM3MT3VKTUx79Jz7fNOD1JnMjGwRDMwJpUwMEdHB/swsCfnZBYUpBaVMPD6pJdm6jtDuNZANemFDHUMjEBGEZhRUVBaBNZUsy52nZC1iykTA0NFAQMDgwBQnCk6+H2zHtvT2A2/4MIM5/DDUpCxbFCVuAHxKhkoUInsslGVMDb5KnEDTDOJVUmsmXghMHdwAxO6HjShP/4QVKn2e/5uJgbGKFhmSAGmX7CBLCADkYy+hh+iqMQNMFXuxQEZ8JqJXyWyyxjAKuD2j0CVMDb5KtFDHp/t2GMUv5mo4BqJqW40pQ4XlcM4pQIAdEPpCJ0IAAA=";
22
23 public static Icon getRevertIcon() {
24 return new ImageIcon(Utils.decodeImage(ShortImageBeanRevert), "revert");
25 }
26
27 public static Icon getSaveIcon() {
28 return new ImageIcon(Utils.decodeImage(ShortImageBeanSave), "save");
29 }
30
31 public static Icon getExitIcon() {
32 return new ImageIcon(Utils.decodeImage(ShortImageBeanExit), "exit");
33 }
34
35 public static Icon getOpenIcon() {
36 return new ImageIcon(Utils.decodeImage(ShortImageBeanOpen), "open");
37 }
38
39 }
40