Proxy.IconsRO
public static interface Proxy.Icons extends Proxy.IconsRO
node.icons
- read-write.Modifier and Type | Method | Description |
---|---|---|
void |
add(String name) |
adds an icon to a node if an icon for the given key can be found.
|
void |
addAll(Collection<String> names) |
|
void |
addAll(Proxy.IconsRO icons) |
|
void |
addIcon(String name) |
Deprecated.
since 1.2 - use
add(String) instead. |
void |
clear() |
removes all icons.
|
boolean |
remove(int index) |
deletes the icon at the given index, returns true if success (icon existed).
|
boolean |
remove(String name) |
deletes first occurence of icon with the given name, returns true if success (icon existed).
|
boolean |
removeIcon(String name) |
Deprecated.
since 1.2 - use
remove(String) instead. |
void add(String name)
println("all available icon keys: " + FreeplaneIconUtils.listStandardIconKeys()) node.icons.addIcon("button_ok")
FreeplaneIconFactory
void addAll(Collection<String> names)
void addAll(Proxy.IconsRO icons)
void addIcon(String name)
add(String)
instead.boolean remove(int index)
boolean remove(String name)
boolean removeIcon(String name)
remove(String)
instead.void clear()