Module is.codion.swing.framework.ui
Class DefaultFrameworkIcons
java.lang.Object
is.codion.swing.framework.ui.icon.DefaultFrameworkIcons
- All Implemented Interfaces:
Icons
,Logos
,FrameworkIcons
A default FrameworkIcons implementation.
-
Field Summary
Fields inherited from interface is.codion.swing.framework.ui.icon.FrameworkIcons
FRAMEWORK_ICONS_CLASSNAME
Fields inherited from interface is.codion.swing.common.ui.icon.Icons
DEFAULT_ICON_SIZE, ICON_COLOR, ICON_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd()
void
add
(org.kordamp.ikonli.Ikon... ikons) Adds the given ikons to this FrameworkIcons instance.calendar()
clear()
copy()
delete()
detail()
Disables the dynamic color change listenerdown()
edit()
editText()
Adds a listener to theIcons.ICON_COLOR
property value, dynamically changing the color of the icons in this instance.filter()
icon
(org.kordamp.ikonli.Ikon ikon) Retrieves the ImageIcon associated with the given ikon from this FrameworkIcons instance.void
Sets the icon colorlogo()
logo
(int size) print()
refresh()
search()
settings()
summary()
up()
update()
-
Constructor Details
-
DefaultFrameworkIcons
public DefaultFrameworkIcons()
-
-
Method Details
-
add
public void add(org.kordamp.ikonli.Ikon... ikons) Description copied from interface:Icons
Adds the given ikons to this FrameworkIcons instance. Retrieve an icon viaIcons.icon(Ikon)
. -
icon
Description copied from interface:Icons
Retrieves the ImageIcon associated with the given ikon from this FrameworkIcons instance. -
filter
- Specified by:
filter
in interfaceFrameworkIcons
- Returns:
- icon for the 'filter' action.
-
search
- Specified by:
search
in interfaceFrameworkIcons
- Returns:
- icon for the 'search' action.
-
add
- Specified by:
add
in interfaceFrameworkIcons
- Returns:
- icon for the 'add' action.
-
delete
- Specified by:
delete
in interfaceFrameworkIcons
- Returns:
- icon for the 'delete' action.
-
update
- Specified by:
update
in interfaceFrameworkIcons
- Returns:
- icon for the 'update' action.
-
copy
- Specified by:
copy
in interfaceFrameworkIcons
- Returns:
- icon for the 'copy' action.
-
refresh
- Specified by:
refresh
in interfaceFrameworkIcons
- Returns:
- icon for the 'refresh' action.
-
refreshRequired
- Specified by:
refreshRequired
in interfaceFrameworkIcons
- Returns:
- icon for the 'refresh' action.
-
clear
- Specified by:
clear
in interfaceFrameworkIcons
- Returns:
- icon for the 'clear' action.
-
up
- Specified by:
up
in interfaceFrameworkIcons
- Returns:
- icon for the 'up' action.
-
down
- Specified by:
down
in interfaceFrameworkIcons
- Returns:
- icon for the 'down' action.
-
detail
- Specified by:
detail
in interfaceFrameworkIcons
- Returns:
- icon for the 'detail' action.
-
print
- Specified by:
print
in interfaceFrameworkIcons
- Returns:
- icon for the 'print' action.
-
clearSelection
- Specified by:
clearSelection
in interfaceFrameworkIcons
- Returns:
- icon for the 'clear selection' action.
-
edit
- Specified by:
edit
in interfaceFrameworkIcons
- Returns:
- icon for the 'edit' action.
-
summary
- Specified by:
summary
in interfaceFrameworkIcons
- Returns:
- icon for the 'summary' action.
-
editPanel
- Specified by:
editPanel
in interfaceFrameworkIcons
- Returns:
- icon for the 'edit panel' action.
-
dependencies
- Specified by:
dependencies
in interfaceFrameworkIcons
- Returns:
- icon for the 'dependencies' action.
-
settings
- Specified by:
settings
in interfaceFrameworkIcons
- Returns:
- icon for a 'settings' action.
-
calendar
- Specified by:
calendar
in interfaceFrameworkIcons
- Returns:
- icon for a 'calendar' action
-
editText
- Specified by:
editText
in interfaceFrameworkIcons
- Returns:
- icon for a 'editText' action
-
logo
- Specified by:
logo
in interfaceFrameworkIcons
- Returns:
- the logo icon.
-
logo
- Specified by:
logo
in interfaceFrameworkIcons
- Parameters:
size
- the logo size- Returns:
- a logo icon
-
iconColor
Description copied from interface:Icons
Sets the icon color -
enableIconColorListener
Description copied from interface:Icons
Adds a listener to theIcons.ICON_COLOR
property value, dynamically changing the color of the icons in this instance.- Specified by:
enableIconColorListener
in interfaceIcons
- Returns:
- this icons instance
-
disableIconColorListener
Description copied from interface:Icons
Disables the dynamic color change listener- Specified by:
disableIconColorListener
in interfaceIcons
- Returns:
- this icons instance
-