Class ExtensionButton.Builder
- java.lang.Object
-
- org.rspeer.ui.component.extension.ExtensionButton.Builder
-
- Enclosing class:
- ExtensionButton
public static class ExtensionButton.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionButton
build()
ExtensionButton.Builder
floatable(boolean floatable)
ExtensionButton.Builder
fontAwesome(String fontAwesome)
ExtensionButton.Builder
icon(BufferedImage icon)
ExtensionButton.Builder
onClick(Runnable onClick)
ExtensionButton.Builder
panel(ExtensionPanel panel)
ExtensionButton.Builder
popup(Map<String,Runnable> popup)
ExtensionButton.Builder
priority(int priority)
ExtensionButton.Builder
tooltip(String tooltip)
-
-
-
Method Detail
-
icon
public ExtensionButton.Builder icon(BufferedImage icon)
-
fontAwesome
public ExtensionButton.Builder fontAwesome(String fontAwesome)
-
tooltip
public ExtensionButton.Builder tooltip(String tooltip)
-
onClick
public ExtensionButton.Builder onClick(Runnable onClick)
-
panel
public ExtensionButton.Builder panel(ExtensionPanel panel)
-
priority
public ExtensionButton.Builder priority(int priority)
-
floatable
public ExtensionButton.Builder floatable(boolean floatable)
-
popup
public ExtensionButton.Builder popup(Map<String,Runnable> popup)
-
build
public ExtensionButton build()
-
-