Module is.codion.swing.framework.ui
Interface FrameworkIcons
- All Known Implementing Classes:
DefaultFrameworkIcons
Provides icons for framework ui components.
The icon color follows the 'Button.foreground' color of the current Look and feel.
Add custom icons via
Icons.add(Ikon...)
(Ikon)} and retrieve them via Icons.icon(Ikon)
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PropertyValue<String>
Specifies the name of theFrameworkIcons
implementation class to use.Fields inherited from interface is.codion.swing.common.ui.icon.Icons
DEFAULT_ICON_SIZE, ICON_COLOR, ICON_SIZE
-
Method Summary
Methods inherited from interface is.codion.swing.common.ui.icon.Icons
add, disableIconColorConsumer, enableIconColorConsumer, icon, iconColor
-
Field Details
-
FRAMEWORK_ICONS_CLASSNAME
Specifies the name of theFrameworkIcons
implementation class to use.
-
-
Method Details
-
filter
ImageIcon filter()- Returns:
- icon for the 'filter' action.
-
search
ImageIcon search()- Returns:
- icon for the 'search' action.
-
add
ImageIcon add()- Returns:
- icon for the 'add' action.
-
delete
ImageIcon delete()- Returns:
- icon for the 'delete' action.
-
update
ImageIcon update()- Returns:
- icon for the 'update' action.
-
copy
ImageIcon copy()- Returns:
- icon for the 'copy' action.
-
refresh
ImageIcon refresh()- Returns:
- icon for the 'refresh' action.
-
refreshRequired
ImageIcon refreshRequired()- Returns:
- icon for the 'refresh' action.
-
clear
ImageIcon clear()- Returns:
- icon for the 'clear' action.
-
up
ImageIcon up()- Returns:
- icon for the 'up' action.
-
down
ImageIcon down()- Returns:
- icon for the 'down' action.
-
detail
ImageIcon detail()- Returns:
- icon for the 'detail' action.
-
print
ImageIcon print()- Returns:
- icon for the 'print' action.
-
clearSelection
ImageIcon clearSelection()- Returns:
- icon for the 'clear selection' action.
-
edit
ImageIcon edit()- Returns:
- icon for the 'edit' action.
-
summary
ImageIcon summary()- Returns:
- icon for the 'summary' action.
-
editPanel
ImageIcon editPanel()- Returns:
- icon for the 'edit panel' action.
-
dependencies
ImageIcon dependencies()- Returns:
- icon for the 'dependencies' action.
-
settings
ImageIcon settings()- Returns:
- icon for a 'settings' action.
-
calendar
ImageIcon calendar()- Returns:
- icon for a 'calendar' action
-
editText
ImageIcon editText()- Returns:
- icon for a 'editText' action
-
columns
ImageIcon columns()- Returns:
- icon for a 'columns' action
-
logo
ImageIcon logo()- Returns:
- the logo icon.
-
logo
- Parameters:
size
- the logo size- Returns:
- a logo icon
-
instance
- Returns:
- a
FrameworkIcons
implementation of the type specified byFRAMEWORK_ICONS_CLASSNAME
. - Throws:
IllegalArgumentException
- in case no such implementation is found
-