public class DefaultSwingTabTypeManager extends java.lang.Object implements SwingTabTypeManager
| Constructor and Description |
|---|
DefaultSwingTabTypeManager() |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.Icon |
getIcon(java.lang.String type)
Return the icon for a type.
|
java.util.Set<java.lang.String> |
getIconTypes()
Return the supported icon types.
|
boolean |
registerIcon(java.net.URL url,
java.lang.String type)
Register an icon for a type.
|
public javax.swing.Icon getIcon(java.lang.String type)
getIcon in interface TabTypeManager<javax.swing.Icon>type - the typepublic java.util.Set<java.lang.String> getIconTypes()
getIconTypes in interface TabTypeManager<javax.swing.Icon>public boolean registerIcon(java.net.URL url,
java.lang.String type)
registerIcon in interface TabTypeManager<javax.swing.Icon>url - the URL for the icontype - the type