Modul de.rpgframework.rules
Schnittstelle ComplexDataItemController<D extends DataItem,V extends DataItemValue<D>>
- Alle Superschnittstellen:
PartialController<D>,ProcessingStep
- Alle bekannten Unterschnittstellen:
LevellingProfileController,NumericalDataItemController<D,V>
public interface ComplexDataItemController<D extends DataItem,V extends DataItemValue<D>>
extends PartialController<D>
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcanBeDeselected(V value) Check if the user is allowed to deselect the itemcanBeSelected(D value, Decision... decisions) Check if the user is allowed to select the itembooleanRemove/Deselect the item (UNDO mode)default booleandeselect(V value, ComplexDataItemController.RemoveMode mode) Get all no yet selected items - either even with those whose requirements are not met, or without them-getChoicesToDecide(D value) Get the choices to be made should the user want to select the itemgetRecommendationState(D value) getRecommendationState(V value) Get a list of all currently selected itemsfloatgetSelectionCost(D data) default StringgetSelectionCostString(D data) Add/Select the item using the given decisionsVon Schnittstelle geerbte Methoden de.rpgframework.genericrpg.chargen.PartialController
decide, getAsChoice, getAsModificationChoice, getCharacterController, getChoices, getChoiceUUIDs, getModel, getToDos, rollVon Schnittstelle geerbte Methoden de.rpgframework.character.ProcessingStep
process
-
Methodendetails
-
getAvailable
Get all no yet selected items - either even with those whose requirements are not met, or without them-- Parameter:
ignoreRequirements- Also return items whose requirements are not met- Gibt zurück:
-
getSelected
Get a list of all currently selected items -
getRecommendationState
-
getRecommendationState
-
getChoicesToDecide
Get the choices to be made should the user want to select the item- Parameter:
value- Item to select- Gibt zurück:
- List of choices to make
-
canBeSelected
Check if the user is allowed to select the item- Parameter:
value- Item to selectdecisions- Decisions made- Gibt zurück:
- Selection allowed or not
- Löst aus:
IllegalArgumentException- Thrown if a decision is missing or invalid
-
select
Add/Select the item using the given decisions- Parameter:
value- Item to selectdecisions- Decisions made- Gibt zurück:
- value instance of selected item
- Löst aus:
IllegalArgumentException- Thrown if a decision is missing or invalid
-
canBeDeselected
Check if the user is allowed to deselect the item- Parameter:
value- ItemValue to deselect- Gibt zurück:
- Deselection allowed or not
-
deselect
Remove/Deselect the item (UNDO mode)- Parameter:
value- Item to select- Gibt zurück:
- TRUE if item has been deselected
- Löst aus:
IllegalArgumentException- Thrown if a decision is missing or invalid
-
deselect
-
getSelectionCost
-
getSelectionCostString
-