PluginPanel

Extends
JPanel
Methods
5
Fields
4

Getting one

PluginPanel.new()
NavigationButton.builder():build():getPanel()

Methods

MethodReturnsDescription
getWrappedPanel()JPanelThe panel the sidebar shows: the wrap's outermost panel, or this panel when it was built with PluginPanel(false).
getScrollPane()JScrollPane?The wrap's scroll pane, or nil for PluginPanel(false).
new()PluginPanel() -> PluginPanel: PluginPanel(true): the wrap built now.
new(boolean)PluginPanel
init(PluginPanel)()(PluginPanel) -> (): PluginPanel(true): the wrap built now.
init(PluginPanel, boolean)()
isInstance(any)booleanWhether obj is a PluginPanel object, a class(PluginPanel) subclass's included.

Fields

FieldTypeDescription
PANEL_WIDTHnumberPluginPanel.PANEL_WIDTH: 225.
SCROLLBAR_WIDTHnumberPluginPanel.SCROLLBAR_WIDTH: 17.
BORDER_OFFSETnumberPluginPanel.BORDER_OFFSET: 6.
superJPanelClassJPanel's class table: the base class.

Returned by

MethodReturnsDescription
NavigationButton.getPanelPluginPanel?The panel it opens.
PluginPanelClass.newPluginPanel() -> PluginPanel: PluginPanel(true): the wrap built now.

Method details

getWrappedPanel

getWrappedPanel: (PluginPanel) -> JPanel

The panel the sidebar shows: the wrap's outermost panel, or this panel when it was built with PluginPanel(false).

new

new: (() -> PluginPanel) & ((boolean) -> PluginPanel)

() -> PluginPanel: PluginPanel(true): the wrap built now.

(boolean) -> PluginPanel: The wrap only when wrap.

init

init: ((PluginPanel) -> ()) & ((PluginPanel, boolean) -> ())

(PluginPanel) -> (): PluginPanel(true): the wrap built now.

(PluginPanel, boolean) -> (): The wrap only when wrap.

isInstance

isInstance: (any) -> boolean

Whether obj is a PluginPanel object, a class(PluginPanel) subclass's included.