public class AWTInputPanel extends AbstractInputPanel<Panel,Panel>
InputPanel
.widgets
Constructor and Description |
---|
AWTInputPanel() |
Modifier and Type | Method and Description |
---|---|
void |
addWidget(InputWidget<?,Panel> widget)
Adds a widget to the panel.
|
Panel |
getComponent()
Gets the user interface component housing this object.
|
Class<Panel> |
getComponentType()
Gets the type of the UI component housing the object.
|
Class<Panel> |
getWidgetComponentType()
Gets the type of the UI component housing the panel's widgets.
|
getValue, getWidget, getWidgetCount, hasWidgets, isMessageOnly, refresh
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supports
public void addWidget(InputWidget<?,Panel> widget)
InputPanel
addWidget
in interface InputPanel<Panel,Panel>
addWidget
in class AbstractInputPanel<Panel,Panel>
public Class<Panel> getWidgetComponentType()
InputPanel
public Panel getComponent()
UIComponent
public Class<Panel> getComponentType()
UIComponent
This method is useful in case UIComponent.getComponent()
returns null in some
circumstances. In this way, it is still possible to query the type of the
UI component without forcing the conditions that instantiate it.
Copyright © 2015–2022 SciJava. All rights reserved.