# 翻页/退出界面

## 调用方法

```java
InventoryManager.presetPage(ViewType.PREVIOUS_QUIT_NEXT);
```

## 介绍 <a href="#jie-shao" id="jie-shao"></a>

这个预设界面适用于需要翻页且没有上一级界面的场景。‌

点击下一页即可进入下一页，点击上一页同理。点击退出则关闭界面。

## **界面特性** <a href="#jie-mian-te-xing" id="jie-mian-te-xing"></a>

| **属性**              | 介绍           | 值               |
| ------------------- | ------------ | --------------- |
| isPageButtonEnabled | 是否开启翻页       | True            |
| autoAddPage         | 是否自动增加页面     | True            |
| isLastLineDisabled  | 最后一行是否禁用添加物品 | True            |
| backGroundColor     | 背景色          | BackGround.GRAY |
| middleButton        | 中间的按钮        | Button.QUIT     |
| pageNumber          | 预设页          | 1               |
| isOkCancelEnabled   | 是否开启确认/取消按钮  | False           |

​


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wisdomme.gitbook.io/ultitools/details/preset-page/page-quit-view.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
