Record Class GuideAction.Refresh
java.lang.Object
java.lang.Record
ke.ric.api.guide.GuideAction.Refresh
- All Implemented Interfaces:
GuideAction
- Enclosing interface:
GuideAction
public static record GuideAction.Refresh(Map<String,String> state, int pageIndex)
extends Record
implements GuideAction
Replace the current view in place. The one-argument form keeps its list page.
-
Nested Class Summary
Nested classes/interfaces inherited from interface GuideAction
GuideAction.Cancel, GuideAction.Message, GuideAction.Open, GuideAction.Pick, GuideAction.Recipe, GuideAction.Refresh, GuideAction.Select, GuideAction.TutorialModifier and TypeInterfaceDescriptionstatic final recordReturn from a picker with its original state.static final recordstatic final recordOpen a child destination.static final recordOpen a temporary picker without changing navigation history.static final recordOpen a real station recipe using Core history, without retaining an addon callback.static final recordReplace the current view in place.static final recordReturn from a picker with replacement state for its originating view.static final recordLaunch a current lesson, or the named catalogue when lessonId is empty. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thepageIndexrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Refresh
-
Refresh
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
state
-
pageIndex
public int pageIndex()Returns the value of thepageIndexrecord component.- Returns:
- the value of the
pageIndexrecord component
-