public class AttachmentListCellRenderer extends Object implements ListCellRenderer
| Modifier and Type | Field and Description |
|---|---|
static int |
CHECK |
protected AttachmentComponent |
component |
static String |
DEFAULT_URI_PROP |
static int |
DELETE |
static int |
EDIT_DESCRIPTION |
static String |
EDIT_DESCRIPTION_TIP |
protected static Hashtable |
icons |
protected static boolean |
initIcons |
protected static ImageIcon |
key |
static int |
OPEN |
protected static Hashtable |
privateIcons |
protected static Icon |
privateUnknownIcon |
static int |
SAVE |
static String |
UNKNOWN_EXTENSION_ICON |
protected static ImageIcon |
unknownIcon |
static String |
URI_KEY |
| Constructor and Description |
|---|
AttachmentListCellRenderer(ResourceBundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
static Hashtable |
getIcons() |
Component |
getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus) |
static Hashtable |
getPrivateIcons() |
static Icon |
getPrivateUnknownIcon() |
static ImageIcon |
getUnknownIcon() |
protected static void |
initIcons() |
void |
setResourceBundle(ResourceBundle bundle) |
public static final String EDIT_DESCRIPTION_TIP
public static final int CHECK
public static final int SAVE
public static final int OPEN
public static final int DELETE
public static final int EDIT_DESCRIPTION
public static final String URI_KEY
public static final String DEFAULT_URI_PROP
public static final String UNKNOWN_EXTENSION_ICON
protected static Hashtable icons
protected static Hashtable privateIcons
protected static ImageIcon unknownIcon
protected static Icon privateUnknownIcon
protected static ImageIcon key
protected static boolean initIcons
protected AttachmentComponent component
public AttachmentListCellRenderer(ResourceBundle bundle)
protected static void initIcons()
public static Hashtable getIcons()
public static Hashtable getPrivateIcons()
public static ImageIcon getUnknownIcon()
public static Icon getPrivateUnknownIcon()
public void setResourceBundle(ResourceBundle bundle)
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent in interface ListCellRendererCopyright © 2016 Imatia Innovation S.L.. All rights reserved.