Package | Description |
---|---|
com.codename1.rad.components.loginform | |
com.codename1.rad.controllers |
This package contains controllers for CodeRAD applications.
|
com.codename1.rad.events |
This package contains utility classes for CodeRAD events.
|
com.codename1.rad.nodes |
This package contains
Node classes for use inside UI descriptors. |
com.codename1.rad.ui |
This package contains the foundation classes for CodeRAD views.
|
com.codename1.rad.ui.entityviews |
This package contains entity views - view components that are bound to an Entity value model.
|
Modifier and Type | Method and Description |
---|---|
LoginView.Builder |
LoginView.Builder.forgotPasswordAction(ActionNode action) |
LoginView.Builder |
LoginView.Builder.loginAction(ActionNode login) |
LoginView.Builder |
LoginView.Builder.registerAction(ActionNode action) |
Modifier and Type | Method and Description |
---|---|
ActionNode |
Controller.extendAction(ActionNode.Category category,
boolean overwriteAttributes,
Attribute... attributes)
Extends an existing action from one of the parent controllers, and registers it as an action
on this controller.
|
ActionNode |
Controller.extendAction(ActionNode.Category category,
SuccessCallback<ActionNode> callback)
Extends an action from a parent controller, and registers it as an action on this controller.
|
ActionNode |
Controller.getAction(ActionNode.Category category)
Gets an action in the specified category that is registered on this controller.
|
ActionNode |
Controller.getInheritedAction(ActionNode.Category category)
Gets the first action matching the given category that is registered on this controller
or one of the controller’s parents.
|
Modifier and Type | Method and Description |
---|---|
void |
Controller.addAction(ActionNode.Category category,
ActionNode action,
ActionListener<ActionNode.ActionNodeEvent> l) |
void |
Controller.addActionListener(ActionNode action,
ActionListener<ActionNode.ActionNodeEvent> l)
Adds a listener to respond to events fired by a given action.
|
void |
Controller.addActions(ActionNode.Category category,
ActionNode... actions)
Adds a set of actions to this controller, registered to a given category.
|
void |
Controller.removeActionListener(ActionNode action,
ActionListener<ActionNode.ActionNodeEvent> l) |
Modifier and Type | Method and Description |
---|---|
ActionNode |
Controller.extendAction(ActionNode.Category category,
SuccessCallback<ActionNode> callback)
Extends an action from a parent controller, and registers it as an action on this controller.
|
Modifier and Type | Method and Description |
---|---|
ActionNode |
EventContext.getAction() |
Modifier and Type | Method and Description |
---|---|
EventContext |
EventContext.copyWithNewAction(ActionNode action) |
void |
EventContext.setAction(ActionNode action) |
Constructor and Description |
---|
EventContext(Entity entity,
Component source,
ActionNode action) |
Modifier and Type | Class and Description |
---|---|
static class |
ActionNode.Disabled
A sub-node of an ActionNode that contains attributes for the action specific to
its disabled state.
|
static class |
ActionNode.Pressed
A sub-node of an ActionNode that contains attributes for the action specific
to its pressed state.
|
static class |
ActionNode.Selected
A sub-node of an ActionNode that contains attributes for the action specific to
its selected state.
|
static class |
ActionNode.Unselected
A sub-node of an ActionNode that contains attributes for the action specific to
its unselected state.
|
Modifier and Type | Method and Description |
---|---|
ActionNode |
ActionNode.Builder.build() |
ActionNode |
ActionNode.ActionNodeEvent.getAction()
Gets the action that triggeed this event.
|
ActionNode |
Node.getAction(ActionNode.Category category)
Gets an action defined on this node that matches the given category.
|
static ActionNode |
ActionNode.getActionNode(ActionEvent evt) |
ActionNode |
ActionNode.getDisabled()
Gets the disabled action node.
|
ActionNode |
Node.getInheritedAction(ActionNode.Category category)
Gets action matching the given category in this node.
|
ActionNode |
ActionNode.getPressed()
Gets the pressed action node.
|
ActionNode |
ActionNode.getSelected()
Gets the selected action node.
|
ActionNode |
ActionNode.getUnselected()
Gets the unselected action node.
|
Modifier and Type | Method and Description |
---|---|
Iterator<ActionNode> |
ActionsNode.iterator() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ActionNode.asActionNodeEvent(ActionEvent evt,
ActionNode action,
SuccessCallback<ActionNode.ActionNodeEvent> callback) |
static ActionNode.ActionNodeEvent |
ActionNode.getActionNodeEvent(ActionEvent evt,
ActionNode action) |
static ActionNode.Builder |
ActionNode.mutator(ActionNode node) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ActionNode.asActionNode(ActionEvent evt,
SuccessCallback<ActionNode> callback)
If the provided event is an ActionNode, then it will be passed as an argument to the callback.
|
Constructor and Description |
---|
Builder(ActionNode action) |
Modifier and Type | Method and Description |
---|---|
static ActionNode |
UI.action(Attribute... atts) |
ActionNode[] |
Actions.toArray() |
Modifier and Type | Method and Description |
---|---|
Iterator<ActionNode> |
Actions.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
Actions.add(ActionNode... nodes) |
static ActionsNode |
UI.addAction(ActionNode insertAction)
Adds a
ActionCategories.LIST_ADD_ACTION used by EntityListView |
void |
Actions.copyAttributes(ActionNode source) |
void |
Actions.copyAttributesIfNotExists(ActionNode source) |
Component |
SettingsForm.SettingsFormActionViewFactory.createActionView(Entity entity,
ActionNode action) |
Component |
DefaultActionViewFactory.createActionView(Entity entity,
ActionNode action) |
Component |
ActionViewFactory.createActionView(Entity entity,
ActionNode action) |
int |
Actions.indexOf(ActionNode action) |
static void |
DefaultActionViewFactory.initUI(Button btn,
Entity entity,
ActionNode action) |
static void |
DefaultActionViewFactory.initUI(MultiButton btn,
Entity entity,
ActionNode action) |
static ActionsNode |
UI.loadMoreAction(ActionNode loadMoreAction)
Adds a
ActionCategories.LIST_LOAD_MORE_ACTION used by EntityListView |
static ActionsNode |
UI.refreshAction(ActionNode refreshAction)
Adds a
ActionCategories.LIST_REFRESH_ACTION used by EntityListView |
static ActionsNode |
UI.removeAction(ActionNode removeAction)
Adds a
ActionCategories.LIST_REMOVE_ACTION used by EntityListView . |
static ActionsNode |
UI.selectAction(ActionNode selectAction)
Adds a
ActionCategories.LIST_SELECT_ACTION used by EntityListView |
static void |
DefaultActionViewFactory.update(Button btn,
Entity entity,
ActionNode action) |
static void |
DefaultActionViewFactory.update(MultiButton btn,
Entity entity,
ActionNode action) |
Modifier and Type | Method and Description |
---|---|
void |
Actions.add(Iterable<ActionNode> actions) |
Constructor and Description |
---|
Actions(ActionNode... actions) |
SettingsFormActionView(Entity entity,
ActionNode action) |
Constructor and Description |
---|
Actions(Iterable<ActionNode> actions) |
Modifier and Type | Method and Description |
---|---|
EntityListView.Builder |
EntityListView.Builder.addAction(ActionNode addAction) |
EntityListView.Builder |
EntityListView.Builder.loadMoreAction(ActionNode loadMoreAction) |
EntityListView.Builder |
EntityListView.Builder.refreshAction(ActionNode refreshAction) |
EntityListView.Builder |
EntityListView.Builder.removeAction(ActionNode removeAction) |
EntityListView.Builder |
EntityListView.Builder.selectAction(ActionNode selectAction) |
void |
MultiButtonEntityView.setAction(ActionNode action)
Deprecated.
|
Copyright © 2021. All Rights Reserved.