public class CallbackGUIBindings extends Object
Modifier and Type | Class and Description |
---|---|
class |
CallbackGUIBindings.Binding<C extends Callback> |
class |
CallbackGUIBindings.Choice |
class |
CallbackGUIBindings.Confirmation |
class |
CallbackGUIBindings.Language |
protected static class |
CallbackGUIBindings.MessageType
Simplifies converting between option pane message types and callback
message types.
|
class |
CallbackGUIBindings.Name |
class |
CallbackGUIBindings.Password |
class |
CallbackGUIBindings.TextInput |
class |
CallbackGUIBindings.TextOutput |
Modifier and Type | Field and Description |
---|---|
protected static int |
LIST_ROWS
number of rows to be visible in JLists used to display information
|
protected static int |
TEXT_COLUMNS
number of columns for text areas
|
protected static int |
TEXT_ROWS
number of rows of text to be visible in text areas
|
Constructor and Description |
---|
CallbackGUIBindings() |
Modifier and Type | Method and Description |
---|---|
CallbackGUIBindings.Binding |
createCallbackGUIBinding(Callback callback)
Factory method for creating the appropriate callback-to-U/I binding
object given a callback.
|
CallbackGUIBindings.Confirmation |
getDefaultConfirmationCallbackUIBinding()
Creates a default ConfirmationCallback binding (because the caller did
not provide one).
|
protected static final int LIST_ROWS
protected static final int TEXT_ROWS
protected static final int TEXT_COLUMNS
public CallbackGUIBindings.Binding createCallbackGUIBinding(Callback callback) throws UnsupportedCallbackException, InstantiationException, IllegalAccessException, NoSuchMethodException, IllegalArgumentException, InvocationTargetException
callback
- the Callback for which to create the bindingUnsupportedCallbackException
- if the
type of callback is not recognizedInstantiationException
IllegalAccessException
NoSuchMethodException
IllegalArgumentException
InvocationTargetException
public CallbackGUIBindings.Confirmation getDefaultConfirmationCallbackUIBinding()
Copyright © 2021. All rights reserved.