mirror of
https://github.com/CarmJos/EasyPlugin.git
synced 2026-06-05 00:58:17 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 03115031fd |
@@ -1,3 +0,0 @@
|
||||
# 欢迎使用 EasyPlugin !
|
||||
|
||||
这个项目刚刚创建,详细的Javadoc与开发指南还在补充,请给我一点时间~
|
||||
@@ -1,9 +0,0 @@
|
||||
# EasyPlugin Javadoc
|
||||
|
||||
基于 [Github Pages](https://pages.github.com/) 搭建,请访问 [JavaDoc](https://carmjos.github.io/EasyPlugin) 。
|
||||
|
||||
## 如何实现?
|
||||
|
||||
若您也想通过 [Github Actions](https://docs.github.com/en/actions/learn-github-actions)
|
||||
自动部署项目的Javadoc到 [Github Pages](https://pages.github.com/) ,
|
||||
可以参考我的文章 [《自动部署Javadoc到Github Pages》](https://pages.carm.cc/doc/javadoc-in-github.html) 。
|
||||
@@ -1,27 +0,0 @@
|
||||
# EasyPlugin Repository
|
||||
|
||||
采用github的repo分支进行依赖,随项目发布而自动更新。
|
||||
|
||||
其他依赖方式见主页介绍。
|
||||
|
||||
## 依赖方式
|
||||
|
||||
### Maven
|
||||
|
||||
```xml
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>EasyPlugin</id>
|
||||
<name>GitHub Branch Repository</name>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/blob/repo/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
```
|
||||
|
||||
### Gradle
|
||||
|
||||
```groovy
|
||||
repositories {
|
||||
maven { url 'https://github.com/CarmJos/EasyPlugin/blob/repo/' }
|
||||
}
|
||||
```
|
||||
@@ -1,2 +0,0 @@
|
||||
#github: [ CarmJos ]
|
||||
custom: [ 'https://donate.carm.cc' ]
|
||||
@@ -1,38 +0,0 @@
|
||||
---
|
||||
name: 问题提交
|
||||
about: 描述问题并提交,帮助我们对其进行检查与修复。
|
||||
title: ''
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
### **问题简述**
|
||||
|
||||
用简短的话语描述一下大概问题。
|
||||
|
||||
### **问题来源**
|
||||
|
||||
描述一下通过哪些操作才发现的问题,如:
|
||||
|
||||
1. 使用了 ...
|
||||
2. 输入了 ...
|
||||
3. 出现了报错 ...
|
||||
|
||||
### **预期结果**(可选)
|
||||
|
||||
如果问题不发生,应该是什么情况
|
||||
|
||||
### **问题截图/问题报错**
|
||||
|
||||
如果有报错或输出,请提供截图。
|
||||
|
||||
### **操作环境**
|
||||
|
||||
- 系统环境: `Windows 10` / `Ubuntu` / `...`
|
||||
- Java版本: `JDK11` / `OPENJDK8` / `JRE8` / `...`
|
||||
- 服务端版本: 请在后台输入 `version` 并复制相关输出。
|
||||
|
||||
### **其他补充**
|
||||
|
||||
如有其他补充,可以在这里描述。
|
||||
@@ -1,24 +0,0 @@
|
||||
---
|
||||
name: 功能需求
|
||||
about: 希望我们提供更多的功能。
|
||||
title: ''
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
### **功能简述**
|
||||
|
||||
简单的描述一下你想要的功能
|
||||
|
||||
### **需求来源**
|
||||
|
||||
简单的描述一下为什么需要这个功能。
|
||||
|
||||
### **功能参考**(可选)
|
||||
|
||||
如果有相关功能的参考,如文本、截图,请提供给我们。
|
||||
|
||||
### **附加内容**
|
||||
|
||||
如果有什么小细节需要重点注意,请在这里告诉我们。
|
||||
@@ -1,133 +0,0 @@
|
||||
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
||||
|
||||
name: Deploy & Publish
|
||||
|
||||
on:
|
||||
# 支持手动触发构建
|
||||
workflow_dispatch:
|
||||
release:
|
||||
# 创建release的时候触发
|
||||
types: [ published ]
|
||||
|
||||
jobs:
|
||||
packages-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Set up JDK"
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'adopt'
|
||||
cache: maven
|
||||
server-id: github
|
||||
server-username: MAVEN_USERNAME
|
||||
server-password: MAVEN_TOKEN
|
||||
|
||||
- name: "Maven Deploy"
|
||||
run: mvn -B -Pgithub deploy --file pom.xml -DskipTests -Dgpg.skip
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ github.repository_owner }}
|
||||
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
|
||||
github-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Set up JDK"
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'adopt'
|
||||
cache: maven
|
||||
- name: "Maven Deploy"
|
||||
run: mvn -B -Plocal deploy --file pom.xml -DskipTests -Dgpg.skip
|
||||
|
||||
- name: "Copy artifacts"
|
||||
run: |
|
||||
rm -rf deploy
|
||||
mkdir -vp deploy
|
||||
cp -vrf $HOME/local-deploy/* deploy/
|
||||
cp -vrf .documentation/repository/REPO-README.md deploy/README.md
|
||||
|
||||
- name: "Generate Javadoc"
|
||||
run: mvn -B javadoc:aggregate --file pom.xml -DskipTests
|
||||
|
||||
- name: "Copy Javadoc"
|
||||
run: |
|
||||
rm -rf docs
|
||||
mkdir -vp docs
|
||||
cp -vrf target/site/apidocs/* docs/
|
||||
cp -vrf .documentation/javadoc/JAVADOC-README.md docs/README.md
|
||||
|
||||
- name: "Generate Javadoc sitemap"
|
||||
id: sitemap
|
||||
uses: cicirello/generate-sitemap@v1
|
||||
with:
|
||||
base-url-path: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
|
||||
path-to-root: docs
|
||||
|
||||
- name: "Output Javadoc stats"
|
||||
run: |
|
||||
echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}"
|
||||
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
|
||||
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
|
||||
ls -l docs
|
||||
|
||||
- name: "Configure Git"
|
||||
env:
|
||||
DEPLOY_PRI: ${{secrets.DEPLOY_PRI}}
|
||||
run: |
|
||||
sudo timedatectl set-timezone "Asia/Shanghai"
|
||||
mkdir -p ~/.ssh/
|
||||
echo "$DEPLOY_PRI" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||
git config --global user.name '${{ github.repository_owner }}'
|
||||
git config --global user.email '${{ github.repository_owner }}@users.noreply.github.com'
|
||||
|
||||
- name: "Commit&Push repository files"
|
||||
run: |
|
||||
cd deploy
|
||||
git init
|
||||
git remote add origin git@github.com:${{ github.repository_owner }}/${{ github.event.repository.name }}.git
|
||||
git checkout -b repo
|
||||
git add -A
|
||||
git commit -m "Maven project deployment."
|
||||
git push origin HEAD:repo --force
|
||||
|
||||
- name: "Commit&Push API documentation"
|
||||
run: |
|
||||
cd docs
|
||||
git init
|
||||
git remote add origin git@github.com:${{ github.repository_owner }}/${{ github.event.repository.name }}.git
|
||||
git checkout -b gh-pages
|
||||
git add -A
|
||||
git commit -m "API Document generated."
|
||||
git push origin HEAD:gh-pages --force
|
||||
|
||||
central-deploy:
|
||||
name: "Deploy Project (Central)"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Set up JDK"
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
cache: maven
|
||||
server-id: ossrh
|
||||
server-username: MAVEN_USERNAME
|
||||
server-password: MAVEN_PASSWORD
|
||||
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
|
||||
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
|
||||
|
||||
- name: "Central Deploy"
|
||||
run: mvn -B -Possrh deploy --file pom.xml -DskipTests
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
|
||||
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }}
|
||||
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
|
||||
@@ -1,31 +0,0 @@
|
||||
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
||||
|
||||
name: Build & Tests
|
||||
|
||||
on:
|
||||
# 支持手动触发构建
|
||||
workflow_dispatch:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: "Set up JDK"
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
cache: maven
|
||||
java-version: '8'
|
||||
distribution: 'adopt'
|
||||
server-id: github
|
||||
server-username: MAVEN_USERNAME
|
||||
server-password: MAVEN_TOKEN
|
||||
- name: "Package"
|
||||
run: mvn -B package --file pom.xml -Dmaven.javadoc.skip=true -Dgpg.skip
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ github.repository_owner }}
|
||||
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
@@ -1,4 +0,0 @@
|
||||
/.idea/
|
||||
/target/
|
||||
/*/target/
|
||||
**.iml
|
||||
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Carm
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -1,204 +1,9 @@
|
||||
```text
|
||||
______ ____ __ _
|
||||
/ ____/___ ________ __ / __ \/ /_ ______ _(_)___
|
||||
/ __/ / __ `/ ___/ / / / / /_/ / / / / / __ `/ / __ \
|
||||
/ /___/ /_/ (__ ) /_/ / / ____/ / /_/ / /_/ / / / / /
|
||||
/_____/\__,_/____/\__, / /_/ /_/\__,_/\__, /_/_/ /_/
|
||||
/____/ /____/
|
||||
```
|
||||
# EasyPlugin Javadoc
|
||||
|
||||
# EasyPlugin
|
||||
基于 [Github Pages](https://pages.github.com/) 搭建,请访问 [JavaDoc](https://carmjos.github.io/EasyPlugin) 。
|
||||
|
||||
[](https://github.com/CarmJos/EasyPlugin/releases)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://github.com/CarmJos/EasyPlugin/actions/workflows/maven.yml)
|
||||
[](https://www.codefactor.io/repository/github/carmjos/EasyPlugin)
|
||||

|
||||

|
||||
## 如何实现?
|
||||
|
||||
轻松(做)插件,旨在于方便快捷的使用Bukkit实现MC中的一些功能。
|
||||
|
||||
## 优势
|
||||
|
||||
- 轻便独立的功能模块,按需使用,避免大量打包!
|
||||
- 详细的Javadoc与使用文档,轻松上手,方便使用!
|
||||
- 持续的更新与优化,需求不止,更新不止!
|
||||
- 如需新功能支持,请通过 [Issues](https://github.com/CarmJos/EasyPlugin/issues) 提交功能需求。
|
||||
|
||||
## 内容
|
||||
|
||||
项目初创不久,加 * 的仍在开发更新中...欢迎各路大佬帮助提供本项目的开发文档~
|
||||
|
||||
### 集合部分 (`/collection`)
|
||||
|
||||
- All [`easyplugin-all`](collection/all)
|
||||
- Common [`easyplugin-common`](collection/common)
|
||||
|
||||
### 主要部分 (`/base`)
|
||||
|
||||
- Color [`easyplugin-color`](base/color)
|
||||
- 颜色工具类模块,提供功能全面的MC颜色解析转换工具。
|
||||
- 支持 `&+颜色代码`(原版颜色)、`§(#XXXXXX)`(RGB颜色) 与 `&<#XXXXXX>`(前后标注RGB颜色渐变)。
|
||||
- Utils [`easyplugin-utils`](base/utils)
|
||||
- 通用工具类模块,该模块中的内容支持在Bungee、Bukkit使用。
|
||||
- 本模块提供
|
||||
- `ColorParser` 支持RGB颜色与RGB渐变色的颜色解析器。
|
||||
- `EasyCooldown` 快速创造一个冷却时间的管理器。
|
||||
- `JarResourceUtils` 快速读取Jar包内容的工具类。
|
||||
- Main [`easyplugin-main`](base/main)
|
||||
- 主要接口模块,提供了方便的插件入口类与相关工具类。
|
||||
- Command [`easyplugin-command`](base/command)
|
||||
- 指令接口模块,便于快速进行子指令的实现,并提供单独的TabComplete方法。
|
||||
- 随本项目提供了 `SimpleCompleter` 类,用于快速创建补全的内容列表。
|
||||
- GUI [`easyplugin-gui`](base/main)
|
||||
- 简单便捷的箱子GUI接口,可以快速实现GUI中不同图标的点击功能。
|
||||
- 随本项目提供了 `AutoPagedGUI` 等翻页GUI抽象类。
|
||||
- Storage [`easyplugin-storage`](base/storage)
|
||||
- 抽象存储管理器,便于实现不同的存储类型。
|
||||
- 随本项目提供了 `FileBasedStorage`、`FolderBasedStorage` 等常用存储抽象方法。
|
||||
- Messages [`easyplugin-message`](base/messages)
|
||||
- 随本项目提供了基于 MineConfiguration 实现的 `EasyMessages` 类。
|
||||
- 支持多种消息配置,包括文本消息、ActionBar消息、Title消息、声音、粒子效果播放等。
|
||||
- 支持消息间的延迟发送。
|
||||
|
||||
### 独立项目部分
|
||||
|
||||
> 以下项目均已独立出单独项目,如需使用,**强烈建议自行引用对应的项目**,以支持完整的Javadoc并获取源码内容!
|
||||
|
||||
- _Listener_ -> [**EasyListener**](https://github.com/CarmJos/EasyListener)
|
||||
- _Configuration_ -> [**MineConfiguration**](https://github.com/CarmJos/MineConfiguration)
|
||||
- _Database_ -> [**EasySQL**](https://github.com/CarmJos/EasySQL)
|
||||
|
||||
### 附属部分 (`/extension`)
|
||||
|
||||
- [PlaceholderAPI](https://www.spigotmc.org/resources/6245/) [`easyplugin-placeholderapi`](extension/papi)
|
||||
- PlaceholderAPI 扩展模块,提供了方便的 PlaceholderAPI 变量注册方法。
|
||||
- [Vault](https://github.com/MilkBowl/VaultAPI)* [`easyplugin-vault`](extension/vault)
|
||||
|
||||
## 开发
|
||||
|
||||
详细开发介绍请 [点击这里](.documentation/README.md) , JavaDoc(最新Release)
|
||||
请 [点击这里](https://carmjos.github.io/EasyPlugin) 。
|
||||
|
||||
### 示例代码
|
||||
|
||||
您可以 [点击这里](https://github.com/CarmJos/UltraDepository)
|
||||
查看实例项目演示,更多演示详见 [开发介绍](.documentation/README.md) 。
|
||||
|
||||
### 依赖方式
|
||||
|
||||
<details>
|
||||
<summary>展开查看 Maven 依赖方式</summary>
|
||||
|
||||
```xml
|
||||
|
||||
<project>
|
||||
<repositories>
|
||||
|
||||
<repository>
|
||||
<!--采用github-repo依赖库(推荐)-->
|
||||
<id>EasyPlugin</id>
|
||||
<name>GitHub Packages</name>
|
||||
<url>https://raw.githubusercontent.com/CarmJos/EasyPlugin/repo/</url>
|
||||
</repository>
|
||||
|
||||
<repository>
|
||||
<!--采用我的私人依赖库,简单方便,但可能因为变故而无法使用-->
|
||||
<id>carm-repo</id>
|
||||
<name>Carm's Repo</name>
|
||||
<url>https://repo.carm.cc/repository/maven-public/</url>
|
||||
</repository>
|
||||
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<!--大全集版本,包含项目内所有模块-->
|
||||
<dependency>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<artifactId>easyplugin-all</artifactId>
|
||||
<version>[LATEST RELEASE]</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<!--常用接口集,包含除附属插件模块外的所有模块-->
|
||||
<dependency>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<artifactId>easyplugin-common</artifactId>
|
||||
<version>[LATEST RELEASE]</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<!--插件主要接口模块,包含方便的插件入口类与相关工具类-->
|
||||
<dependency>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<artifactId>easyplugin-main</artifactId>
|
||||
<version>[LATEST RELEASE]</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- 其他模块自行选择,详见 “内容”-->
|
||||
|
||||
</dependencies>
|
||||
</project>
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>展开查看 Gradle 依赖方式</summary>
|
||||
|
||||
```groovy
|
||||
repositories {
|
||||
// 采用github依赖库,安全稳定,但需要配置 (推荐)
|
||||
maven { url 'https://raw.githubusercontent.com/CarmJos/EasyPlugin/repo/' }
|
||||
|
||||
// 采用我的私人依赖库,简单方便,但可能因为变故而无法使用
|
||||
maven { url 'https://repo.carm.cc/repository/maven-public/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
//大全集版本,包含项目内所有模块
|
||||
api "cc.carm.lib:easyplugin-all:[LATEST RELEASE]"
|
||||
|
||||
//常用接口集,包含除附属插件模块外的所有模块
|
||||
api "cc.carm.lib:easyplugin-common:[LATEST RELEASE]"
|
||||
|
||||
//插件主要接口模块,包含方便的插件入口类与相关工具类
|
||||
api "cc.carm.lib:easyplugin-main:[LATEST RELEASE]"
|
||||
|
||||
// 其他模块自行选择,详见 “内容”
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
## 支持与捐赠
|
||||
|
||||
若您觉得本插件做的不错,您可以通过捐赠支持我!
|
||||
|
||||
感谢您对开源项目的支持!
|
||||
|
||||
<img height=25% width=25% src="https://raw.githubusercontent.com/CarmJos/CarmJos/main/img/donate-code.jpg" alt=""/>
|
||||
|
||||
## 开源协议
|
||||
|
||||
本项目源码采用 [The MIT License](https://opensource.org/licenses/MIT) 开源协议。
|
||||
<details>
|
||||
<summary>关于 MIT 协议</summary>
|
||||
|
||||
> MIT 协议可能是几大开源协议中最宽松的一个,核心条款是:
|
||||
>
|
||||
> 该软件及其相关文档对所有人免费,可以任意处置,包括使用,复制,修改,合并,发表,分发,再授权,或者销售。唯一的限制是,软件中必须包含上述版
|
||||
> 权和许可提示。
|
||||
>
|
||||
> 这意味着:
|
||||
> - 你可以自由使用,复制,修改,可以用于自己的项目。
|
||||
> - 可以免费分发或用来盈利。
|
||||
> - 唯一的限制是必须包含许可声明。
|
||||
>
|
||||
> MIT 协议是所有开源许可中最宽松的一个,除了必须包含许可声明外,再无任何限制。
|
||||
>
|
||||
> *以上文字来自 [五种开源协议GPL,LGPL,BSD,MIT,Apache](https://www.oschina.net/question/54100_9455) 。*
|
||||
</details>
|
||||
若您也想通过 [Github Actions](https://docs.github.com/en/actions/learn-github-actions)
|
||||
自动部署项目的Javadoc到 [Github Pages](https://pages.github.com/) ,
|
||||
可以参考我的文章 [《自动部署Javadoc到Github Pages》](https://pages.carm.cc/doc/javadoc-in-github.html) 。
|
||||
@@ -0,0 +1,67 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>所有类 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">所有类</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="cc/carm/lib/easyplugin/user/AbstractUserData.html" title="cc.carm.lib.easyplugin.user中的类" target="classFrame">AbstractUserData</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类" target="classFrame">AliasCommand</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类" target="classFrame">AliasCommandManager</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/paged/AutoPagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类" target="classFrame">AutoPagedGUI</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/ColorParser.html" title="cc.carm.lib.easyplugin.utils中的类" target="classFrame">ColorParser</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类" target="classFrame">CommandHandler</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/paged/CommonPagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类" target="classFrame">CommonPagedGUI</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/DataStorage.html" title="cc.carm.lib.easyplugin.storage中的接口" target="classFrame"><span class="interfaceName">DataStorage</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/EasyCooldown.html" title="cc.carm.lib.easyplugin.utils中的类" target="classFrame">EasyCooldown</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/expansion/EasyExpansion.html" title="cc.carm.lib.easyplugin.papi.expansion中的接口" target="classFrame"><span class="interfaceName">EasyExpansion</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/EasyPlaceholder.html" title="cc.carm.lib.easyplugin.papi中的类" target="classFrame">EasyPlaceholder</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类" target="classFrame">EasyPlugin</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口" target="classFrame"><span class="interfaceName">EasyPluginMessageProvider</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.en_US.html" title="cc.carm.lib.easyplugin.i18n中的类" target="classFrame">EasyPluginMessageProvider.en_US</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.zh_CN.html" title="cc.carm.lib.easyplugin.i18n中的类" target="classFrame">EasyPluginMessageProvider.zh_CN</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/vault/EasyVault.html" title="cc.carm.lib.easyplugin.vault中的类" target="classFrame">EasyVault</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/file/FileBasedStorage.html" title="cc.carm.lib.easyplugin.storage.file中的类" target="classFrame">FileBasedStorage</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/file/FolderBasedStorage.html" title="cc.carm.lib.easyplugin.storage.file中的类" target="classFrame">FolderBasedStorage</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/updatechecker/GHUpdateChecker.html" title="cc.carm.lib.easyplugin.updatechecker中的类" target="classFrame">GHUpdateChecker</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类" target="classFrame">GUI</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类" target="classFrame">GUIActionConfiguration</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举" target="classFrame">GUIActionType</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类" target="classFrame">GUIConfiguration</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类" target="classFrame">GUIItem</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类" target="classFrame">GUIItem.GUIClickAction</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类" target="classFrame">GUIItemConfiguration</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类" target="classFrame">GUIListener</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举" target="classFrame">GUIType</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/ItemStackFactory.html" title="cc.carm.lib.easyplugin.utils中的类" target="classFrame">ItemStackFactory</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/JarResourceUtils.html" title="cc.carm.lib.easyplugin.utils中的类" target="classFrame">JarResourceUtils</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/JarResourceUtils.CopyOption.html" title="cc.carm.lib.easyplugin.utils中的枚举" target="classFrame">JarResourceUtils.CopyOption</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/JarResourceUtils.PathTrimmer.html" title="cc.carm.lib.easyplugin.utils中的接口" target="classFrame"><span class="interfaceName">JarResourceUtils.PathTrimmer</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/MessageUtils.html" title="cc.carm.lib.easyplugin.utils中的类" target="classFrame">MessageUtils</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口" target="classFrame"><span class="interfaceName">NamedExecutor</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/paged/PagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类" target="classFrame">PagedGUI</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/handler/PlaceholderHandler.html" title="cc.carm.lib.easyplugin.papi.handler中的接口" target="classFrame"><span class="interfaceName">PlaceholderHandler</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/plugin/PluginBasedStorage.html" title="cc.carm.lib.easyplugin.storage.plugin中的类" target="classFrame">PluginBasedStorage</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/SchedulerUtils.html" title="cc.carm.lib.easyplugin.utils中的类" target="classFrame">SchedulerUtils</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/SchedulerUtils.Task.html" title="cc.carm.lib.easyplugin.utils中的接口" target="classFrame"><span class="interfaceName">SchedulerUtils.Task</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/expansion/SectionExpansion.html" title="cc.carm.lib.easyplugin.papi.expansion中的类" target="classFrame">SectionExpansion</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类" target="classFrame">SimpleCompleter</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/StorageType.html" title="cc.carm.lib.easyplugin.storage中的接口" target="classFrame"><span class="interfaceName">StorageType</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类" target="classFrame">SubCommand</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/expansion/SubExpansion.html" title="cc.carm.lib.easyplugin.papi.expansion中的类" target="classFrame">SubExpansion</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/user/UserData.html" title="cc.carm.lib.easyplugin.user中的接口" target="classFrame"><span class="interfaceName">UserData</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/user/UserDataManager.html" title="cc.carm.lib.easyplugin.user中的类" target="classFrame">UserDataManager</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/user/UserDataRegistry.html" title="cc.carm.lib.easyplugin.user中的接口" target="classFrame"><span class="interfaceName">UserDataRegistry</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/file/YAMLBasedStorage.html" title="cc.carm.lib.easyplugin.storage.file中的类" target="classFrame">YAMLBasedStorage</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,67 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>所有类 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">所有类</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="cc/carm/lib/easyplugin/user/AbstractUserData.html" title="cc.carm.lib.easyplugin.user中的类">AbstractUserData</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommand</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/paged/AutoPagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类">AutoPagedGUI</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/ColorParser.html" title="cc.carm.lib.easyplugin.utils中的类">ColorParser</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/paged/CommonPagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类">CommonPagedGUI</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/DataStorage.html" title="cc.carm.lib.easyplugin.storage中的接口"><span class="interfaceName">DataStorage</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/EasyCooldown.html" title="cc.carm.lib.easyplugin.utils中的类">EasyCooldown</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/expansion/EasyExpansion.html" title="cc.carm.lib.easyplugin.papi.expansion中的接口"><span class="interfaceName">EasyExpansion</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/EasyPlaceholder.html" title="cc.carm.lib.easyplugin.papi中的类">EasyPlaceholder</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口"><span class="interfaceName">EasyPluginMessageProvider</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.en_US.html" title="cc.carm.lib.easyplugin.i18n中的类">EasyPluginMessageProvider.en_US</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.zh_CN.html" title="cc.carm.lib.easyplugin.i18n中的类">EasyPluginMessageProvider.zh_CN</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/vault/EasyVault.html" title="cc.carm.lib.easyplugin.vault中的类">EasyVault</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/file/FileBasedStorage.html" title="cc.carm.lib.easyplugin.storage.file中的类">FileBasedStorage</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/file/FolderBasedStorage.html" title="cc.carm.lib.easyplugin.storage.file中的类">FolderBasedStorage</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/updatechecker/GHUpdateChecker.html" title="cc.carm.lib.easyplugin.updatechecker中的类">GHUpdateChecker</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIConfiguration</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">GUIListener</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/ItemStackFactory.html" title="cc.carm.lib.easyplugin.utils中的类">ItemStackFactory</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/JarResourceUtils.html" title="cc.carm.lib.easyplugin.utils中的类">JarResourceUtils</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/JarResourceUtils.CopyOption.html" title="cc.carm.lib.easyplugin.utils中的枚举">JarResourceUtils.CopyOption</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/JarResourceUtils.PathTrimmer.html" title="cc.carm.lib.easyplugin.utils中的接口"><span class="interfaceName">JarResourceUtils.PathTrimmer</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/MessageUtils.html" title="cc.carm.lib.easyplugin.utils中的类">MessageUtils</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口"><span class="interfaceName">NamedExecutor</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/gui/paged/PagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类">PagedGUI</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/handler/PlaceholderHandler.html" title="cc.carm.lib.easyplugin.papi.handler中的接口"><span class="interfaceName">PlaceholderHandler</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/plugin/PluginBasedStorage.html" title="cc.carm.lib.easyplugin.storage.plugin中的类">PluginBasedStorage</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/SchedulerUtils.html" title="cc.carm.lib.easyplugin.utils中的类">SchedulerUtils</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/utils/SchedulerUtils.Task.html" title="cc.carm.lib.easyplugin.utils中的接口"><span class="interfaceName">SchedulerUtils.Task</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/expansion/SectionExpansion.html" title="cc.carm.lib.easyplugin.papi.expansion中的类">SectionExpansion</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类">SimpleCompleter</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/StorageType.html" title="cc.carm.lib.easyplugin.storage中的接口"><span class="interfaceName">StorageType</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/papi/expansion/SubExpansion.html" title="cc.carm.lib.easyplugin.papi.expansion中的类">SubExpansion</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/user/UserData.html" title="cc.carm.lib.easyplugin.user中的接口"><span class="interfaceName">UserData</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/user/UserDataManager.html" title="cc.carm.lib.easyplugin.user中的类">UserDataManager</a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/user/UserDataRegistry.html" title="cc.carm.lib.easyplugin.user中的接口"><span class="interfaceName">UserDataRegistry</span></a></li>
|
||||
<li><a href="cc/carm/lib/easyplugin/storage/file/YAMLBasedStorage.html" title="cc.carm.lib.easyplugin.storage.file中的类">YAMLBasedStorage</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<artifactId>easyplugin-parent</artifactId>
|
||||
<version>1.5.3</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<properties>
|
||||
<maven.compiler.source>${project.jdk.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
</properties>
|
||||
<artifactId>easyplugin-color</artifactId>
|
||||
|
||||
<name>EasyPlugin-Color</name>
|
||||
<description>轻松插件颜色模块,支持简单便捷的颜色解析器,包括基本颜色、RGB颜色与RGB渐变颜色。</description>
|
||||
<url>https://github.com/CarmJos/EasyPlugin</url>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>CarmJos</id>
|
||||
<name>Carm Jos</name>
|
||||
<email>carm@carm.cc</email>
|
||||
<url>https://www.carm.cc</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The MIT License</name>
|
||||
<url>https://opensource.org/licenses/MIT</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<ciManagement>
|
||||
<system>GitHub Actions</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/actions/workflows/maven.yml</url>
|
||||
</ciManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -1,208 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.utils;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.List;
|
||||
import java.util.*;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
/**
|
||||
* 颜色解析器。
|
||||
* <br> 普通颜色 格式 {@code &+颜色代码 },如 {@literal &c} 、{@literal &a}
|
||||
* <br> RGB颜色(版本需要≥1.14) 格式 {@code &(#XXXXXX) },如 {@literal &(#aaaaaa)}
|
||||
* <br> 渐变RBG颜色(版本需要≥1.14) 格式 {@code &<#XXXXXX>FOOBAR&<#XXXXXX> }
|
||||
* <p> 注意:当使用渐变RGB颜色时,普通颜色代码与RGB颜色代码将失效。
|
||||
*/
|
||||
public class ColorParser {
|
||||
|
||||
public static final Pattern HEX_PATTERN = Pattern.compile("&\\(&?#([\\da-fA-F]{6})\\)");
|
||||
public static final Pattern GRADIENT_PATTERN = Pattern.compile("&<&?#([\\da-fA-F]{6})>");
|
||||
public static final Pattern COLOR_PATTERN = Pattern.compile("([&§][0-9a-fA-FrRxX])+"); // 会影响颜色的代码
|
||||
public static final Pattern FORMAT_PATTERN = Pattern.compile("([&§][0-9a-fA-Fk-oK-OrRxX])+"); // MC可用的格式化代码
|
||||
|
||||
/**
|
||||
* 清除一条消息中的全部颜色代码 (包括RGB颜色代码与渐变颜色代码)
|
||||
*
|
||||
* @param text 源消息内容
|
||||
* @return 清理颜色后的消息
|
||||
*/
|
||||
public static @NotNull String clear(@NotNull String text) {
|
||||
text = HEX_PATTERN.matcher(text).replaceAll("");
|
||||
text = GRADIENT_PATTERN.matcher(text).replaceAll("");
|
||||
text = COLOR_PATTERN.matcher(text).replaceAll("");
|
||||
return text;
|
||||
}
|
||||
|
||||
/**
|
||||
* 对一条消息进行颜色解析,包括普通颜色代码、RGB颜色代码与RBG渐变代码。
|
||||
*
|
||||
* @param text 源消息内容
|
||||
* @return 解析后的消息
|
||||
*/
|
||||
public static @NotNull String parse(@NotNull String text) {
|
||||
return parseBaseColor(parseGradientColor(parseHexColor(text)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 对多条消息进行颜色解析,包括普通颜色代码、RGB颜色代码与RBG渐变代码。
|
||||
*
|
||||
* @param texts 源消息内容
|
||||
* @return 解析后的消息
|
||||
*/
|
||||
public static @NotNull String[] parse(@NotNull String... texts) {
|
||||
return parse(Arrays.asList(texts)).toArray(new String[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* 对多条消息进行颜色解析,包括普通颜色代码、RGB颜色代码与RBG渐变代码。
|
||||
*
|
||||
* @param texts 源消息内容
|
||||
* @return 解析后的消息
|
||||
*/
|
||||
public static @NotNull List<String> parse(@NotNull Collection<String> texts) {
|
||||
return texts.stream().map(ColorParser::parse).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 解析消息中的基本颜色代码格式 {@code &+颜色代码 },如 {@literal &c} 、{@literal &a}
|
||||
*
|
||||
* @param text 消息内容
|
||||
* @return RGB处理后的消息
|
||||
* @see net.md_5.bungee.api.ChatColor
|
||||
*/
|
||||
public static String parseBaseColor(final String text) {
|
||||
return text.replaceAll("&", "§").replace("§§", "&");
|
||||
}
|
||||
|
||||
/**
|
||||
* 解析消息中的RGB颜色代码(版本需要≥1.14) 格式 {@code &(#XXXXXX) },如 {@literal &(#aaaaaa)}
|
||||
*
|
||||
* @param text 消息内容
|
||||
* @return RGB处理后的消息
|
||||
*/
|
||||
public static String parseHexColor(String text) {
|
||||
Matcher matcher = HEX_PATTERN.matcher(text);
|
||||
while (matcher.find()) {
|
||||
text = matcher.replaceFirst(buildHexColor(matcher.group(1)).toLowerCase());
|
||||
matcher.reset(text);
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
||||
/**
|
||||
* 对一条消息进行RGB渐变处理(版本需要≥1.14),格式 {@code &<#XXXXXX>FOOBAR&<#XXXXXX> }。
|
||||
*
|
||||
* @param text 消息内容
|
||||
* @return RGB渐变处理后的消息
|
||||
*/
|
||||
public static @NotNull String parseGradientColor(@NotNull String text) {
|
||||
List<String> colors = new ArrayList<>();
|
||||
|
||||
Matcher matcher = ColorParser.GRADIENT_PATTERN.matcher(text);
|
||||
while (matcher.find()) colors.add(matcher.group(1));
|
||||
|
||||
if (colors.isEmpty()) return text; // 无渐变颜色,直接跳出
|
||||
|
||||
String[] parts = ColorParser.GRADIENT_PATTERN.split(text);
|
||||
StringBuilder builder = new StringBuilder();
|
||||
for (int i = 0; i < parts.length; i++) {
|
||||
String startHex = i - 1 >= 0 && colors.size() > i - 1 ? colors.get(i - 1) : null; // 本条消息的起始颜色
|
||||
String endHex = colors.size() > i ? colors.get(i) : null; // 本条消息的结束颜色
|
||||
builder.append(gradientText(parts[i], startHex, endHex));
|
||||
}
|
||||
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
public static @NotNull String gradientText(@NotNull String text,
|
||||
@Nullable Color startColor, @Nullable Color endColor) {
|
||||
Objects.requireNonNull(text, "Text to be gradient should not be null!");
|
||||
if (startColor == null || endColor == null || text.isEmpty()) {
|
||||
// 起始颜色有任一为空,则不进行渐变上色。
|
||||
// 若有起始颜色,则代表其跟在某个渐变之后,应当添加"&r"阻断前面的渐变。
|
||||
return (startColor != null ? "&r" : "") + text;
|
||||
}
|
||||
|
||||
// 用于记录消息中特殊格式的位置
|
||||
// 在渐变中,允许使用格式字符与颜色字符来改变其中某个字的颜色/格式,以支持更多形式内容。
|
||||
LinkedHashMap<Integer, String> extraFormats = new LinkedHashMap<>();
|
||||
Matcher matcher = ColorParser.FORMAT_PATTERN.matcher(text);
|
||||
while (matcher.find()) {
|
||||
extraFormats.put(matcher.start(), matcher.group());
|
||||
text = matcher.replaceFirst("");
|
||||
matcher.reset(text);
|
||||
}
|
||||
|
||||
if (text.length() == 1) {
|
||||
// 当只有一个实际字符时,无需进行渐变计算,直接返回 中间颜色+起始格式(如果有)+消息 即可。
|
||||
return colorText(text, extraFormats.get(0), buildHexColor(mediumHex(startColor, endColor)));
|
||||
}
|
||||
|
||||
String[] characters = text.split("");
|
||||
int step = characters.length; // 变换次数
|
||||
|
||||
// 决定每种颜色变换的方向
|
||||
int rDirection = startColor.getRed() < endColor.getRed() ? 1 : -1;
|
||||
int gDirection = startColor.getGreen() < endColor.getGreen() ? 1 : -1;
|
||||
int bDirection = startColor.getBlue() < endColor.getBlue() ? 1 : -1;
|
||||
|
||||
// 决定每种颜色每次变换的度
|
||||
int rStep = Math.abs(startColor.getRed() - endColor.getRed()) / (step - 1);
|
||||
int gStep = Math.abs(startColor.getGreen() - endColor.getGreen()) / (step - 1);
|
||||
int bStep = Math.abs(startColor.getBlue() - endColor.getBlue()) / (step - 1);
|
||||
|
||||
String[] hexes = IntStream.range(0, step).mapToObj(i -> colorToHex(
|
||||
startColor.getRed() + rStep * i * rDirection,
|
||||
startColor.getGreen() + gStep * i * gDirection,
|
||||
startColor.getBlue() + bStep * i * bDirection
|
||||
)).toArray(String[]::new);
|
||||
|
||||
return IntStream.range(0, characters.length)
|
||||
.mapToObj(i -> colorText(characters[i], extraFormats.get(i), buildHexColor(hexes[i])))
|
||||
.collect(Collectors.joining());
|
||||
}
|
||||
|
||||
protected static String gradientText(@NotNull String text, @Nullable String startHex, @Nullable String endHex) {
|
||||
return gradientText(text,
|
||||
startHex == null ? null : Color.decode("0x" + startHex),
|
||||
endHex == null ? null : Color.decode("0x" + endHex)
|
||||
);
|
||||
}
|
||||
|
||||
private static String mediumHex(@NotNull Color start, @NotNull Color end) {
|
||||
return colorToHex(
|
||||
Math.abs(start.getRed() - end.getRed()) / 2,
|
||||
Math.abs(start.getGreen() - end.getGreen()) / 2,
|
||||
Math.abs(start.getBlue() - end.getBlue()) / 2
|
||||
);
|
||||
}
|
||||
|
||||
private static String colorText(String message, @Nullable String format, @Nullable String color) {
|
||||
if (format != null && COLOR_PATTERN.matcher(format).find()) {
|
||||
// format中存在影响颜色的内容,则当前消息的颜色会被覆盖。
|
||||
// 为了减少最终消息的长度,故直接返回键入的FORMAT和对应消息的内容。
|
||||
return format + message;
|
||||
}
|
||||
return (color == null ? "" : color) + (format == null ? "" : parseBaseColor(format)) + message;
|
||||
}
|
||||
|
||||
protected static String colorToHex(Color color) {
|
||||
return colorToHex(color.getRed(), color.getGreen(), color.getBlue());
|
||||
}
|
||||
|
||||
protected static String colorToHex(int r, int g, int b) {
|
||||
// 将R、G、B转换为16进制(若非2位则补0)输出
|
||||
return String.format("%02X%02X%02X", r, g, b);
|
||||
}
|
||||
|
||||
protected static String buildHexColor(String hexCode) {
|
||||
return Arrays.stream(hexCode.split("")).map(s -> '§' + s)
|
||||
.collect(Collectors.joining("", '§' + "x", ""));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
import cc.carm.lib.easyplugin.utils.ColorParser;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.regex.Matcher;
|
||||
|
||||
import static cc.carm.lib.easyplugin.utils.ColorParser.*;
|
||||
|
||||
public class ColorParseTest {
|
||||
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
System.out.println(" ");
|
||||
System.out.println(parseGradientColor("&<#AAAAAA>我真的&<#BBBBBB>爱死&<#111111>你&<#FFFFFF>!"));
|
||||
|
||||
// 测试穿插
|
||||
System.out.println(parse("&<#AAAAAA>&l我&r真&b的&<#BBBBBB>&o爱死&<#111111>你&<#FFFFFF>了&r!"));
|
||||
System.out.println(parse("&<#AAAAAA>&l我&r真&(#666666)的&<#BBBBBB>&o爱死&<#111111>你&<#FFFFFF>了&r!"));
|
||||
System.out.println(parse("&r正常的颜色理应&c&l不受影响&r。"));
|
||||
|
||||
System.out.println(clear("&f测试&<#AAAAAA>清理颜色代码&<#111111> &&这样应该&(#666666)不被影响 &f。"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void formatReadTest() {
|
||||
LinkedHashMap<Integer, String> formats = new LinkedHashMap<>();
|
||||
String text = "&k&l &m&1我&k爱你爱你爱你&o吗?";
|
||||
Matcher matcher = ColorParser.FORMAT_PATTERN.matcher(text);
|
||||
while (matcher.find()) {
|
||||
String code = matcher.group();
|
||||
formats.put(matcher.start(), code);
|
||||
text = matcher.replaceFirst("");
|
||||
matcher.reset(text);
|
||||
}
|
||||
|
||||
formats.forEach((index, code) -> System.out.println(index + " -> " + code));
|
||||
|
||||
String[] parts = text.split("");
|
||||
StringBuilder builder = new StringBuilder();
|
||||
for (int i = 0; i < parts.length; i++) {
|
||||
String format = formats.get(i);
|
||||
if (format != null) builder.append(ColorParser.parseBaseColor(format));
|
||||
builder.append(parts[i]);
|
||||
}
|
||||
|
||||
System.out.println(builder);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>easyplugin-parent</artifactId>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<version>1.5.3</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<properties>
|
||||
<maven.compiler.source>${project.jdk.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
</properties>
|
||||
<artifactId>easyplugin-command</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>EasyPlugin-Command</name>
|
||||
<description>轻松插件指令接口模块,方便快捷的编写子指令。</description>
|
||||
<url>https://github.com/CarmJos/EasyPlugin</url>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>CarmJos</id>
|
||||
<name>Carm Jos</name>
|
||||
<email>carm@carm.cc</email>
|
||||
<url>https://www.carm.cc</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The MIT License</name>
|
||||
<url>https://opensource.org/licenses/MIT</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<ciManagement>
|
||||
<system>GitHub Actions</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/actions/workflows/maven.yml</url>
|
||||
</ciManagement>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -1,179 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.command;
|
||||
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.command.TabExecutor;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.bukkit.util.StringUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@SuppressWarnings("UnusedReturnValue")
|
||||
public abstract class CommandHandler implements TabExecutor, NamedExecutor {
|
||||
|
||||
protected final @NotNull JavaPlugin plugin;
|
||||
protected final @NotNull String cmd;
|
||||
protected final @NotNull List<String> aliases;
|
||||
|
||||
protected final @NotNull Map<String, SubCommand<?>> registeredCommands = new HashMap<>();
|
||||
protected final @NotNull Map<String, CommandHandler> registeredHandlers = new HashMap<>();
|
||||
|
||||
protected final @NotNull Map<String, String> aliasesMap = new HashMap<>();
|
||||
|
||||
public CommandHandler(@NotNull JavaPlugin plugin) {
|
||||
this(plugin, plugin.getName());
|
||||
}
|
||||
|
||||
public CommandHandler(@NotNull JavaPlugin plugin, @NotNull String cmd) {
|
||||
this(plugin, cmd, new String[0]);
|
||||
}
|
||||
|
||||
public CommandHandler(@NotNull JavaPlugin plugin, @NotNull String cmd, @NotNull String... aliases) {
|
||||
this.plugin = plugin;
|
||||
this.cmd = cmd;
|
||||
this.aliases = Arrays.asList(aliases);
|
||||
}
|
||||
|
||||
public abstract Void noArgs(CommandSender sender);
|
||||
|
||||
public Void unknownCommand(CommandSender sender, String[] args) {
|
||||
return noArgs(sender);
|
||||
}
|
||||
|
||||
public abstract Void noPermission(CommandSender sender);
|
||||
|
||||
public Void onException(CommandSender sender, SubCommand<?> cmd, Exception ex) {
|
||||
sender.sendMessage("Error occurred when executing " + cmd.getIdentifier() + ": " + ex.getLocalizedMessage());
|
||||
ex.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull List<String> getAliases() {
|
||||
return aliases;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull String getIdentifier() {
|
||||
return this.cmd;
|
||||
}
|
||||
|
||||
public void registerSubCommand(SubCommand<?> command) {
|
||||
String name = command.getIdentifier().toLowerCase();
|
||||
this.registeredCommands.put(name, command);
|
||||
command.getAliases().forEach(alias -> this.aliasesMap.put(alias.toLowerCase(), name));
|
||||
}
|
||||
|
||||
public void registerHandler(CommandHandler handler) {
|
||||
String name = handler.getIdentifier().toLowerCase();
|
||||
this.registeredHandlers.put(name, handler);
|
||||
handler.getAliases().forEach(alias -> this.aliasesMap.put(alias.toLowerCase(), name));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, String[] args) {
|
||||
if (!this.hasPermission(sender)) {
|
||||
noPermission(sender);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (args.length == 0) {
|
||||
this.noArgs(sender);
|
||||
return true;
|
||||
}
|
||||
|
||||
String input = args[0].toLowerCase();
|
||||
|
||||
CommandHandler handler = getHandler(input);
|
||||
if (handler != null) {
|
||||
if (!handler.hasPermission(sender)) {
|
||||
this.noPermission(sender);
|
||||
} else {
|
||||
handler.onCommand(sender, command, label, this.shortenArgs(args));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
SubCommand<?> sub = getSubCommand(input);
|
||||
if (sub == null) {
|
||||
this.unknownCommand(sender, args);
|
||||
} else if (!sub.hasPermission(sender)) {
|
||||
this.noPermission(sender);
|
||||
} else {
|
||||
try {
|
||||
sub.execute(this.plugin, sender, this.shortenArgs(args));
|
||||
} catch (Exception ex) {
|
||||
this.onException(sender, sub, ex);
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String alias, String[] args) {
|
||||
if (args.length == 0) return Collections.emptyList();
|
||||
|
||||
String input = args[0].toLowerCase();
|
||||
if (args.length == 1) {
|
||||
return getExecutors().stream()
|
||||
.filter(e -> e.hasPermission(sender))
|
||||
.map(NamedExecutor::getIdentifier)
|
||||
.filter(s -> StringUtil.startsWithIgnoreCase(s, input))
|
||||
.collect(Collectors.toList());
|
||||
} else {
|
||||
|
||||
CommandHandler handler = getHandler(input);
|
||||
if (handler != null && handler.hasPermission(sender)) {
|
||||
return handler.onTabComplete(sender, command, alias, this.shortenArgs(args));
|
||||
}
|
||||
|
||||
SubCommand<?> sub = getSubCommand(input);
|
||||
if (sub != null && sub.hasPermission(sender)) {
|
||||
return sub.tabComplete(this.plugin, sender, this.shortenArgs(args));
|
||||
}
|
||||
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
|
||||
public List<NamedExecutor> getExecutors() {
|
||||
Set<NamedExecutor> executors = new HashSet<>();
|
||||
executors.addAll(this.registeredHandlers.values());
|
||||
executors.addAll(this.registeredCommands.values());
|
||||
List<NamedExecutor> sortedExecutors = new ArrayList<>(executors);
|
||||
sortedExecutors.sort(Comparator.comparing(NamedExecutor::getIdentifier));
|
||||
return sortedExecutors;
|
||||
}
|
||||
|
||||
protected @Nullable CommandHandler getHandler(@NotNull String name) {
|
||||
CommandHandler fromName = this.registeredHandlers.get(name);
|
||||
if (fromName != null) return fromName;
|
||||
|
||||
String nameFromAlias = this.aliasesMap.get(name);
|
||||
if (nameFromAlias == null) return null;
|
||||
else return this.registeredHandlers.get(nameFromAlias);
|
||||
}
|
||||
|
||||
protected @Nullable SubCommand<?> getSubCommand(@NotNull String name) {
|
||||
SubCommand<?> fromName = this.registeredCommands.get(name);
|
||||
if (fromName != null) return fromName;
|
||||
|
||||
String nameFromAlias = this.aliasesMap.get(name);
|
||||
if (nameFromAlias == null) return null;
|
||||
else return this.registeredCommands.get(nameFromAlias);
|
||||
}
|
||||
|
||||
protected String[] shortenArgs(String[] args) {
|
||||
if (args.length == 0) {
|
||||
return args;
|
||||
} else {
|
||||
List<String> argList = new ArrayList<>(Arrays.asList(args).subList(1, args.length));
|
||||
return argList.toArray(new String[0]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.command;
|
||||
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.function.Function;
|
||||
|
||||
public interface NamedExecutor {
|
||||
|
||||
@NotNull String getIdentifier();
|
||||
|
||||
@NotNull List<String> getAliases();
|
||||
|
||||
default boolean hasPermission(@NotNull CommandSender sender) {
|
||||
return true;
|
||||
}
|
||||
|
||||
default Void sendMessage(@NotNull CommandSender sender, @NotNull String... messages) {
|
||||
return sendMessage(sender, Function.identity(), messages);
|
||||
}
|
||||
|
||||
default Void sendMessage(@NotNull CommandSender sender,
|
||||
@Nullable Function<String, String> parser,
|
||||
@NotNull String... messages) {
|
||||
if (messages == null || messages.length == 0) return null;
|
||||
Function<String, String> finalParser = Optional.ofNullable(parser).orElse(Function.identity());
|
||||
Arrays.stream(messages).map(finalParser).forEach(sender::sendMessage);
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,110 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.command;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.enchantments.Enchantment;
|
||||
import org.bukkit.entity.HumanEntity;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
import org.bukkit.util.StringUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
public class SimpleCompleter {
|
||||
|
||||
public static @NotNull List<String> none() {
|
||||
return ImmutableList.of();
|
||||
}
|
||||
|
||||
public static @NotNull List<String> objects(@NotNull String input, Collection<?> objects) {
|
||||
return objects(input, objects.size(), objects);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> objects(@NotNull String input, int limit, Collection<?> objects) {
|
||||
return objects(input, limit, objects.stream());
|
||||
}
|
||||
|
||||
public static @NotNull List<String> objects(@NotNull String input, Stream<?> stream) {
|
||||
return objects(input, 20, stream);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> objects(@NotNull String input, int limit, Stream<?> stream) {
|
||||
return stream.filter(Objects::nonNull).map(Object::toString)
|
||||
.filter(s -> StringUtil.startsWithIgnoreCase(s, input))
|
||||
.limit(Math.max(0, limit)).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
public static @NotNull List<String> text(@NotNull String input, String... texts) {
|
||||
return text(input, texts.length, texts);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> text(@NotNull String input, int limit, String... texts) {
|
||||
return text(input, limit, Arrays.asList(texts));
|
||||
}
|
||||
|
||||
public static @NotNull List<String> text(@NotNull String input, Collection<String> texts) {
|
||||
return text(input, texts.size(), texts);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> text(@NotNull String input, int limit, Collection<String> texts) {
|
||||
return objects(input, limit, texts);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> onlinePlayers(@NotNull String input) {
|
||||
return onlinePlayers(input, 10);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> onlinePlayers(@NotNull String input, int limit) {
|
||||
return objects(input, limit, Bukkit.getOnlinePlayers().stream().map(HumanEntity::getName));
|
||||
}
|
||||
|
||||
public static @NotNull List<String> allPlayers(@NotNull String input) {
|
||||
return allPlayers(input, 10);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> allPlayers(@NotNull String input, int limit) {
|
||||
return objects(input, limit, Arrays.stream(Bukkit.getOfflinePlayers()).map(OfflinePlayer::getName));
|
||||
}
|
||||
|
||||
public static @NotNull List<String> worlds(@NotNull String input) {
|
||||
return worlds(input, 10);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> worlds(@NotNull String input, int limit) {
|
||||
return objects(input, limit, Bukkit.getWorlds().stream().map(World::getName));
|
||||
}
|
||||
|
||||
public static @NotNull List<String> materials(@NotNull String input) {
|
||||
return materials(input, 10);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> materials(@NotNull String input, int limit) {
|
||||
return objects(input, limit, Arrays.stream(Material.values()).map(Enum::name));
|
||||
}
|
||||
|
||||
public static @NotNull List<String> effects(@NotNull String input) {
|
||||
return effects(input, 10);
|
||||
}
|
||||
|
||||
public static @NotNull List<String> effects(@NotNull String input, int limit) {
|
||||
return objects(input, limit, Arrays.stream(PotionEffectType.values()).map(PotionEffectType::getName));
|
||||
}
|
||||
|
||||
public static @NotNull List<String> enchantments(@NotNull String input) {
|
||||
return effects(input, 10);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public static @NotNull List<String> enchantments(@NotNull String input, int limit) {
|
||||
return objects(input, limit, Arrays.stream(Enchantment.values()).map(Enchantment::getName));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.command;
|
||||
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Unmodifiable;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@SuppressWarnings("UnusedReturnValue")
|
||||
public abstract class SubCommand<C extends CommandHandler> implements NamedExecutor {
|
||||
|
||||
private final @NotNull C parent;
|
||||
|
||||
private final String identifier;
|
||||
private final List<String> aliases;
|
||||
|
||||
public SubCommand(@NotNull C parent, String identifier, String... aliases) {
|
||||
this.parent = parent;
|
||||
this.identifier = identifier;
|
||||
this.aliases = Arrays.asList(aliases);
|
||||
}
|
||||
|
||||
public @NotNull C getParent() {
|
||||
return parent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull String getIdentifier() {
|
||||
return this.identifier;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Unmodifiable
|
||||
public @NotNull List<String> getAliases() {
|
||||
return this.aliases;
|
||||
}
|
||||
|
||||
public abstract Void execute(JavaPlugin plugin, CommandSender sender, String[] args) throws Exception;
|
||||
|
||||
public List<String> tabComplete(JavaPlugin plugin, CommandSender sender, String[] args) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>easyplugin-parent</artifactId>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<version>1.5.3</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>${project.jdk.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
</properties>
|
||||
|
||||
<artifactId>easyplugin-gui</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>EasyPlugin-GUI</name>
|
||||
<description>轻松插件GUI接口模块,方便快捷的创建箱子GUI界面。</description>
|
||||
<url>https://github.com/CarmJos/EasyPlugin</url>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>CarmJos</id>
|
||||
<name>Carm Jos</name>
|
||||
<email>carm@carm.cc</email>
|
||||
<url>https://www.carm.cc</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The MIT License</name>
|
||||
<url>https://opensource.org/licenses/MIT</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<ciManagement>
|
||||
<system>GitHub Actions</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/actions/workflows/maven.yml</url>
|
||||
</ciManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.parent.groupId}</groupId>
|
||||
<artifactId>easyplugin-main</artifactId>
|
||||
<version>${project.parent.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -1,208 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui;
|
||||
|
||||
import cc.carm.lib.easyplugin.utils.ColorParser;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.HumanEntity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.InventoryClickEvent;
|
||||
import org.bukkit.event.inventory.InventoryDragEvent;
|
||||
import org.bukkit.inventory.Inventory;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
public class GUI {
|
||||
|
||||
private static JavaPlugin plugin;
|
||||
private static final HashMap<UUID, GUI> openedGUIs = new HashMap<>();
|
||||
|
||||
public static void initialize(JavaPlugin plugin) {
|
||||
GUI.plugin = plugin;
|
||||
}
|
||||
|
||||
public static JavaPlugin getPlugin() {
|
||||
return plugin;
|
||||
}
|
||||
|
||||
public static HashMap<UUID, GUI> getOpenedGUIs() {
|
||||
return openedGUIs;
|
||||
}
|
||||
|
||||
protected GUIType type;
|
||||
protected String name;
|
||||
public HashMap<Integer, GUIItem> items;
|
||||
public Inventory inv;
|
||||
|
||||
/**
|
||||
* 当玩家点击目标GUI时是否取消
|
||||
*/
|
||||
boolean cancelOnTarget = true;
|
||||
|
||||
/**
|
||||
* 当玩家点击自己背包时是否取消
|
||||
*/
|
||||
boolean cancelOnSelf = true;
|
||||
|
||||
/**
|
||||
* 当玩家点击界面外时是否取消
|
||||
*/
|
||||
boolean cancelOnOuter = true;
|
||||
|
||||
protected final Map<String, Object> flags = new LinkedHashMap<>();
|
||||
|
||||
protected GUIListener listener;
|
||||
|
||||
public GUI(GUIType type, String name) {
|
||||
this.type = type;
|
||||
this.name = ColorParser.parse(name);
|
||||
this.items = new HashMap<>();
|
||||
}
|
||||
|
||||
|
||||
public HashMap<@NotNull Integer, @NotNull GUIItem> getItems() {
|
||||
return new HashMap<>(items);
|
||||
}
|
||||
|
||||
public final void setItem(int index, @Nullable GUIItem item) {
|
||||
if (item == null) {
|
||||
this.items.remove(index);
|
||||
} else {
|
||||
this.items.put(index, item);
|
||||
}
|
||||
}
|
||||
|
||||
public void setItem(GUIItem item, int... index) {
|
||||
for (int i : index) {
|
||||
setItem(i, item);
|
||||
}
|
||||
}
|
||||
|
||||
public GUIItem getItem(int index) {
|
||||
return this.items.get(index);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新玩家箱子的视图
|
||||
*/
|
||||
public void updateView() {
|
||||
if (this.inv != null) {
|
||||
List<HumanEntity> viewers = this.inv.getViewers();
|
||||
IntStream.range(0, this.inv.getSize()).forEach(index -> inv.setItem(index, new ItemStack(Material.AIR)));
|
||||
getItems().forEach((index, item) -> inv.setItem(index, item.getDisplay()));
|
||||
viewers.forEach(p -> ((Player) p).updateInventory());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置是否取消点击GUI内物品的事件
|
||||
* 如果不取消,玩家可以从GUI中拿取物品。
|
||||
*
|
||||
* @param b 是否取消
|
||||
*/
|
||||
public void setCancelOnTarget(boolean b) {
|
||||
this.cancelOnTarget = b;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置是否取消点击自己背包内物品的事件
|
||||
* 如果不取消,玩家可以从自己的背包中拿取物品。
|
||||
*
|
||||
* @param b 是否取消
|
||||
*/
|
||||
public void setCancelOnSelf(boolean b) {
|
||||
this.cancelOnSelf = b;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置是否取消点击GUI外的事件
|
||||
* 如果不取消,玩家可以把物品从GUI或背包中丢出去
|
||||
*
|
||||
* @param b 是否取消
|
||||
*/
|
||||
public void setCancelOnOuter(boolean b) {
|
||||
this.cancelOnOuter = b;
|
||||
}
|
||||
|
||||
public Object getFlag(String flag) {
|
||||
return this.flags.get(flag);
|
||||
}
|
||||
|
||||
public void setFlag(String flag, Object obj) {
|
||||
this.flags.put(flag, obj);
|
||||
}
|
||||
|
||||
public void removeFlag(String flag) {
|
||||
this.flags.remove(flag);
|
||||
}
|
||||
|
||||
public void rawClickListener(InventoryClickEvent event) {
|
||||
}
|
||||
|
||||
public void openGUI(Player player) {
|
||||
if (this.type == GUIType.CANCEL) {
|
||||
throw new IllegalStateException("被取消或不存在的GUI");
|
||||
}
|
||||
|
||||
Inventory inv = Bukkit.createInventory(null, this.type.getSize(), this.name);
|
||||
IntStream.range(0, inv.getSize()).forEach(index -> inv.setItem(index, new ItemStack(Material.AIR)));
|
||||
getItems().forEach((index, item) -> inv.setItem(index, item.getDisplay()));
|
||||
|
||||
GUI previous = getOpenedGUI(player);
|
||||
if (previous != null) {
|
||||
previous.listener.close(player);
|
||||
}
|
||||
|
||||
setOpenedGUI(player, this);
|
||||
|
||||
this.inv = inv;
|
||||
player.openInventory(inv);
|
||||
|
||||
if (listener == null) {
|
||||
Bukkit.getPluginManager().registerEvents(listener = new GUIListener(this), getPlugin());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 拖动GUI内物品是执行的代码
|
||||
*
|
||||
* @param event InventoryDragEvent
|
||||
*/
|
||||
public void onDrag(InventoryDragEvent event) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 关闭GUI时执行的代码
|
||||
*/
|
||||
public void onClose() {
|
||||
}
|
||||
|
||||
public GUIType getGUIType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public String getGUIName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public static void setOpenedGUI(Player player, GUI gui) {
|
||||
getOpenedGUIs().put(player.getUniqueId(), gui);
|
||||
}
|
||||
|
||||
public static boolean hasOpenedGUI(Player player) {
|
||||
return getOpenedGUIs().containsKey(player.getUniqueId());
|
||||
}
|
||||
|
||||
public static GUI getOpenedGUI(Player player) {
|
||||
return getOpenedGUIs().get(player.getUniqueId());
|
||||
}
|
||||
|
||||
public static void removeOpenedGUI(Player player) {
|
||||
getOpenedGUIs().remove(player.getUniqueId());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,85 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.ClickType;
|
||||
import org.bukkit.event.inventory.InventoryClickEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
public class GUIItem {
|
||||
|
||||
ItemStack display;
|
||||
boolean actionActive = true;
|
||||
|
||||
public Set<GUIClickAction> actions = new HashSet<>();
|
||||
public Set<GUIClickAction> actionsIgnoreActive = new HashSet<>();
|
||||
|
||||
public GUIItem(ItemStack display) {
|
||||
this.display = display;
|
||||
}
|
||||
|
||||
public final ItemStack getDisplay() {
|
||||
return this.display;
|
||||
}
|
||||
|
||||
public final void setDisplay(ItemStack display) {
|
||||
this.display = display;
|
||||
}
|
||||
|
||||
public final boolean isActionActive() {
|
||||
return this.actionActive;
|
||||
}
|
||||
|
||||
public final void setActionActive(boolean b) {
|
||||
actionActive = b;
|
||||
}
|
||||
|
||||
/**
|
||||
* 玩家点击该物品后执行的代码
|
||||
* 可以使用 {@link #onClick(Player, ClickType)} 操作点击者
|
||||
*
|
||||
* @param type 点击的类型
|
||||
*/
|
||||
@Deprecated
|
||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
||||
public void onClick(ClickType type) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 玩家点击GUI后执行的代码
|
||||
*
|
||||
* @param clicker 点击的玩家
|
||||
* @param type 点击的类型
|
||||
*/
|
||||
public void onClick(Player clicker, ClickType type) {
|
||||
this.onClick(type); // Deprecated method support
|
||||
}
|
||||
|
||||
public void addClickAction(GUIClickAction action) {
|
||||
actions.add(action);
|
||||
}
|
||||
|
||||
public void addActionIgnoreActive(GUIClickAction action) {
|
||||
actionsIgnoreActive.add(action);
|
||||
}
|
||||
|
||||
public void rawClickAction(InventoryClickEvent event) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 自定义点击事件代码 (须自行触发)
|
||||
*
|
||||
* @param player 点击GUI的玩家
|
||||
*/
|
||||
public void customAction(Player player) {
|
||||
|
||||
}
|
||||
|
||||
public abstract static class GUIClickAction {
|
||||
public abstract void run(ClickType type, Player player);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,92 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.HandlerList;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.inventory.InventoryClickEvent;
|
||||
import org.bukkit.event.inventory.InventoryCloseEvent;
|
||||
import org.bukkit.event.inventory.InventoryDragEvent;
|
||||
import org.bukkit.event.player.PlayerQuitEvent;
|
||||
|
||||
public class GUIListener implements Listener {
|
||||
|
||||
GUI currentGUI;
|
||||
|
||||
public GUIListener(GUI gui) {
|
||||
this.currentGUI = gui;
|
||||
}
|
||||
|
||||
public GUI getCurrentGUI() {
|
||||
return currentGUI;
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onInventoryClickEvent(InventoryClickEvent event) {
|
||||
if (!(event.getWhoClicked() instanceof Player)) return;
|
||||
Player player = (Player) event.getWhoClicked();
|
||||
if (!GUI.hasOpenedGUI(player)) return;
|
||||
if (GUI.getOpenedGUI(player) != getCurrentGUI()) return;
|
||||
|
||||
getCurrentGUI().rawClickListener(event);
|
||||
|
||||
if (event.getSlot() == -999 && getCurrentGUI().cancelOnOuter) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.getClickedInventory() == null) return;
|
||||
|
||||
if (event.getClickedInventory().equals(getCurrentGUI().inv)) {
|
||||
|
||||
if (getCurrentGUI().cancelOnTarget) event.setCancelled(true);
|
||||
|
||||
if (event.getSlot() != -999) {
|
||||
GUIItem clickedItem = getCurrentGUI().getItem(event.getSlot());
|
||||
if (clickedItem != null) {
|
||||
if (clickedItem.isActionActive()) {
|
||||
clickedItem.onClick(player, event.getClick());
|
||||
clickedItem.rawClickAction(event);
|
||||
clickedItem.actions.forEach(action -> action.run(event.getClick(), player));
|
||||
}
|
||||
clickedItem.actionsIgnoreActive.forEach(action -> action.run(event.getClick(), player));
|
||||
}
|
||||
}
|
||||
|
||||
} else if (event.getClickedInventory().equals(player.getInventory()) && getCurrentGUI().cancelOnSelf) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onDrag(InventoryDragEvent e) {
|
||||
if (!(e.getWhoClicked() instanceof Player)) return;
|
||||
if (e.getInventory().equals(getCurrentGUI().inv)
|
||||
|| e.getInventory().equals(e.getWhoClicked().getInventory())) {
|
||||
getCurrentGUI().onDrag(e);
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onInventoryCloseEvent(InventoryCloseEvent event) {
|
||||
if (!(event.getPlayer() instanceof Player)) return;
|
||||
if (!event.getInventory().equals(getCurrentGUI().inv)) return;
|
||||
|
||||
close((Player) event.getPlayer());
|
||||
|
||||
}
|
||||
|
||||
protected void close(Player p) {
|
||||
HandlerList.unregisterAll(this);
|
||||
getCurrentGUI().listener = null;
|
||||
GUI.removeOpenedGUI(p);
|
||||
getCurrentGUI().onClose();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onPlayerLeave(PlayerQuitEvent event) {
|
||||
GUI.removeOpenedGUI(event.getPlayer());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
public enum GUIType {
|
||||
|
||||
ONE_BY_NINE(1, 9),
|
||||
TWO_BY_NINE(2, 18),
|
||||
THREE_BY_NINE(3, 27),
|
||||
FOUR_BY_NINE(4, 36),
|
||||
FIVE_BY_NINE(5, 45),
|
||||
SIX_BY_NINE(6, 54),
|
||||
CANCEL(0, 0);
|
||||
|
||||
private final int lines;
|
||||
private final int size;
|
||||
|
||||
GUIType(int lines, int size) {
|
||||
this.lines = lines;
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public int getLines() {
|
||||
return lines;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static GUIType getBySize(int size) {
|
||||
return Arrays.stream(values()).filter(type -> type.getSize() == size).findFirst().orElse(CANCEL);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static GUIType getByLines(int lines) {
|
||||
return Arrays.stream(values()).filter(type -> type.getLines() == lines).findFirst().orElse(CANCEL);
|
||||
}
|
||||
|
||||
|
||||
@NotNull
|
||||
public static GUIType getByName(String name) {
|
||||
return Arrays.stream(values()).filter(type -> type.name().equalsIgnoreCase(name)).findFirst().orElse(CANCEL);
|
||||
}
|
||||
|
||||
}
|
||||
-106
@@ -1,106 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui.configuration;
|
||||
|
||||
import cc.carm.lib.easyplugin.gui.GUIItem;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.ClickType;
|
||||
import org.jetbrains.annotations.Contract;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class GUIActionConfiguration {
|
||||
|
||||
public static @NotNull GUIActionConfiguration of(@NotNull GUIActionType actionType,
|
||||
@Nullable ClickType clickType,
|
||||
@Nullable String actionContent) {
|
||||
return new GUIActionConfiguration(actionType, clickType, actionContent);
|
||||
}
|
||||
|
||||
public static @NotNull GUIActionConfiguration of(@NotNull GUIActionType actionType,
|
||||
@Nullable String actionContent) {
|
||||
return of(actionType, null, actionContent);
|
||||
}
|
||||
|
||||
public static @NotNull GUIActionConfiguration of(@NotNull GUIActionType actionType,
|
||||
@Nullable ClickType clickType) {
|
||||
return of(actionType, clickType, null);
|
||||
}
|
||||
|
||||
public static @NotNull GUIActionConfiguration of(@NotNull GUIActionType actionType) {
|
||||
return of(actionType, null, null);
|
||||
}
|
||||
|
||||
protected final @NotNull GUIActionType actionType;
|
||||
|
||||
protected final @Nullable ClickType clickType;
|
||||
protected final @Nullable String actionContent;
|
||||
|
||||
public GUIActionConfiguration(@NotNull GUIActionType actionType,
|
||||
@Nullable ClickType clickType,
|
||||
@Nullable String actionContent) {
|
||||
this.clickType = clickType;
|
||||
this.actionType = actionType;
|
||||
this.actionContent = actionContent;
|
||||
}
|
||||
|
||||
public @Nullable ClickType getClickType() {
|
||||
return clickType;
|
||||
}
|
||||
|
||||
public @NotNull GUIActionType getActionType() {
|
||||
return actionType;
|
||||
}
|
||||
|
||||
public @Nullable String getActionContent() {
|
||||
return actionContent;
|
||||
}
|
||||
|
||||
public void checkAction(Player player, ClickType type) {
|
||||
if (getClickType() == null || getClickType() == type) executeAction(player);
|
||||
}
|
||||
|
||||
public void executeAction(Player targetPlayer) {
|
||||
getActionType().getExecutor().accept(targetPlayer, getActionContent());
|
||||
}
|
||||
|
||||
public GUIItem.GUIClickAction toClickAction() {
|
||||
return new GUIItem.GUIClickAction() {
|
||||
@Override
|
||||
public void run(ClickType type, Player player) {
|
||||
checkAction(player, type);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Contract("null->null")
|
||||
public static GUIActionConfiguration deserialize(@Nullable String actionString) {
|
||||
if (actionString == null) return null;
|
||||
|
||||
int prefixStart = actionString.indexOf("[");
|
||||
int prefixEnd = actionString.indexOf("]");
|
||||
if (prefixStart < 0 || prefixEnd < 0) return null;
|
||||
|
||||
String prefix = actionString.substring(prefixStart + 1, prefixEnd);
|
||||
ClickType clickType = null;
|
||||
GUIActionType actionType;
|
||||
if (prefix.contains(":")) {
|
||||
String[] args = prefix.split(":");
|
||||
clickType = GUIConfiguration.readClickType(args[0]);
|
||||
actionType = GUIActionType.readActionType(args[1]);
|
||||
} else {
|
||||
actionType = GUIActionType.readActionType(prefix);
|
||||
}
|
||||
|
||||
if (actionType == null) return null;
|
||||
|
||||
String content = actionString.substring(prefixEnd + 1).trim();
|
||||
return of(actionType, clickType, content);
|
||||
}
|
||||
|
||||
public @NotNull String serialize() {
|
||||
String prefix = "[" + getActionType().name() + (getClickType() == null ? "" : ":" + getClickType().name()) + "]";
|
||||
String content = getActionContent() == null ? "" : " " + getActionContent();
|
||||
return prefix + content;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui.configuration;
|
||||
|
||||
import cc.carm.lib.easyplugin.utils.MessageUtils;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.function.BiConsumer;
|
||||
|
||||
public enum GUIActionType {
|
||||
|
||||
/**
|
||||
* 以玩家聊天的形式执行
|
||||
* 若内容以 “/" 开头,则会以玩家身份执行命令。
|
||||
*/
|
||||
CHAT((player, string) -> {
|
||||
if (string == null) return;
|
||||
MessageUtils.setPlaceholders(player, Collections.singletonList(string)).forEach(player::chat);
|
||||
}),
|
||||
|
||||
/**
|
||||
* 以后台的形式执行指令
|
||||
* 指令内容不需要以“/”开头。
|
||||
*/
|
||||
CONSOLE((player, string) -> {
|
||||
if (string == null) return;
|
||||
MessageUtils.setPlaceholders(player, Collections.singletonList(string))
|
||||
.forEach(message -> Bukkit.dispatchCommand(Bukkit.getConsoleSender(), message));
|
||||
}),
|
||||
|
||||
/**
|
||||
* 向玩家发送消息。
|
||||
*/
|
||||
MESSAGE(MessageUtils::send),
|
||||
|
||||
/**
|
||||
* 向玩家发送声音。
|
||||
* 允许配置音量与音调
|
||||
* <ul>
|
||||
* <li>SOUND_NAME</li>
|
||||
* <li>SOUND_NAME:VOLUME</li>
|
||||
* <li>SOUND_NAME:VOLUME:PITCH</li>
|
||||
* </ul>
|
||||
*/
|
||||
SOUND((player, string) -> {
|
||||
if (string == null) return;
|
||||
try {
|
||||
String[] args = string.contains(":") ? string.split(":") : new String[]{string};
|
||||
Sound sound = Arrays.stream(Sound.values())
|
||||
.filter(s -> s.name().equals(args[0]))
|
||||
.findFirst().orElse(null);
|
||||
|
||||
if (sound == null) return;
|
||||
float volume = args.length > 1 ? Float.parseFloat(args[1]) : 1F;
|
||||
float pitch = args.length > 2 ? Float.parseFloat(args[2]) : 1F;
|
||||
|
||||
player.playSound(player.getLocation(), sound, volume, pitch);
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}),
|
||||
|
||||
/**
|
||||
* 为玩家关闭GUI。
|
||||
*/
|
||||
CLOSE((player, string) -> player.closeInventory());
|
||||
|
||||
BiConsumer<@NotNull Player, @Nullable String> executor;
|
||||
|
||||
|
||||
GUIActionType(BiConsumer<@NotNull Player, @Nullable String> executor) {
|
||||
this.executor = executor;
|
||||
}
|
||||
|
||||
public BiConsumer<@NotNull Player, @Nullable String> getExecutor() {
|
||||
return executor;
|
||||
}
|
||||
|
||||
public static GUIActionType readActionType(String string) {
|
||||
return Arrays.stream(GUIActionType.values())
|
||||
.filter(action -> action.name().equalsIgnoreCase(string))
|
||||
.findFirst().orElse(null);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,98 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui.configuration;
|
||||
|
||||
import cc.carm.lib.easyplugin.gui.GUI;
|
||||
import cc.carm.lib.easyplugin.gui.GUIType;
|
||||
import cc.carm.lib.easyplugin.utils.ColorParser;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.ClickType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
|
||||
public class GUIConfiguration {
|
||||
|
||||
protected String title;
|
||||
protected int lines;
|
||||
|
||||
protected Map<String, GUIItemConfiguration> guiItems;
|
||||
|
||||
public GUIConfiguration(String title, int lines) {
|
||||
this(title, lines, new LinkedHashMap<>(1));
|
||||
}
|
||||
|
||||
public GUIConfiguration(String title, int lines, Map<String, GUIItemConfiguration> guiItems) {
|
||||
this.title = title;
|
||||
this.lines = lines;
|
||||
this.guiItems = guiItems;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return ColorParser.parse(title);
|
||||
}
|
||||
|
||||
public int getLines() {
|
||||
return lines;
|
||||
}
|
||||
|
||||
public GUIType getGUIType() {
|
||||
return Optional.of(GUIType.getByLines(lines))
|
||||
.map(type -> type == GUIType.CANCEL ? GUIType.SIX_BY_NINE : type)
|
||||
.get();
|
||||
}
|
||||
|
||||
public Map<String, GUIItemConfiguration> getGUIItems() {
|
||||
return guiItems;
|
||||
}
|
||||
|
||||
public void setupItems(Player player, GUI gui) {
|
||||
getGUIItems().values().forEach(itemConfiguration -> itemConfiguration.setupItems(player, gui));
|
||||
}
|
||||
|
||||
public @NotNull Map<String, Object> serialize() {
|
||||
LinkedHashMap<String, Object> map = new LinkedHashMap<>();
|
||||
|
||||
map.put("title", this.title);
|
||||
map.put("lines", this.lines);
|
||||
if (!this.guiItems.isEmpty()) {
|
||||
LinkedHashMap<String, Object> items = new LinkedHashMap<>();
|
||||
this.guiItems.forEach((key, value) -> items.put(key, value.serialize()));
|
||||
map.put("items", items);
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
|
||||
public static GUIConfiguration readConfiguration(@Nullable ConfigurationSection section) {
|
||||
if (section == null) return new GUIConfiguration("name", 6);
|
||||
|
||||
return new GUIConfiguration(
|
||||
section.getString("title", ""),
|
||||
section.getInt("lines", 6),
|
||||
readItems(section.getConfigurationSection("items"))
|
||||
);
|
||||
}
|
||||
|
||||
public static Map<String, GUIItemConfiguration> readItems(ConfigurationSection itemsSection) {
|
||||
Map<String, GUIItemConfiguration> items = new LinkedHashMap<>();
|
||||
if (itemsSection == null) return items;
|
||||
|
||||
for (String key : itemsSection.getKeys(false)) {
|
||||
GUIItemConfiguration item = GUIItemConfiguration.readFrom(itemsSection.getConfigurationSection(key));
|
||||
if (item != null) items.put(key, item);
|
||||
}
|
||||
|
||||
return items;
|
||||
}
|
||||
|
||||
public static ClickType readClickType(String type) {
|
||||
return Arrays.stream(ClickType.values())
|
||||
.filter(click -> click.name().equalsIgnoreCase(type))
|
||||
.findFirst().orElse(null);
|
||||
}
|
||||
|
||||
}
|
||||
-150
@@ -1,150 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui.configuration;
|
||||
|
||||
import cc.carm.lib.easyplugin.gui.GUI;
|
||||
import cc.carm.lib.easyplugin.gui.GUIItem;
|
||||
import cc.carm.lib.easyplugin.utils.ColorParser;
|
||||
import cc.carm.lib.easyplugin.utils.ItemStackFactory;
|
||||
import cc.carm.lib.easyplugin.utils.MessageUtils;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class GUIItemConfiguration {
|
||||
|
||||
@Nullable ItemStack original;
|
||||
|
||||
@NotNull Material type;
|
||||
int amount;
|
||||
int data;
|
||||
@Nullable String name;
|
||||
@NotNull List<String> lore;
|
||||
|
||||
@NotNull List<Integer> slots;
|
||||
@NotNull List<GUIActionConfiguration> actions;
|
||||
|
||||
public GUIItemConfiguration(@NotNull Material type, int amount, int data,
|
||||
@Nullable String name, @NotNull List<String> lore,
|
||||
@NotNull List<GUIActionConfiguration> actions,
|
||||
@NotNull List<Integer> slots) {
|
||||
this(null, type, amount, data, name, lore, actions, slots);
|
||||
}
|
||||
|
||||
public GUIItemConfiguration(@Nullable ItemStack original,
|
||||
@NotNull Material type, int amount, int data,
|
||||
@Nullable String name, @NotNull List<String> lore,
|
||||
@NotNull List<GUIActionConfiguration> actions,
|
||||
@NotNull List<Integer> slots) {
|
||||
this.original = original;
|
||||
this.type = type;
|
||||
this.amount = amount;
|
||||
this.data = data;
|
||||
this.name = name;
|
||||
this.lore = lore;
|
||||
this.slots = slots;
|
||||
this.actions = actions;
|
||||
}
|
||||
|
||||
public void setupItems(Player player, GUI gui) {
|
||||
ItemStack itemStack;
|
||||
if (original != null) {
|
||||
ItemStack tmp = original.clone();
|
||||
ItemMeta originalMeta = original.getItemMeta();
|
||||
if (originalMeta != null) {
|
||||
if (originalMeta.hasDisplayName()) {
|
||||
originalMeta.setDisplayName(parseText(player, originalMeta.getDisplayName()));
|
||||
}
|
||||
if (originalMeta.getLore() != null) {
|
||||
originalMeta.setLore(parseTexts(player, originalMeta.getLore()));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
tmp.setItemMeta(originalMeta);
|
||||
itemStack = tmp;
|
||||
} else {
|
||||
ItemStackFactory icon = new ItemStackFactory(this.type, this.amount, this.data);
|
||||
if (this.name != null) {
|
||||
icon.setDisplayName(parseText(player, this.name));
|
||||
}
|
||||
if (!this.lore.isEmpty()) {
|
||||
icon.setLore(parseTexts(player, this.lore));
|
||||
}
|
||||
itemStack = icon.toItemStack();
|
||||
}
|
||||
|
||||
|
||||
GUIItem item = new GUIItem(itemStack);
|
||||
this.actions.stream().map(GUIActionConfiguration::toClickAction).forEach(item::addClickAction);
|
||||
this.slots.forEach(slot -> gui.setItem(slot, item));
|
||||
}
|
||||
|
||||
private List<String> parseTexts(Player player, List<String> lore) {
|
||||
return ColorParser.parse(MessageUtils.setPlaceholders(player, lore));
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private String parseText(Player player, @NotNull String name) {
|
||||
return ColorParser.parse(MessageUtils.setPlaceholders(player, name));
|
||||
}
|
||||
|
||||
public @NotNull Map<String, Object> serialize() {
|
||||
LinkedHashMap<String, Object> map = new LinkedHashMap<>();
|
||||
if (original != null) map.put("original", original);
|
||||
else {
|
||||
map.put("type", this.type.name());
|
||||
if (this.data != 0) map.put("data", this.data);
|
||||
}
|
||||
|
||||
if (this.name != null) map.put("name", this.name);
|
||||
if (this.amount != 1) map.put("amount", this.amount);
|
||||
if (!this.lore.isEmpty()) map.put("lore", this.lore);
|
||||
if (this.slots.size() > 1) {
|
||||
map.put("slots", this.slots);
|
||||
} else if (slots.size() == 1) {
|
||||
map.put("slot", this.slots.get(0));
|
||||
}
|
||||
if (!this.actions.isEmpty()) {
|
||||
map.put("actions", this.actions.stream().map(GUIActionConfiguration::serialize).collect(Collectors.toList()));
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static GUIItemConfiguration readFrom(@Nullable ConfigurationSection itemSection) {
|
||||
if (itemSection == null) return null;
|
||||
|
||||
ItemStack original = null;
|
||||
if (itemSection.contains("original")) original = itemSection.getItemStack("original");
|
||||
|
||||
String material = Optional.ofNullable(itemSection.getString("type")).orElse("STONE");
|
||||
Material type = Optional.ofNullable(Material.matchMaterial(material)).orElse(Material.STONE);
|
||||
int data = itemSection.getInt("data", 0);
|
||||
int amount = itemSection.getInt("amount", 1);
|
||||
String name = itemSection.getString("name");
|
||||
List<String> lore = itemSection.getStringList("lore");
|
||||
|
||||
List<Integer> slots = itemSection.getIntegerList("slots");
|
||||
int slot = itemSection.getInt("slot", 0);
|
||||
|
||||
List<String> actionsString = itemSection.getStringList("actions");
|
||||
List<GUIActionConfiguration> actions = new ArrayList<>();
|
||||
for (String actionString : actionsString) {
|
||||
GUIActionConfiguration action = GUIActionConfiguration.deserialize(actionString);
|
||||
if (action == null) continue;
|
||||
actions.add(action);
|
||||
}
|
||||
|
||||
return new GUIItemConfiguration(
|
||||
original, type, amount, data, name, lore, actions,
|
||||
slots.size() > 0 ? slots : Collections.singletonList(slot)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,96 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui.paged;
|
||||
|
||||
import cc.carm.lib.easyplugin.gui.GUIItem;
|
||||
import cc.carm.lib.easyplugin.gui.GUIType;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.ClickType;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
public class AutoPagedGUI extends CommonPagedGUI {
|
||||
|
||||
public static Function<Player, ItemStack> defaultPreviousPage = null;
|
||||
public static Function<Player, ItemStack> defaultNextPage = null;
|
||||
|
||||
ItemStack previousPageUI;
|
||||
ItemStack nextPageUI;
|
||||
int previousPageSlot = -1;
|
||||
int nextPageSlot = -1;
|
||||
|
||||
public AutoPagedGUI(GUIType type, String name, int[] range) {
|
||||
super(type, name, range);
|
||||
}
|
||||
|
||||
public AutoPagedGUI(GUIType type, String name, int a, int b) {
|
||||
super(type, name, a, b);
|
||||
}
|
||||
|
||||
public void setPreviousPageUI(ItemStack lastPageUI) {
|
||||
this.previousPageUI = lastPageUI;
|
||||
}
|
||||
|
||||
public void setNextPageUI(ItemStack nextPageUI) {
|
||||
this.nextPageUI = nextPageUI;
|
||||
}
|
||||
|
||||
public void setPreviousPageSlot(int slot) {
|
||||
this.previousPageSlot = slot;
|
||||
}
|
||||
|
||||
public void setNextPageSlot(int slot) {
|
||||
this.nextPageSlot = slot;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void openGUI(Player user) {
|
||||
if (previousPageSlot >= 0) {
|
||||
if (hasPreviousPage()) {
|
||||
setItem(previousPageSlot, new GUIItem(
|
||||
previousPageUI == null ? getDefaultPreviousPage(user) : previousPageUI) {
|
||||
@Override
|
||||
public void onClick(Player clicker, ClickType type) {
|
||||
if (type == ClickType.RIGHT) {
|
||||
goFirstPage();
|
||||
} else {
|
||||
goPreviousPage();
|
||||
}
|
||||
openGUI(user);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
setItem(previousPageSlot, null);
|
||||
}
|
||||
}
|
||||
|
||||
if (nextPageSlot >= 0) {
|
||||
if (hasNextPage()) {
|
||||
setItem(nextPageSlot, new GUIItem(
|
||||
nextPageUI == null ? getDefaultNextPage(user) : nextPageUI) {
|
||||
@Override
|
||||
public void onClick(Player clicker, ClickType type) {
|
||||
if (type == ClickType.RIGHT) {
|
||||
goLastPage();
|
||||
} else {
|
||||
goNextPage();
|
||||
}
|
||||
openGUI(user);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
setItem(nextPageSlot, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
super.openGUI(user);
|
||||
}
|
||||
|
||||
private static ItemStack getDefaultNextPage(Player player) {
|
||||
return defaultNextPage != null ? defaultNextPage.apply(player) : null;
|
||||
}
|
||||
|
||||
private static ItemStack getDefaultPreviousPage(Player player) {
|
||||
return defaultPreviousPage != null ? defaultPreviousPage.apply(player) : null;
|
||||
}
|
||||
}
|
||||
@@ -1,162 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui.paged;
|
||||
|
||||
|
||||
import cc.carm.lib.easyplugin.gui.GUIItem;
|
||||
import cc.carm.lib.easyplugin.gui.GUIType;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class CommonPagedGUI extends PagedGUI {
|
||||
|
||||
private int[] range;
|
||||
|
||||
private CommonPagedGUI(GUIType type, String name) {
|
||||
super(type, name);
|
||||
}
|
||||
|
||||
public CommonPagedGUI(GUIType type, String Name, int a, int b) {
|
||||
this(type, Name, toRange(type, a, b));
|
||||
}
|
||||
|
||||
public CommonPagedGUI(GUIType type, String Name, int[] range) {
|
||||
super(type, Name);
|
||||
Arrays.sort(range);
|
||||
this.range = range;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
int[] matrix = new int[]{
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8,
|
||||
9, 10, 11, 12, 13, 14, 15, 16, 17,
|
||||
18, 19, 20, 21, 22, 23, 24, 25, 26,
|
||||
27, 28, 29, 30, 31, 32, 33, 34, 35,
|
||||
36, 37, 38, 39, 40, 41, 42, 43, 44,
|
||||
45, 46, 47, 48, 49, 50, 51, 52, 53
|
||||
}
|
||||
*/
|
||||
|
||||
private static int[] toRange(GUIType type, int a, int b) {
|
||||
if (a > b) {
|
||||
a = a ^ b;
|
||||
b = a ^ b;
|
||||
a = a ^ b;
|
||||
}
|
||||
|
||||
int lineA = getLine(a);
|
||||
int columnA = getColumn(a);
|
||||
int lineB = getLine(b);
|
||||
int columnB = getColumn(b);
|
||||
|
||||
if (lineB > type.getLines())
|
||||
throw new IndexOutOfBoundsException("页面内容范围超过了GUI的大小");
|
||||
|
||||
int[] range = new int[(lineB - lineA + 1) * (columnB - columnA + 1)];
|
||||
|
||||
for (int i = 0, l = 0; i < type.getSize(); i++) {
|
||||
int li = getLine(i);
|
||||
int ci = getColumn(i);
|
||||
if (li >= lineA && li <= lineB && ci >= columnA && ci <= columnB) {
|
||||
range[l] = i;
|
||||
l++;
|
||||
}
|
||||
}
|
||||
|
||||
return range;
|
||||
}
|
||||
|
||||
private static int getLine(int i) {
|
||||
return i / 9 + 1;
|
||||
}
|
||||
|
||||
private static int getColumn(int i) {
|
||||
return i % 9 + 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasPreviousPage() {
|
||||
return page > 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasNextPage() {
|
||||
return page < getLastPageNumber();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 前往第一页
|
||||
*/
|
||||
public void goFirstPage() {
|
||||
if (hasPreviousPage())
|
||||
this.page = 1;
|
||||
else
|
||||
throw new IndexOutOfBoundsException();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 前往最后一页
|
||||
*/
|
||||
public void goLastPage() {
|
||||
if (hasNextPage())
|
||||
this.page = getLastPageNumber();
|
||||
else
|
||||
throw new IndexOutOfBoundsException();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 得到最后一页的页码
|
||||
*
|
||||
* @return 最后一页的页码
|
||||
*/
|
||||
public int getLastPageNumber() {
|
||||
return (this.container.size() / range.length) + ((this.container.size() % range.length) == 0 ? 0 : 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* 得到第一页的页码
|
||||
*
|
||||
* @return 第一页页码(默认为1)
|
||||
*/
|
||||
public int getFirstPageNumber() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void openGUI(Player player) {
|
||||
if (container.isEmpty()) {
|
||||
super.openGUI(player);
|
||||
return;
|
||||
}
|
||||
List<GUIItem> list = new ArrayList<>();
|
||||
int start = (page - 1) * range.length;
|
||||
for (int i = start; i < start + range.length; i++) {
|
||||
if (i < container.size()) {
|
||||
list.add(container.get(i));
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
Arrays.stream(range).forEach(index -> setItem(index, null));
|
||||
for (int index : range) {
|
||||
if (i < list.size()) {
|
||||
setItem(index, list.get(i));
|
||||
i++;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
super.openGUI(player);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.gui.paged;
|
||||
|
||||
|
||||
import cc.carm.lib.easyplugin.gui.GUI;
|
||||
import cc.carm.lib.easyplugin.gui.GUIItem;
|
||||
import cc.carm.lib.easyplugin.gui.GUIType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public abstract class PagedGUI extends GUI {
|
||||
|
||||
List<GUIItem> container = new ArrayList<>();
|
||||
public int page = 1;
|
||||
|
||||
public PagedGUI(GUIType type, String name) {
|
||||
super(type, name);
|
||||
}
|
||||
|
||||
public int addItem(GUIItem i) {
|
||||
container.add(i);
|
||||
return container.size() - 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* 从GUI中移除一个物品
|
||||
*
|
||||
* @param item 物品
|
||||
*/
|
||||
public void removeItem(GUIItem item) {
|
||||
container.remove(item);
|
||||
}
|
||||
|
||||
/**
|
||||
* 从GUI中移除一个物品
|
||||
*
|
||||
* @param slot 物品格子数
|
||||
*/
|
||||
public void removeItem(int slot) {
|
||||
container.remove(slot);
|
||||
}
|
||||
|
||||
public List<GUIItem> getItemsContainer() {
|
||||
return new ArrayList<>(container);
|
||||
}
|
||||
|
||||
/**
|
||||
* 前往上一页
|
||||
*/
|
||||
public void goPreviousPage() {
|
||||
if (hasPreviousPage())
|
||||
page--;
|
||||
else
|
||||
throw new IndexOutOfBoundsException();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 前往下一页
|
||||
*/
|
||||
public void goNextPage() {
|
||||
if (hasNextPage())
|
||||
page++;
|
||||
else
|
||||
throw new IndexOutOfBoundsException();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return 是否有上一页
|
||||
*/
|
||||
public abstract boolean hasPreviousPage();
|
||||
|
||||
/**
|
||||
* @return 是否有下一页
|
||||
*/
|
||||
public abstract boolean hasNextPage();
|
||||
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
import cc.carm.lib.easyplugin.gui.configuration.GUIActionType;
|
||||
import cc.carm.lib.easyplugin.gui.configuration.GUIConfiguration;
|
||||
import org.bukkit.event.inventory.ClickType;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class ActionReadTest {
|
||||
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
|
||||
List<String> actions = Arrays.asList(
|
||||
"[CHAT] 123123",
|
||||
"[SHIFT_LEFT:CHAT] /test qwq",
|
||||
"[CONSOLE] say hello",
|
||||
"[CLOSE]"
|
||||
);
|
||||
|
||||
for (String actionString : actions) {
|
||||
int prefixStart = actionString.indexOf("[");
|
||||
int prefixEnd = actionString.indexOf("]");
|
||||
if (prefixStart < 0 || prefixEnd < 0) continue;
|
||||
|
||||
String prefix = actionString.substring(prefixStart + 1, prefixEnd);
|
||||
ClickType clickType = null;
|
||||
GUIActionType actionType;
|
||||
if (prefix.contains(":")) {
|
||||
String[] args = prefix.split(":");
|
||||
clickType = GUIConfiguration.readClickType(args[0]);
|
||||
actionType = GUIActionType.readActionType(args[1]);
|
||||
} else {
|
||||
actionType = GUIActionType.readActionType(prefix);
|
||||
}
|
||||
|
||||
if (actionType == null) {
|
||||
System.out.println("# " + actionString);
|
||||
System.out.println("- actionType is Null");
|
||||
continue;
|
||||
}
|
||||
|
||||
System.out.println("# " + actionType.name() + " " + (clickType == null ? "" : clickType.name()));
|
||||
System.out.println("- " + actionString.substring(prefixEnd + 1).trim());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>easyplugin-parent</artifactId>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<version>1.5.3</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>${project.jdk.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
</properties>
|
||||
|
||||
|
||||
<artifactId>easyplugin-main</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>EasyPlugin-Main</name>
|
||||
<description>轻松插件主要接口模块,包含便捷的插件入口类与相关工具类。</description>
|
||||
<url>https://github.com/CarmJos/EasyPlugin</url>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>CarmJos</id>
|
||||
<name>Carm Jos</name>
|
||||
<email>carm@carm.cc</email>
|
||||
<url>https://www.carm.cc</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The MIT License</name>
|
||||
<url>https://opensource.org/licenses/MIT</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<ciManagement>
|
||||
<system>GitHub Actions</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/actions/workflows/maven.yml</url>
|
||||
</ciManagement>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>easyplugin-utils</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>me.clip</groupId>
|
||||
<artifactId>placeholderapi</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -1,221 +0,0 @@
|
||||
package cc.carm.lib.easyplugin;
|
||||
|
||||
import cc.carm.lib.easyplugin.i18n.EasyPluginMessageProvider;
|
||||
import cc.carm.lib.easyplugin.utils.JarResourceUtils;
|
||||
import cc.carm.lib.easyplugin.utils.SchedulerUtils;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.PluginCommand;
|
||||
import org.bukkit.command.TabCompleter;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.plugin.PluginDescriptionFile;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.bukkit.plugin.java.JavaPluginLoader;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.File;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public abstract class EasyPlugin extends JavaPlugin {
|
||||
|
||||
protected @NotNull EasyPluginMessageProvider messageProvider;
|
||||
|
||||
public EasyPlugin() {
|
||||
this(EasyPluginMessageProvider.ZH_CN);
|
||||
}
|
||||
|
||||
public EasyPlugin(@NotNull EasyPluginMessageProvider messageProvider) {
|
||||
this.messageProvider = messageProvider;
|
||||
}
|
||||
|
||||
protected EasyPlugin(JavaPluginLoader loader, PluginDescriptionFile descriptionFile, File dataFolder, File file) {
|
||||
this(EasyPluginMessageProvider.ZH_CN, loader, descriptionFile, dataFolder, file);
|
||||
}
|
||||
|
||||
protected EasyPlugin(@NotNull EasyPluginMessageProvider messageProvider,
|
||||
JavaPluginLoader loader, PluginDescriptionFile descriptionFile, File dataFolder, File file) {
|
||||
super(loader, descriptionFile, dataFolder, file);
|
||||
this.messageProvider = messageProvider;
|
||||
}
|
||||
|
||||
protected SchedulerUtils scheduler;
|
||||
protected boolean initialized = false;
|
||||
|
||||
@Override
|
||||
public final void onLoad() {
|
||||
scheduler = new SchedulerUtils(this);
|
||||
if (!hasOverride("load")) return;
|
||||
|
||||
long startTime = System.currentTimeMillis();
|
||||
|
||||
log(messageProvider.loading(this));
|
||||
load();
|
||||
log(messageProvider.loaded(this, startTime));
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void onEnable() {
|
||||
outputInfo();
|
||||
|
||||
log(messageProvider.enabling(this));
|
||||
long startTime = System.currentTimeMillis();
|
||||
|
||||
if (!(this.initialized = initialize())) {
|
||||
setEnabled(false);
|
||||
log(messageProvider.enableFailure(this, startTime));
|
||||
return;
|
||||
}
|
||||
|
||||
log(messageProvider.enableSuccess(this, startTime));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public final void onDisable() {
|
||||
if (!hasOverride("shutdown") || !this.initialized) return;
|
||||
outputInfo();
|
||||
|
||||
log(messageProvider.disabling(this));
|
||||
long startTime = System.currentTimeMillis();
|
||||
shutdown();
|
||||
log(messageProvider.disabled(this, startTime));
|
||||
}
|
||||
|
||||
protected void load() {
|
||||
}
|
||||
|
||||
protected abstract boolean initialize();
|
||||
|
||||
protected void shutdown() {
|
||||
}
|
||||
|
||||
/**
|
||||
* 重写以展示插件的相关信息,如插件横幅、下载地址等。
|
||||
*/
|
||||
public void outputInfo() {
|
||||
Optional.ofNullable(JarResourceUtils.readResource(this.getResource("PLUGIN_INFO"))).ifPresent(this::log);
|
||||
}
|
||||
|
||||
public boolean isDebugging() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public SchedulerUtils getScheduler() {
|
||||
return scheduler;
|
||||
}
|
||||
|
||||
public void registerListener(@NotNull Listener... listeners) {
|
||||
Arrays.stream(listeners).forEach(listener -> Bukkit.getPluginManager().registerEvents(listener, this));
|
||||
}
|
||||
|
||||
public void registerCommand(String commandName,
|
||||
@NotNull CommandExecutor executor) {
|
||||
registerCommand(commandName, executor, executor instanceof TabCompleter ? (TabCompleter) executor : null);
|
||||
}
|
||||
|
||||
public void registerCommand(String commandName,
|
||||
@NotNull CommandExecutor executor,
|
||||
@Nullable TabCompleter tabCompleter) {
|
||||
PluginCommand command = Bukkit.getPluginCommand(commandName);
|
||||
if (command == null) return;
|
||||
command.setExecutor(executor);
|
||||
if (tabCompleter != null) command.setTabCompleter(tabCompleter);
|
||||
}
|
||||
|
||||
public void print(@Nullable String prefix, @Nullable String... messages) {
|
||||
messageProvider.print(this, prefix, messages);
|
||||
}
|
||||
|
||||
public void log(@Nullable String... messages) {
|
||||
print(null, messages);
|
||||
}
|
||||
|
||||
public void error(String... messages) {
|
||||
print("&c[ERROR] &r", messages);
|
||||
}
|
||||
|
||||
public void debug(@Nullable String... messages) {
|
||||
if (isDebugging()) print("&8[DEBUG] &r", messages);
|
||||
}
|
||||
|
||||
/**
|
||||
* 在主线程执行操作,并支持获取其结果。
|
||||
*
|
||||
* @param <T> 结果类型
|
||||
* @param action 需要执行的内容
|
||||
* @return CompletableFuture
|
||||
*/
|
||||
public @NotNull <T> CompletableFuture<T> supplySync(@NotNull Supplier<T> action) {
|
||||
CompletableFuture<T> future = new CompletableFuture<>();
|
||||
getScheduler().run(() -> future.complete(action.get()));
|
||||
return future;
|
||||
}
|
||||
|
||||
/**
|
||||
* 在异步线程中执行一个操作,并获取操作的结果。
|
||||
*
|
||||
* @param <T> 事件类型
|
||||
* @param action 需要执行的内容
|
||||
* @return CompletableFuture
|
||||
*/
|
||||
public @NotNull <T> CompletableFuture<T> supplyAsync(@NotNull Supplier<T> action) {
|
||||
CompletableFuture<T> future = new CompletableFuture<>();
|
||||
getScheduler().runAsync(() -> future.complete(action.get()));
|
||||
return future;
|
||||
}
|
||||
|
||||
/**
|
||||
* 在主线程唤起一个事件,并支持获取事件的结果。
|
||||
*
|
||||
* @param event 同步事件 (isAsync=false)
|
||||
* @param <T> 事件类型
|
||||
* @return CompletableFuture
|
||||
*/
|
||||
public @NotNull <T extends Event> CompletableFuture<T> callSync(T event) {
|
||||
return supplySync(() -> {
|
||||
Bukkit.getPluginManager().callEvent(event);
|
||||
return event;
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 在异步线程中唤起一个事件,并支持获取事件的结果。
|
||||
*
|
||||
* @param event 异步事件 (isAsync=true)
|
||||
* @param <T> 事件类型
|
||||
* @return CompletableFuture
|
||||
*/
|
||||
public @NotNull <T extends Event> CompletableFuture<T> callAsync(T event) {
|
||||
return supplyAsync(() -> {
|
||||
Bukkit.getPluginManager().callEvent(event);
|
||||
return event;
|
||||
});
|
||||
}
|
||||
|
||||
protected void setMessageProvider(@NotNull EasyPluginMessageProvider provider) {
|
||||
this.messageProvider = provider;
|
||||
}
|
||||
|
||||
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
|
||||
private boolean hasOverride(String methodName) {
|
||||
Map<Method, Method> methodMap = new HashMap<>();
|
||||
Arrays.stream(EasyPlugin.class.getDeclaredMethods())
|
||||
.filter(method -> method.getName().equals(methodName))
|
||||
.forEach(method -> Arrays.stream(getClass().getDeclaredMethods())
|
||||
.filter(extend -> extend.getName().equals(methodName))
|
||||
.filter(extend -> extend.getReturnType().equals(method.getReturnType()))
|
||||
.filter(extend -> extend.getParameterTypes().length == method.getParameterTypes().length)
|
||||
.findFirst().ifPresent(extendMethod -> methodMap.put(method, extendMethod))
|
||||
);
|
||||
return !methodMap.isEmpty();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,113 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.i18n;
|
||||
|
||||
import cc.carm.lib.easyplugin.utils.ColorParser;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
public interface EasyPluginMessageProvider {
|
||||
|
||||
EasyPluginMessageProvider ZH_CN = new zh_CN();
|
||||
EasyPluginMessageProvider EN_US = new en_US();
|
||||
|
||||
String loading(Plugin plugin);
|
||||
|
||||
String loaded(Plugin plugin, long startMillis);
|
||||
|
||||
String enabling(Plugin plugin);
|
||||
|
||||
String enableSuccess(Plugin plugin, long startMillis);
|
||||
|
||||
String enableFailure(Plugin plugin, long startMillis);
|
||||
|
||||
String disabling(Plugin plugin);
|
||||
|
||||
String disabled(Plugin plugin, long startMillis);
|
||||
|
||||
default void print(@NotNull Plugin plugin, @Nullable String prefix, @Nullable String... messages) {
|
||||
Arrays.stream(messages)
|
||||
.map(message -> "[" + plugin.getName() + "] " + (prefix == null ? "" : prefix) + message)
|
||||
.map(ColorParser::parse)
|
||||
.forEach(message -> Bukkit.getConsoleSender().sendMessage(message));
|
||||
}
|
||||
|
||||
class zh_CN implements EasyPluginMessageProvider {
|
||||
|
||||
@Override
|
||||
public String loading(Plugin plugin) {
|
||||
return "&f" + plugin.getName() + " " + plugin.getDescription().getVersion() + " 开始加载...";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String loaded(Plugin plugin, long startMillis) {
|
||||
return "&f加载完成 ,共耗时 " + (System.currentTimeMillis() - startMillis) + " ms 。";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String enabling(Plugin plugin) {
|
||||
return "&f" + plugin.getName() + " " + plugin.getDescription().getVersion() + " 开始启动...";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String enableSuccess(Plugin plugin, long startMillis) {
|
||||
return "&a启用完成! &f共耗时 " + (System.currentTimeMillis() - startMillis) + " ms 。";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String enableFailure(Plugin plugin, long startMillis) {
|
||||
return "&c启用失败! &f已耗时 " + (System.currentTimeMillis() - startMillis) + " ms 。";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String disabling(Plugin plugin) {
|
||||
return "&f" + plugin.getName() + " " + plugin.getDescription().getVersion() + " 开始卸载...";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String disabled(Plugin plugin, long startMillis) {
|
||||
return "&f卸载完成! 共耗时 " + (System.currentTimeMillis() - startMillis) + " ms 。";
|
||||
}
|
||||
}
|
||||
|
||||
class en_US implements EasyPluginMessageProvider {
|
||||
|
||||
@Override
|
||||
public String loading(Plugin plugin) {
|
||||
return "&f" + plugin.getName() + " " + plugin.getDescription().getVersion() + " loading...";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String loaded(Plugin plugin, long startMillis) {
|
||||
return "&fLoaded after " + (System.currentTimeMillis() - startMillis) + " ms.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String enabling(Plugin plugin) {
|
||||
return "&f" + plugin.getName() + " " + plugin.getDescription().getVersion() + " enabling...";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String enableSuccess(Plugin plugin, long startMillis) {
|
||||
return "&aEnabled successfully!&f Cost " + (System.currentTimeMillis() - startMillis) + " ms.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String enableFailure(Plugin plugin, long startMillis) {
|
||||
return "&cEnabled failed after " + (System.currentTimeMillis() - startMillis) + " ms.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String disabling(Plugin plugin) {
|
||||
return "&f" + plugin.getName() + " " + plugin.getDescription().getVersion() + " begin to shutdown...";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String disabled(Plugin plugin, long startMillis) {
|
||||
return "&fShutdown successfully, cost " + (System.currentTimeMillis() - startMillis) + " ms.";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,208 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.utils;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.List;
|
||||
import java.util.*;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
/**
|
||||
* 颜色解析器。
|
||||
* <br> 普通颜色 格式 {@code &+颜色代码 },如 {@literal &c} 、{@literal &a}
|
||||
* <br> RGB颜色(版本需要≥1.14) 格式 {@code &(#XXXXXX) },如 {@literal &(#aaaaaa)}
|
||||
* <br> 渐变RBG颜色(版本需要≥1.14) 格式 {@code &<#XXXXXX>FOOBAR&<#XXXXXX> }
|
||||
* <p> 注意:当使用渐变RGB颜色时,普通颜色代码与RGB颜色代码将失效。
|
||||
*/
|
||||
public class ColorParser {
|
||||
|
||||
public static final Pattern HEX_PATTERN = Pattern.compile("&\\(&?#([\\da-fA-F]{6})\\)");
|
||||
public static final Pattern GRADIENT_PATTERN = Pattern.compile("&<&?#([\\da-fA-F]{6})>");
|
||||
public static final Pattern COLOR_PATTERN = Pattern.compile("([&§][0-9a-fA-FrRxX])+"); // 会影响颜色的代码
|
||||
public static final Pattern FORMAT_PATTERN = Pattern.compile("([&§][0-9a-fA-Fk-oK-OrRxX])+"); // MC可用的格式化代码
|
||||
|
||||
/**
|
||||
* 清除一条消息中的全部颜色代码 (包括RGB颜色代码与渐变颜色代码)
|
||||
*
|
||||
* @param text 源消息内容
|
||||
* @return 清理颜色后的消息
|
||||
*/
|
||||
public static @NotNull String clear(@NotNull String text) {
|
||||
text = HEX_PATTERN.matcher(text).replaceAll("");
|
||||
text = GRADIENT_PATTERN.matcher(text).replaceAll("");
|
||||
text = COLOR_PATTERN.matcher(text).replaceAll("");
|
||||
return text;
|
||||
}
|
||||
|
||||
/**
|
||||
* 对一条消息进行颜色解析,包括普通颜色代码、RGB颜色代码与RBG渐变代码。
|
||||
*
|
||||
* @param text 源消息内容
|
||||
* @return 解析后的消息
|
||||
*/
|
||||
public static @NotNull String parse(@NotNull String text) {
|
||||
return parseBaseColor(parseGradientColor(parseHexColor(text)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 对多条消息进行颜色解析,包括普通颜色代码、RGB颜色代码与RBG渐变代码。
|
||||
*
|
||||
* @param texts 源消息内容
|
||||
* @return 解析后的消息
|
||||
*/
|
||||
public static @NotNull String[] parse(@NotNull String... texts) {
|
||||
return parse(Arrays.asList(texts)).toArray(new String[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* 对多条消息进行颜色解析,包括普通颜色代码、RGB颜色代码与RBG渐变代码。
|
||||
*
|
||||
* @param texts 源消息内容
|
||||
* @return 解析后的消息
|
||||
*/
|
||||
public static @NotNull List<String> parse(@NotNull Collection<String> texts) {
|
||||
return texts.stream().map(ColorParser::parse).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 解析消息中的基本颜色代码格式 {@code &+颜色代码 },如 {@literal &c} 、{@literal &a}
|
||||
*
|
||||
* @param text 消息内容
|
||||
* @return RGB处理后的消息
|
||||
* @see net.md_5.bungee.api.ChatColor
|
||||
*/
|
||||
public static String parseBaseColor(final String text) {
|
||||
return text.replaceAll("&", "§").replace("§§", "&");
|
||||
}
|
||||
|
||||
/**
|
||||
* 解析消息中的RGB颜色代码(版本需要≥1.14) 格式 {@code &(#XXXXXX) },如 {@literal &(#aaaaaa)}
|
||||
*
|
||||
* @param text 消息内容
|
||||
* @return RGB处理后的消息
|
||||
*/
|
||||
public static String parseHexColor(String text) {
|
||||
Matcher matcher = HEX_PATTERN.matcher(text);
|
||||
while (matcher.find()) {
|
||||
text = matcher.replaceFirst(buildHexColor(matcher.group(1)).toLowerCase());
|
||||
matcher.reset(text);
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
||||
/**
|
||||
* 对一条消息进行RGB渐变处理(版本需要≥1.14),格式 {@code &<#XXXXXX>FOOBAR&<#XXXXXX> }。
|
||||
*
|
||||
* @param text 消息内容
|
||||
* @return RGB渐变处理后的消息
|
||||
*/
|
||||
public static @NotNull String parseGradientColor(@NotNull String text) {
|
||||
List<String> colors = new ArrayList<>();
|
||||
|
||||
Matcher matcher = ColorParser.GRADIENT_PATTERN.matcher(text);
|
||||
while (matcher.find()) colors.add(matcher.group(1));
|
||||
|
||||
if (colors.isEmpty()) return text; // 无渐变颜色,直接跳出
|
||||
|
||||
String[] parts = ColorParser.GRADIENT_PATTERN.split(text);
|
||||
StringBuilder builder = new StringBuilder();
|
||||
for (int i = 0; i < parts.length; i++) {
|
||||
String startHex = i - 1 >= 0 && colors.size() > i - 1 ? colors.get(i - 1) : null; // 本条消息的起始颜色
|
||||
String endHex = colors.size() > i ? colors.get(i) : null; // 本条消息的结束颜色
|
||||
builder.append(gradientText(parts[i], startHex, endHex));
|
||||
}
|
||||
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
public static @NotNull String gradientText(@NotNull String text,
|
||||
@Nullable Color startColor, @Nullable Color endColor) {
|
||||
Objects.requireNonNull(text, "Text to be gradient should not be null!");
|
||||
if (startColor == null || endColor == null || text.isEmpty()) {
|
||||
// 起始颜色有任一为空,则不进行渐变上色。
|
||||
// 若有起始颜色,则代表其跟在某个渐变之后,应当添加"&r"阻断前面的渐变。
|
||||
return (startColor != null ? "&r" : "") + text;
|
||||
}
|
||||
|
||||
// 用于记录消息中特殊格式的位置
|
||||
// 在渐变中,允许使用格式字符与颜色字符来改变其中某个字的颜色/格式,以支持更多形式内容。
|
||||
LinkedHashMap<Integer, String> extraFormats = new LinkedHashMap<>();
|
||||
Matcher matcher = ColorParser.FORMAT_PATTERN.matcher(text);
|
||||
while (matcher.find()) {
|
||||
extraFormats.put(matcher.start(), matcher.group());
|
||||
text = matcher.replaceFirst("");
|
||||
matcher.reset(text);
|
||||
}
|
||||
|
||||
if (text.length() == 1) {
|
||||
// 当只有一个实际字符时,无需进行渐变计算,直接返回 中间颜色+起始格式(如果有)+消息 即可。
|
||||
return colorText(text, extraFormats.get(0), buildHexColor(mediumHex(startColor, endColor)));
|
||||
}
|
||||
|
||||
String[] characters = text.split("");
|
||||
int step = characters.length; // 变换次数
|
||||
|
||||
// 决定每种颜色变换的方向
|
||||
int rDirection = startColor.getRed() < endColor.getRed() ? 1 : -1;
|
||||
int gDirection = startColor.getGreen() < endColor.getGreen() ? 1 : -1;
|
||||
int bDirection = startColor.getBlue() < endColor.getBlue() ? 1 : -1;
|
||||
|
||||
// 决定每种颜色每次变换的度
|
||||
int rStep = Math.abs(startColor.getRed() - endColor.getRed()) / (step - 1);
|
||||
int gStep = Math.abs(startColor.getGreen() - endColor.getGreen()) / (step - 1);
|
||||
int bStep = Math.abs(startColor.getBlue() - endColor.getBlue()) / (step - 1);
|
||||
|
||||
String[] hexes = IntStream.range(0, step).mapToObj(i -> colorToHex(
|
||||
startColor.getRed() + rStep * i * rDirection,
|
||||
startColor.getGreen() + gStep * i * gDirection,
|
||||
startColor.getBlue() + bStep * i * bDirection
|
||||
)).toArray(String[]::new);
|
||||
|
||||
return IntStream.range(0, characters.length)
|
||||
.mapToObj(i -> colorText(characters[i], extraFormats.get(i), buildHexColor(hexes[i])))
|
||||
.collect(Collectors.joining());
|
||||
}
|
||||
|
||||
protected static String gradientText(@NotNull String text, @Nullable String startHex, @Nullable String endHex) {
|
||||
return gradientText(text,
|
||||
startHex == null ? null : Color.decode("0x" + startHex),
|
||||
endHex == null ? null : Color.decode("0x" + endHex)
|
||||
);
|
||||
}
|
||||
|
||||
private static String mediumHex(@NotNull Color start, @NotNull Color end) {
|
||||
return colorToHex(
|
||||
Math.abs(start.getRed() - end.getRed()) / 2,
|
||||
Math.abs(start.getGreen() - end.getGreen()) / 2,
|
||||
Math.abs(start.getBlue() - end.getBlue()) / 2
|
||||
);
|
||||
}
|
||||
|
||||
private static String colorText(String message, @Nullable String format, @Nullable String color) {
|
||||
if (format != null && COLOR_PATTERN.matcher(format).find()) {
|
||||
// format中存在影响颜色的内容,则当前消息的颜色会被覆盖。
|
||||
// 为了减少最终消息的长度,故直接返回键入的FORMAT和对应消息的内容。
|
||||
return format + message;
|
||||
}
|
||||
return (color == null ? "" : color) + (format == null ? "" : parseBaseColor(format)) + message;
|
||||
}
|
||||
|
||||
protected static String colorToHex(Color color) {
|
||||
return colorToHex(color.getRed(), color.getGreen(), color.getBlue());
|
||||
}
|
||||
|
||||
protected static String colorToHex(int r, int g, int b) {
|
||||
// 将R、G、B转换为16进制(若非2位则补0)输出
|
||||
return String.format("%02X%02X%02X", r, g, b);
|
||||
}
|
||||
|
||||
protected static String buildHexColor(String hexCode) {
|
||||
return Arrays.stream(hexCode.split("")).map(s -> '§' + s)
|
||||
.collect(Collectors.joining("", '§' + "x", ""));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,144 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.utils;
|
||||
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.enchantments.Enchantment;
|
||||
import org.bukkit.inventory.ItemFlag;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.Damageable;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class ItemStackFactory {
|
||||
ItemStack item;
|
||||
|
||||
private ItemStackFactory() {
|
||||
}
|
||||
|
||||
public ItemStackFactory(ItemStack is) {
|
||||
this.item = is.clone();
|
||||
}
|
||||
|
||||
public ItemStackFactory(Material type) {
|
||||
this(type, 1);
|
||||
}
|
||||
|
||||
public ItemStackFactory(Material type, int amount) {
|
||||
this(type, amount, (short) 0);
|
||||
}
|
||||
|
||||
public ItemStackFactory(Material type, int amount, short data) {
|
||||
this.item = new ItemStack(type, amount, data);
|
||||
}
|
||||
|
||||
public ItemStackFactory(Material type, int amount, int data) {
|
||||
this(type, amount, (short) data);
|
||||
}
|
||||
|
||||
public ItemStack toItemStack() {
|
||||
return this.item;
|
||||
}
|
||||
|
||||
public ItemStackFactory setType(Material type) {
|
||||
this.item.setType(type);
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory setDurability(int i) {
|
||||
ItemMeta im = this.item.getItemMeta();
|
||||
if (im instanceof Damageable) {
|
||||
((Damageable) im).setDamage(i);
|
||||
this.item.setItemMeta(im);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory setAmount(int a) {
|
||||
this.item.setAmount(a);
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory setDisplayName(@NotNull String name) {
|
||||
ItemMeta im = this.item.getItemMeta();
|
||||
if (im != null) {
|
||||
im.setDisplayName(ColorParser.parse(name));
|
||||
this.item.setItemMeta(im);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory setLore(@NotNull List<String> loreList) {
|
||||
ItemMeta im = this.item.getItemMeta();
|
||||
if (im != null) {
|
||||
im.setLore(
|
||||
loreList.stream()
|
||||
.map(ColorParser::parse)
|
||||
.collect(Collectors.toList())
|
||||
);
|
||||
this.item.setItemMeta(im);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory addLore(@NotNull String s) {
|
||||
ItemMeta im = this.item.getItemMeta();
|
||||
if (im != null) {
|
||||
List<String> lore = im.getLore() != null ? im.getLore() : new ArrayList<>();
|
||||
lore.add(ColorParser.parse(s));
|
||||
im.setLore(lore);
|
||||
this.item.setItemMeta(im);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory addEnchant(@NotNull Enchantment enchant, int level, boolean ignoreLevelRestriction) {
|
||||
ItemMeta im = this.item.getItemMeta();
|
||||
if (im != null) {
|
||||
im.addEnchant(enchant, level, ignoreLevelRestriction);
|
||||
this.item.setItemMeta(im);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory removeEnchant(@NotNull Enchantment enchant) {
|
||||
ItemMeta im = this.item.getItemMeta();
|
||||
if (im != null) {
|
||||
im.removeEnchant(enchant);
|
||||
this.item.setItemMeta(im);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory addFlag(@NotNull ItemFlag flag) {
|
||||
ItemMeta im = this.item.getItemMeta();
|
||||
if (im != null) {
|
||||
im.addItemFlags(flag);
|
||||
this.item.setItemMeta(im);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory removeFlag(@NotNull ItemFlag flag) {
|
||||
ItemMeta im = this.item.getItemMeta();
|
||||
if (im != null) {
|
||||
im.removeItemFlags(flag);
|
||||
this.item.setItemMeta(im);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public ItemStackFactory setUnbreakable(boolean unbreakable) {
|
||||
ItemMeta im = this.item.getItemMeta();
|
||||
if (im != null) {
|
||||
im.setUnbreakable(unbreakable);
|
||||
this.item.setItemMeta(im);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
}
|
||||
@@ -1,146 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.utils;
|
||||
|
||||
import me.clip.placeholderapi.PlaceholderAPI;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.jetbrains.annotations.Contract;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class MessageUtils {
|
||||
|
||||
public static boolean hasPlaceholderAPI() {
|
||||
return Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null;
|
||||
}
|
||||
|
||||
public static void send(@Nullable CommandSender sender, String... messages) {
|
||||
send(sender, Arrays.asList(messages));
|
||||
}
|
||||
|
||||
public static void send(@Nullable CommandSender sender, List<String> messages) {
|
||||
if (messages == null || messages.isEmpty() || sender == null) return;
|
||||
for (String s : messages) {
|
||||
sender.sendMessage(ColorParser.parse(s));
|
||||
}
|
||||
}
|
||||
|
||||
public static void sendWithPlaceholders(CommandSender sender, String... messages) {
|
||||
sendWithPlaceholders(sender, Arrays.asList(messages));
|
||||
}
|
||||
|
||||
public static void sendWithPlaceholders(@Nullable CommandSender sender, List<String> messages) {
|
||||
if (messages == null || messages.isEmpty() || sender == null) return;
|
||||
send(sender, setPlaceholders(sender, messages));
|
||||
}
|
||||
|
||||
public static void sendWithPlaceholders(@Nullable CommandSender sender, List<String> messages, String param, Object value) {
|
||||
sendWithPlaceholders(sender, messages, new String[]{param}, new Object[]{value});
|
||||
}
|
||||
|
||||
public static void sendWithPlaceholders(@Nullable CommandSender sender, List<String> messages, String[] params, Object[] values) {
|
||||
sendWithPlaceholders(sender, setCustomParams(messages, params, values));
|
||||
}
|
||||
|
||||
public static String setPlaceholders(@Nullable CommandSender sender, @Nullable String message) {
|
||||
if (message == null || sender == null) return message;
|
||||
if (hasPlaceholderAPI() && sender instanceof Player) {
|
||||
return PlaceholderAPI.setPlaceholders((Player) sender, message);
|
||||
} else {
|
||||
return message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Nullable
|
||||
@Contract("_, !null -> !null")
|
||||
public static List<String> setPlaceholders(@Nullable CommandSender sender,
|
||||
@Nullable List<String> messages) {
|
||||
if (messages == null || messages.isEmpty() || sender == null) return messages;
|
||||
if (hasPlaceholderAPI() && sender instanceof Player) {
|
||||
return PlaceholderAPI.setPlaceholders((Player) sender, messages);
|
||||
} else {
|
||||
return messages;
|
||||
}
|
||||
}
|
||||
|
||||
public static String setPlaceholders(@Nullable CommandSender sender,
|
||||
@NotNull String message,
|
||||
@Nullable String[] params,
|
||||
@Nullable Object[] values) {
|
||||
return setPlaceholders(sender, setCustomParams(message, params, values));
|
||||
}
|
||||
|
||||
public static List<String> setPlaceholders(@Nullable CommandSender sender,
|
||||
@NotNull List<String> messages,
|
||||
@Nullable String[] params,
|
||||
@Nullable Object[] values) {
|
||||
return setPlaceholders(sender, setCustomParams(messages, params, values));
|
||||
}
|
||||
|
||||
public static String setCustomParams(@NotNull String message,
|
||||
@NotNull String param,
|
||||
@NotNull Object value) {
|
||||
return setCustomParams(message, new String[]{param}, new Object[]{value});
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Contract("!null, _, _-> !null ; null, _, _->null ")
|
||||
public static String setCustomParams(@Nullable String message,
|
||||
@Nullable String[] params,
|
||||
@Nullable Object[] values) {
|
||||
if (message == null) return null;
|
||||
if (params == null || values == null) return message;
|
||||
if (params.length != values.length) return message;
|
||||
|
||||
HashMap<String, Object> paramsMap = new HashMap<>();
|
||||
for (int i = 0; i < params.length; i++) {
|
||||
paramsMap.put(params[i], values[i]);
|
||||
}
|
||||
return setCustomParams(message, paramsMap);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static String setCustomParams(@NotNull String message, @NotNull HashMap<String, Object> params) {
|
||||
String afterMessage = message;
|
||||
for (Map.Entry<String, Object> entry : params.entrySet()) {
|
||||
afterMessage = afterMessage.replace(entry.getKey(), entry.getValue().toString());
|
||||
}
|
||||
return afterMessage;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static List<String> setCustomParams(@NotNull List<String> messages,
|
||||
@NotNull String param,
|
||||
@NotNull Object value) {
|
||||
return setCustomParams(messages, new String[]{param}, new Object[]{value});
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static List<String> setCustomParams(@NotNull List<String> messages,
|
||||
@Nullable String[] params,
|
||||
@Nullable Object[] values) {
|
||||
if (params == null || values == null) return messages;
|
||||
if (params.length != values.length) return messages;
|
||||
HashMap<String, Object> paramsMap = new HashMap<>();
|
||||
for (int i = 0; i < params.length; i++) {
|
||||
paramsMap.put(params[i], values[i]);
|
||||
}
|
||||
return setCustomParams(messages, paramsMap);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static List<String> setCustomParams(List<String> messages, HashMap<String, Object> params) {
|
||||
return messages.stream()
|
||||
.map(message -> setCustomParams(message, params))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,355 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.utils;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.bukkit.scheduler.BukkitRunnable;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.LinkedList;
|
||||
import java.util.Queue;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
@SuppressWarnings("DuplicatedCode")
|
||||
public class SchedulerUtils {
|
||||
|
||||
private final JavaPlugin plugin;
|
||||
|
||||
public SchedulerUtils(JavaPlugin plugin) {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
private JavaPlugin getPlugin() {
|
||||
return plugin;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 在服务端主线程中执行一个任务
|
||||
*
|
||||
* @param runnable 需要执行的任务
|
||||
*/
|
||||
public void run(Runnable runnable) {
|
||||
Bukkit.getScheduler().runTask(getPlugin(), runnable);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 异步执行一个任务。
|
||||
*
|
||||
* @param runnable 需要执行的任务
|
||||
*/
|
||||
public void runAsync(Runnable runnable) {
|
||||
Bukkit.getScheduler().runTaskAsynchronously(getPlugin(), runnable);
|
||||
}
|
||||
|
||||
/**
|
||||
* 在主线程延时执行一个任务。
|
||||
*
|
||||
* @param delay 延迟的ticks
|
||||
* @param runnable 需要执行的任务
|
||||
*/
|
||||
public void runLater(long delay, Runnable runnable) {
|
||||
Bukkit.getScheduler().runTaskLater(getPlugin(), runnable, delay);
|
||||
}
|
||||
|
||||
/**
|
||||
* 异步延时执行一个任务。
|
||||
*
|
||||
* @param delay 延迟的ticks
|
||||
* @param runnable 需要执行的任务
|
||||
*/
|
||||
public void runLaterAsync(long delay, Runnable runnable) {
|
||||
Bukkit.getScheduler().runTaskLaterAsynchronously(getPlugin(), runnable, delay);
|
||||
}
|
||||
|
||||
/**
|
||||
* 间隔一段时间按顺序执行列表中的任务
|
||||
*
|
||||
* @param interval 间隔时间
|
||||
* @param tasks 任务列表
|
||||
*/
|
||||
public void runAtInterval(long interval, Runnable... tasks) {
|
||||
runAtInterval(0L, interval, tasks);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 间隔一段时间按顺序执行列表中的任务
|
||||
*
|
||||
* @param delay 延迟时间
|
||||
* @param interval 间隔时间
|
||||
* @param tasks 任务列表
|
||||
*/
|
||||
public void runAtInterval(long delay, long interval, Runnable... tasks) {
|
||||
new BukkitRunnable() {
|
||||
private int index;
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
if (this.index >= tasks.length) {
|
||||
this.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
tasks[index].run();
|
||||
index++;
|
||||
}
|
||||
}.runTaskTimer(getPlugin(), delay, interval);
|
||||
}
|
||||
|
||||
/**
|
||||
* 间隔一段时间按顺序异步执行列表中的任务
|
||||
*
|
||||
* @param interval 间隔时间
|
||||
* @param tasks 任务列表
|
||||
*/
|
||||
public void runAtIntervalAsync(long interval, Runnable... tasks) {
|
||||
runAtIntervalAsync(0L, interval, tasks);
|
||||
}
|
||||
|
||||
/**
|
||||
* 间隔一段时间按顺序异步执行列表中的任务
|
||||
*
|
||||
* @param delay 延迟时间
|
||||
* @param interval 间隔时间
|
||||
* @param tasks 任务列表
|
||||
*/
|
||||
public void runAtIntervalAsync(long delay, long interval, Runnable... tasks) {
|
||||
new BukkitRunnable() {
|
||||
private int index;
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
if (this.index >= tasks.length) {
|
||||
this.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
tasks[index].run();
|
||||
index++;
|
||||
}
|
||||
}.runTaskTimerAsynchronously(getPlugin(), delay, interval);
|
||||
}
|
||||
|
||||
/**
|
||||
* 重复执行一个任务。
|
||||
*
|
||||
* @param repetitions 重复次数
|
||||
* @param interval 间隔时间
|
||||
* @param task 任务
|
||||
* @param onComplete 结束时执行的任务
|
||||
*/
|
||||
public void repeat(int repetitions, long interval, Runnable task, Runnable onComplete) {
|
||||
new BukkitRunnable() {
|
||||
private int index;
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
index++;
|
||||
if (this.index >= repetitions) {
|
||||
this.cancel();
|
||||
if (onComplete == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
onComplete.run();
|
||||
return;
|
||||
}
|
||||
|
||||
task.run();
|
||||
}
|
||||
}.runTaskTimer(getPlugin(), 0L, interval);
|
||||
}
|
||||
|
||||
/**
|
||||
* 重复执行一个任务。
|
||||
*
|
||||
* @param repetitions 重复次数
|
||||
* @param interval 间隔时间
|
||||
* @param task 任务
|
||||
* @param onComplete 结束时执行的任务
|
||||
*/
|
||||
public void repeatAsync(int repetitions, long interval, Runnable task, Runnable onComplete) {
|
||||
new BukkitRunnable() {
|
||||
private int index;
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
index++;
|
||||
if (this.index >= repetitions) {
|
||||
this.cancel();
|
||||
if (onComplete == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
onComplete.run();
|
||||
return;
|
||||
}
|
||||
|
||||
task.run();
|
||||
}
|
||||
}.runTaskTimerAsynchronously(getPlugin(), 0L, interval);
|
||||
}
|
||||
|
||||
/**
|
||||
* 在满足某个条件时,重复执行一个任务。
|
||||
*
|
||||
* @param interval 重复间隔时间
|
||||
* @param predicate 条件
|
||||
* @param task 任务
|
||||
* @param onComplete 结束时执行的任务
|
||||
*/
|
||||
public void repeatWhile(long interval, Callable<Boolean> predicate, Runnable task, Runnable onComplete) {
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
if (!predicate.call()) {
|
||||
this.cancel();
|
||||
if (onComplete == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
onComplete.run();
|
||||
return;
|
||||
}
|
||||
|
||||
task.run();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}.runTaskTimer(getPlugin(), 0L, interval);
|
||||
}
|
||||
|
||||
/**
|
||||
* 在满足某个条件时,重复执行一个任务。
|
||||
*
|
||||
* @param interval 重复间隔时间
|
||||
* @param predicate 条件
|
||||
* @param task 任务
|
||||
* @param onComplete 结束时执行的任务
|
||||
*/
|
||||
public void repeatWhileAsync(long interval, Callable<Boolean> predicate, Runnable task, Runnable onComplete) {
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
if (!predicate.call()) {
|
||||
this.cancel();
|
||||
if (onComplete == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
onComplete.run();
|
||||
return;
|
||||
}
|
||||
|
||||
task.run();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}.runTaskTimerAsynchronously(getPlugin(), 0L, interval);
|
||||
}
|
||||
|
||||
public interface Task {
|
||||
void start(Runnable onComplete);
|
||||
}
|
||||
|
||||
public class TaskBuilder {
|
||||
private final Queue<Task> taskList;
|
||||
|
||||
public TaskBuilder() {
|
||||
this.taskList = new LinkedList<>();
|
||||
}
|
||||
|
||||
public TaskBuilder append(TaskBuilder builder) {
|
||||
this.taskList.addAll(builder.taskList);
|
||||
return this;
|
||||
}
|
||||
|
||||
public TaskBuilder appendDelay(long delay) {
|
||||
this.taskList.add(onComplete -> SchedulerUtils.this.runLater(delay, onComplete));
|
||||
return this;
|
||||
}
|
||||
|
||||
public TaskBuilder appendTask(Runnable task) {
|
||||
this.taskList.add(onComplete ->
|
||||
{
|
||||
task.run();
|
||||
onComplete.run();
|
||||
});
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public TaskBuilder appendTask(Task task) {
|
||||
this.taskList.add(task);
|
||||
return this;
|
||||
}
|
||||
|
||||
public TaskBuilder appendDelayedTask(long delay, Runnable task) {
|
||||
this.taskList.add(onComplete -> SchedulerUtils.this.runLater(delay, () ->
|
||||
{
|
||||
task.run();
|
||||
onComplete.run();
|
||||
}));
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public TaskBuilder appendTasks(long delay, long interval, Runnable... tasks) {
|
||||
this.taskList.add(onComplete ->
|
||||
{
|
||||
Runnable[] runnables = Arrays.copyOf(tasks, tasks.length + 1);
|
||||
runnables[runnables.length - 1] = onComplete;
|
||||
SchedulerUtils.this.runAtInterval(delay, interval, runnables);
|
||||
});
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public TaskBuilder appendRepeatingTask(int repetitions, long interval, Runnable task) {
|
||||
this.taskList.add(onComplete -> SchedulerUtils.this.repeat(repetitions, interval, task, onComplete));
|
||||
return this;
|
||||
}
|
||||
|
||||
public TaskBuilder appendConditionalRepeatingTask(long interval, Callable<Boolean> predicate, Runnable task) {
|
||||
this.taskList.add(onComplete -> SchedulerUtils.this.repeatWhile(interval, predicate, task, onComplete));
|
||||
return this;
|
||||
}
|
||||
|
||||
public TaskBuilder waitFor(Callable<Boolean> predicate) {
|
||||
this.taskList.add(onComplete -> new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
if (!predicate.call()) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.cancel();
|
||||
onComplete.run();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}.runTaskTimer(getPlugin(), 0L, 1L));
|
||||
return this;
|
||||
}
|
||||
|
||||
public void runTasks() {
|
||||
this.startNext();
|
||||
}
|
||||
|
||||
private void startNext() {
|
||||
Task task = this.taskList.poll();
|
||||
if (task == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
task.start(this::startNext);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<artifactId>easyplugin-parent</artifactId>
|
||||
<version>1.5.3</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<properties>
|
||||
<maven.compiler.source>${project.jdk.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
<maven.deploy.skip>true</maven.deploy.skip>
|
||||
</properties>
|
||||
<artifactId>easyplugin-messages</artifactId>
|
||||
|
||||
<name>EasyPlugin-Messages</name>
|
||||
<description>
|
||||
轻松插件消息配置模块,支持多种消息配置,包括文本消息、ActionBar消息、Title消息、声音、粒子效果播放等。
|
||||
</description>
|
||||
<url>https://github.com/CarmJos/EasyPlugin</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>easyplugin-color</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>CarmJos</id>
|
||||
<name>Carm Jos</name>
|
||||
<email>carm@carm.cc</email>
|
||||
<url>https://www.carm.cc</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The MIT License</name>
|
||||
<url>https://opensource.org/licenses/MIT</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<ciManagement>
|
||||
<system>GitHub Actions</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/actions/workflows/maven.yml</url>
|
||||
</ciManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -1,35 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>easyplugin-parent</artifactId>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<version>1.5.3</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<properties>
|
||||
<maven.compiler.source>${project.jdk.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
</properties>
|
||||
|
||||
<artifactId>easyplugin-storage</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>EasyPlugin-Storage</name>
|
||||
<description>轻松插件存储接口模块,包含存储相关的统一接口。</description>
|
||||
<url>https://github.com/CarmJos/EasyPlugin</url>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -1,40 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.storage;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public interface DataStorage<K, T> {
|
||||
|
||||
/**
|
||||
* 在插件加载存储源时执行。
|
||||
*
|
||||
* @throws Exception 当出现任何错误时抛出
|
||||
*/
|
||||
void initialize() throws Exception;
|
||||
|
||||
/**
|
||||
* 在插件被卸载时执行。
|
||||
*/
|
||||
void shutdown();
|
||||
|
||||
/**
|
||||
* 用于加载数据的方法。<b>该方法应当异步运行!</b>
|
||||
* <br>
|
||||
* <br>若不存在对应数据,请返回 null 。
|
||||
* <br>若加载出现任何错误,请抛出异常。
|
||||
*
|
||||
* @param key 数据主键
|
||||
* @throws Exception 当出现任何错误时抛出
|
||||
*/
|
||||
@Nullable
|
||||
T loadData(@NotNull K key) throws Exception;
|
||||
|
||||
/**
|
||||
* 用于保存数据的方法。 <b>该方法应当被异步运行!</b>
|
||||
*
|
||||
* @param data 数据
|
||||
* @throws Exception 当出现任何错误时抛出
|
||||
*/
|
||||
void saveData(@NotNull T data) throws Exception;
|
||||
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.storage;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface StorageType<K, T, S extends DataStorage<K, T>> {
|
||||
|
||||
int getID();
|
||||
|
||||
@NotNull List<String> getAlias();
|
||||
|
||||
@NotNull Class<? extends S> getStorageClass();
|
||||
|
||||
default @NotNull S createStorage() throws Exception {
|
||||
return getStorageClass().newInstance();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.storage.file;
|
||||
|
||||
import cc.carm.lib.easyplugin.storage.DataStorage;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public abstract class FileBasedStorage<K, T> implements DataStorage<K, T> {
|
||||
|
||||
|
||||
protected final String fileName;
|
||||
protected File dataFile;
|
||||
|
||||
public FileBasedStorage(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
protected @NotNull File initializeFile(@NotNull File parentFolder) throws Exception {
|
||||
this.dataFile = new File(parentFolder, fileName);
|
||||
if (!dataFile.exists()) {
|
||||
if (!dataFile.createNewFile()) throw new Exception("无法创建数据文件!");
|
||||
} else if (dataFile.isDirectory()) {
|
||||
throw new Exception("文件路径对应的不是一个文件!");
|
||||
}
|
||||
return dataFile;
|
||||
}
|
||||
|
||||
public File getDataFile() {
|
||||
return dataFile;
|
||||
}
|
||||
}
|
||||
-46
@@ -1,46 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.storage.file;
|
||||
|
||||
import cc.carm.lib.easyplugin.storage.DataStorage;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
public abstract class FolderBasedStorage<K, T> implements DataStorage<K, T> {
|
||||
|
||||
protected final @NotNull String folderPath;
|
||||
protected File dataFolder;
|
||||
|
||||
public FolderBasedStorage(@NotNull String folderPath) {
|
||||
this.folderPath = folderPath;
|
||||
}
|
||||
|
||||
protected @NotNull File initializeFolder(@NotNull File parentFolder) throws Exception {
|
||||
this.dataFolder = new File(parentFolder, folderPath);
|
||||
if (!dataFolder.exists()) {
|
||||
if (!dataFolder.mkdir()) {
|
||||
throw new Exception("无法创建数据文件夹!");
|
||||
}
|
||||
} else if (!dataFolder.isDirectory()) {
|
||||
throw new Exception("数据文件夹路径对应的不是一个文件夹!");
|
||||
}
|
||||
return dataFolder;
|
||||
}
|
||||
|
||||
protected @NotNull List<File> listFiles() {
|
||||
if (this.dataFolder == null) return Collections.emptyList();
|
||||
if (!this.dataFolder.isDirectory()) return Collections.emptyList();
|
||||
|
||||
File[] files = this.dataFolder.listFiles();
|
||||
if (files == null) return Collections.emptyList();
|
||||
|
||||
return Arrays.asList(files);
|
||||
}
|
||||
|
||||
public File getDataFolder() {
|
||||
return dataFolder;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.storage.file;
|
||||
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public abstract class YAMLBasedStorage<K, T> extends FileBasedStorage<K, T> {
|
||||
|
||||
protected FileConfiguration configuration;
|
||||
|
||||
public YAMLBasedStorage(String fileName) {
|
||||
super(fileName);
|
||||
}
|
||||
|
||||
protected @NotNull FileConfiguration initializeConfiguration(@NotNull File parentFolder) throws Exception {
|
||||
return this.configuration = YamlConfiguration.loadConfiguration(initializeFile(parentFolder));
|
||||
}
|
||||
|
||||
public FileConfiguration getConfiguration() {
|
||||
return configuration;
|
||||
}
|
||||
}
|
||||
-31
@@ -1,31 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.storage.plugin;
|
||||
|
||||
import cc.carm.lib.easyplugin.storage.DataStorage;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
public abstract class PluginBasedStorage<K, T> implements DataStorage<K, T> {
|
||||
|
||||
protected Plugin dependPlugin;
|
||||
|
||||
public PluginBasedStorage(String dependPluginName) {
|
||||
this(Bukkit.getPluginManager().getPlugin(dependPluginName));
|
||||
}
|
||||
|
||||
public PluginBasedStorage(Plugin dependPlugin) {
|
||||
this.dependPlugin = dependPlugin;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initialize() throws NullPointerException {
|
||||
if (dependPlugin == null) {
|
||||
throw new NullPointerException("该存储类型依赖的插件不存在,请检查配置文件");
|
||||
}
|
||||
}
|
||||
|
||||
public Plugin getDependPlugin() {
|
||||
return dependPlugin;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,70 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>easyplugin-parent</artifactId>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<version>1.5.3</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<properties>
|
||||
<maven.compiler.source>${project.jdk.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
</properties>
|
||||
|
||||
<artifactId>easyplugin-utils</artifactId>
|
||||
|
||||
<name>EasyPlugin-Utils</name>
|
||||
<description>轻松插件工具类模块,该模块中的内容支持在Bungee、Bukkit使用。</description>
|
||||
<url>https://github.com/CarmJos/EasyPlugin</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>easyplugin-color</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>CarmJos</id>
|
||||
<name>Carm Jos</name>
|
||||
<email>carm@carm.cc</email>
|
||||
<url>https://www.carm.cc</url>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The MIT License</name>
|
||||
<url>https://opensource.org/licenses/MIT</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<ciManagement>
|
||||
<system>GitHub Actions</system>
|
||||
<url>https://github.com/CarmJos/EasyPlugin/actions/workflows/maven.yml</url>
|
||||
</ciManagement>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -1,93 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.utils;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.text.NumberFormat;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.function.Function;
|
||||
|
||||
/**
|
||||
* <a href="https://gist.github.com/CarmJos/402cb5aad0ec14ab25c2fa0d21571703">Easy cooldown time utils.</a>
|
||||
*
|
||||
* @param <P> Cooldown key provider
|
||||
* @param <K> Cooldown key
|
||||
* @author CarmJos
|
||||
*/
|
||||
public class EasyCooldown<P, K> {
|
||||
|
||||
protected final NumberFormat numberFormatter;
|
||||
|
||||
protected final @NotNull Map<K, Long> cooldown = new HashMap<>();
|
||||
protected final @NotNull Function<P, K> providerToKey;
|
||||
|
||||
protected long defaultDuration;
|
||||
|
||||
public EasyCooldown(@NotNull Function<P, K> providerToKey) {
|
||||
this(defaultFormatter(), providerToKey, 1000L);
|
||||
}
|
||||
|
||||
public EasyCooldown(@NotNull NumberFormat numberFormatter,
|
||||
@NotNull Function<P, K> providerToKey) {
|
||||
this(numberFormatter, providerToKey, 1000L);
|
||||
}
|
||||
|
||||
public EasyCooldown(@NotNull NumberFormat numberFormatter,
|
||||
@NotNull Function<P, K> providerToKey,
|
||||
long defaultDuration) {
|
||||
this.numberFormatter = numberFormatter;
|
||||
this.providerToKey = providerToKey;
|
||||
this.defaultDuration = defaultDuration;
|
||||
}
|
||||
|
||||
public long getCooldown(@NotNull P provider) {
|
||||
Long time = this.cooldown.get(this.providerToKey.apply(provider));
|
||||
if (time == null || time < 0) return 0;
|
||||
|
||||
long duration = getDuration(provider);
|
||||
if (duration <= 0) return 0;
|
||||
|
||||
long past = System.currentTimeMillis() - time;
|
||||
return duration - past;
|
||||
}
|
||||
|
||||
public @NotNull String getCooldownSeconds(@NotNull P provider) {
|
||||
return formatSeconds(getCooldown(provider));
|
||||
}
|
||||
|
||||
public void updateTime(@NotNull P provider) {
|
||||
this.cooldown.put(this.providerToKey.apply(provider), System.currentTimeMillis());
|
||||
}
|
||||
|
||||
public void clear(@NotNull P provider) {
|
||||
clearCooldown(this.providerToKey.apply(provider));
|
||||
}
|
||||
|
||||
public void clearCooldown(@NotNull K key) {
|
||||
this.cooldown.remove(key);
|
||||
}
|
||||
|
||||
public boolean isCoolingDown(@NotNull P provider) {
|
||||
return getCooldown(provider) > 0;
|
||||
}
|
||||
|
||||
public long getDuration(@NotNull P provider) {
|
||||
return this.defaultDuration;
|
||||
}
|
||||
|
||||
public @NotNull String formatSeconds(long cooldownMillis) {
|
||||
return numberFormatter.format((double) cooldownMillis / 1000D);
|
||||
}
|
||||
|
||||
public static NumberFormat createFormatter(@NotNull Consumer<NumberFormat> consumer) {
|
||||
NumberFormat format = NumberFormat.getInstance();
|
||||
consumer.accept(format);
|
||||
return format;
|
||||
}
|
||||
|
||||
public static NumberFormat defaultFormatter() {
|
||||
return createFormatter((f) -> f.setMaximumFractionDigits(2));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,105 +0,0 @@
|
||||
package cc.carm.lib.easyplugin.utils;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.*;
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Scanner;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipInputStream;
|
||||
|
||||
@SuppressWarnings("ResultOfMethodCallIgnored")
|
||||
public class JarResourceUtils {
|
||||
public static final char JAR_SEPARATOR = '/';
|
||||
|
||||
public static @Nullable String[] readResource(@Nullable InputStream resourceStream) {
|
||||
if (resourceStream == null) return null;
|
||||
try (Scanner scanner = new Scanner(resourceStream, "UTF-8")) {
|
||||
List<String> contents = new ArrayList<>();
|
||||
while (scanner.hasNextLine()) {
|
||||
contents.add(scanner.nextLine());
|
||||
}
|
||||
return contents.toArray(new String[0]);
|
||||
} catch (Exception e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static void copyFolderFromJar(String folderName, File destFolder, CopyOption option)
|
||||
throws IOException {
|
||||
copyFolderFromJar(folderName, destFolder, option, null);
|
||||
}
|
||||
|
||||
public static void copyFolderFromJar(String folderName, File destFolder,
|
||||
CopyOption option, PathTrimmer trimmer) throws IOException {
|
||||
if (!destFolder.exists())
|
||||
destFolder.mkdirs();
|
||||
|
||||
byte[] buffer = new byte[1024];
|
||||
|
||||
File fullPath;
|
||||
String path = JarResourceUtils.class.getProtectionDomain().getCodeSource().getLocation().getPath();
|
||||
if (trimmer != null)
|
||||
path = trimmer.trim(path);
|
||||
try {
|
||||
if (!path.startsWith("file"))
|
||||
path = "file://" + path;
|
||||
|
||||
fullPath = new File(new URI(path));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
return;
|
||||
}
|
||||
|
||||
ZipInputStream zis = new ZipInputStream(new FileInputStream(fullPath));
|
||||
|
||||
ZipEntry entry;
|
||||
while ((entry = zis.getNextEntry()) != null) {
|
||||
if (!entry.getName().startsWith(folderName + JAR_SEPARATOR))
|
||||
continue;
|
||||
|
||||
String fileName = entry.getName();
|
||||
|
||||
if (fileName.charAt(fileName.length() - 1) == JAR_SEPARATOR) {
|
||||
File file = new File(destFolder + File.separator + fileName);
|
||||
if (file.isFile()) {
|
||||
file.delete();
|
||||
}
|
||||
file.mkdirs();
|
||||
continue;
|
||||
}
|
||||
|
||||
File file = new File(destFolder + File.separator + fileName);
|
||||
if (option == CopyOption.COPY_IF_NOT_EXIST && file.exists())
|
||||
continue;
|
||||
|
||||
if (!file.getParentFile().exists())
|
||||
file.getParentFile().mkdirs();
|
||||
|
||||
if (!file.exists())
|
||||
file.createNewFile();
|
||||
FileOutputStream fos = new FileOutputStream(file);
|
||||
|
||||
int len;
|
||||
while ((len = zis.read(buffer)) > 0) {
|
||||
fos.write(buffer, 0, len);
|
||||
}
|
||||
fos.close();
|
||||
}
|
||||
|
||||
zis.closeEntry();
|
||||
zis.close();
|
||||
}
|
||||
|
||||
public enum CopyOption {
|
||||
COPY_IF_NOT_EXIST, REPLACE_IF_EXIST
|
||||
}
|
||||
|
||||
@FunctionalInterface
|
||||
public interface PathTrimmer {
|
||||
String trim(String original);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,773 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>EasyPlugin (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="EasyPlugin (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":6,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
|
||||
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/EasyPlugin.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?cc/carm/lib/easyplugin/EasyPlugin.html" target="_top">框架</a></li>
|
||||
<li><a href="EasyPlugin.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin</div>
|
||||
<h2 title="类 EasyPlugin" class="title">类 EasyPlugin</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>org.bukkit.plugin.PluginBase</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>org.bukkit.plugin.java.JavaPlugin</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.EasyPlugin</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>所有已实现的接口:</dt>
|
||||
<dd>org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public abstract class <span class="typeNameLabel">EasyPlugin</span>
|
||||
extends org.bukkit.plugin.java.JavaPlugin</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
||||
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#initialized">initialized</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected @NotNull <a href="../../../../cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口">EasyPluginMessageProvider</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#messageProvider">messageProvider</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="../../../../cc/carm/lib/easyplugin/utils/SchedulerUtils.html" title="cc.carm.lib.easyplugin.utils中的类">SchedulerUtils</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#scheduler">scheduler</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符</th>
|
||||
<th class="colLast" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code> </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#EasyPlugin--">EasyPlugin</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code> </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#EasyPlugin-cc.carm.lib.easyplugin.i18n.EasyPluginMessageProvider-">EasyPlugin</a></span>(@NotNull <a href="../../../../cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口">EasyPluginMessageProvider</a> messageProvider)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#EasyPlugin-cc.carm.lib.easyplugin.i18n.EasyPluginMessageProvider-org.bukkit.plugin.java.JavaPluginLoader-org.bukkit.plugin.PluginDescriptionFile-java.io.File-java.io.File-">EasyPlugin</a></span>(@NotNull <a href="../../../../cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口">EasyPluginMessageProvider</a> messageProvider,
|
||||
org.bukkit.plugin.java.JavaPluginLoader loader,
|
||||
org.bukkit.plugin.PluginDescriptionFile descriptionFile,
|
||||
java.io.File dataFolder,
|
||||
java.io.File file)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#EasyPlugin-org.bukkit.plugin.java.JavaPluginLoader-org.bukkit.plugin.PluginDescriptionFile-java.io.File-java.io.File-">EasyPlugin</a></span>(org.bukkit.plugin.java.JavaPluginLoader loader,
|
||||
org.bukkit.plugin.PluginDescriptionFile descriptionFile,
|
||||
java.io.File dataFolder,
|
||||
java.io.File file)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><T extends org.bukkit.event.Event><br>@NotNull java.util.concurrent.CompletableFuture<T></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#callAsync-T-">callAsync</a></span>(T event)</code>
|
||||
<div class="block">在异步线程中唤起一个事件,并支持获取事件的结果。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><T extends org.bukkit.event.Event><br>@NotNull java.util.concurrent.CompletableFuture<T></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#callSync-T-">callSync</a></span>(T event)</code>
|
||||
<div class="block">在主线程唤起一个事件,并支持获取事件的结果。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#debug-java.lang.String...-">debug</a></span>(java.lang.String... messages)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#error-java.lang.String...-">error</a></span>(java.lang.String... messages)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../cc/carm/lib/easyplugin/utils/SchedulerUtils.html" title="cc.carm.lib.easyplugin.utils中的类">SchedulerUtils</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#getScheduler--">getScheduler</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>protected abstract boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#initialize--">initialize</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#isDebugging--">isDebugging</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#load--">load</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#log-java.lang.String...-">log</a></span>(java.lang.String... messages)</code> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#onDisable--">onDisable</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#onEnable--">onEnable</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#onLoad--">onLoad</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#outputInfo--">outputInfo</a></span>()</code>
|
||||
<div class="block">重写以展示插件的相关信息,如插件横幅、下载地址等。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#print-java.lang.String-java.lang.String...-">print</a></span>(@Nullable java.lang.String prefix,
|
||||
java.lang.String... messages)</code> </td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#registerCommand-java.lang.String-org.bukkit.command.CommandExecutor-">registerCommand</a></span>(java.lang.String commandName,
|
||||
@NotNull org.bukkit.command.CommandExecutor executor)</code> </td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#registerCommand-java.lang.String-org.bukkit.command.CommandExecutor-org.bukkit.command.TabCompleter-">registerCommand</a></span>(java.lang.String commandName,
|
||||
@NotNull org.bukkit.command.CommandExecutor executor,
|
||||
@Nullable org.bukkit.command.TabCompleter tabCompleter)</code> </td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#registerListener-org.bukkit.event.Listener...-">registerListener</a></span>(org.bukkit.event.Listener... listeners)</code> </td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#setMessageProvider-cc.carm.lib.easyplugin.i18n.EasyPluginMessageProvider-">setMessageProvider</a></span>(@NotNull <a href="../../../../cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口">EasyPluginMessageProvider</a> provider)</code> </td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#shutdown--">shutdown</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code><T> @NotNull java.util.concurrent.CompletableFuture<T></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#supplyAsync-java.util.function.Supplier-">supplyAsync</a></span>(@NotNull java.util.function.Supplier<T> action)</code>
|
||||
<div class="block">在异步线程中执行一个操作,并获取操作的结果。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code><T> @NotNull java.util.concurrent.CompletableFuture<T></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../cc/carm/lib/easyplugin/EasyPlugin.html#supplySync-java.util.function.Supplier-">supplySync</a></span>(@NotNull java.util.function.Supplier<T> action)</code>
|
||||
<div class="block">在主线程执行操作,并支持获取其结果。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.org.bukkit.plugin.java.JavaPlugin">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 org.bukkit.plugin.java.JavaPlugin</h3>
|
||||
<code>getClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.org.bukkit.plugin.PluginBase">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 org.bukkit.plugin.PluginBase</h3>
|
||||
<code>equals, getName, hashCode</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段详细资料</h3>
|
||||
<a name="messageProvider">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>messageProvider</h4>
|
||||
<pre>@NotNull
|
||||
protected @NotNull <a href="../../../../cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口">EasyPluginMessageProvider</a> messageProvider</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="scheduler">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>scheduler</h4>
|
||||
<pre>protected <a href="../../../../cc/carm/lib/easyplugin/utils/SchedulerUtils.html" title="cc.carm.lib.easyplugin.utils中的类">SchedulerUtils</a> scheduler</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="initialized">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>initialized</h4>
|
||||
<pre>protected boolean initialized</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="EasyPlugin--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>EasyPlugin</h4>
|
||||
<pre>public EasyPlugin()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="EasyPlugin-cc.carm.lib.easyplugin.i18n.EasyPluginMessageProvider-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>EasyPlugin</h4>
|
||||
<pre>public EasyPlugin(@NotNull
|
||||
@NotNull <a href="../../../../cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口">EasyPluginMessageProvider</a> messageProvider)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="EasyPlugin-org.bukkit.plugin.java.JavaPluginLoader-org.bukkit.plugin.PluginDescriptionFile-java.io.File-java.io.File-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>EasyPlugin</h4>
|
||||
<pre>protected EasyPlugin(org.bukkit.plugin.java.JavaPluginLoader loader,
|
||||
org.bukkit.plugin.PluginDescriptionFile descriptionFile,
|
||||
java.io.File dataFolder,
|
||||
java.io.File file)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="EasyPlugin-cc.carm.lib.easyplugin.i18n.EasyPluginMessageProvider-org.bukkit.plugin.java.JavaPluginLoader-org.bukkit.plugin.PluginDescriptionFile-java.io.File-java.io.File-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>EasyPlugin</h4>
|
||||
<pre>protected EasyPlugin(@NotNull
|
||||
@NotNull <a href="../../../../cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口">EasyPluginMessageProvider</a> messageProvider,
|
||||
org.bukkit.plugin.java.JavaPluginLoader loader,
|
||||
org.bukkit.plugin.PluginDescriptionFile descriptionFile,
|
||||
java.io.File dataFolder,
|
||||
java.io.File file)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="onLoad--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onLoad</h4>
|
||||
<pre>public final void onLoad()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code>onLoad</code> 在接口中 <code>org.bukkit.plugin.Plugin</code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
|
||||
<dd><code>onLoad</code> 在类中 <code>org.bukkit.plugin.java.JavaPlugin</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onEnable--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onEnable</h4>
|
||||
<pre>public final void onEnable()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code>onEnable</code> 在接口中 <code>org.bukkit.plugin.Plugin</code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
|
||||
<dd><code>onEnable</code> 在类中 <code>org.bukkit.plugin.java.JavaPlugin</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onDisable--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onDisable</h4>
|
||||
<pre>public final void onDisable()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code>onDisable</code> 在接口中 <code>org.bukkit.plugin.Plugin</code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
|
||||
<dd><code>onDisable</code> 在类中 <code>org.bukkit.plugin.java.JavaPlugin</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="load--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>load</h4>
|
||||
<pre>protected void load()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="initialize--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>initialize</h4>
|
||||
<pre>protected abstract boolean initialize()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="shutdown--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>shutdown</h4>
|
||||
<pre>protected void shutdown()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="outputInfo--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>outputInfo</h4>
|
||||
<pre>public void outputInfo()</pre>
|
||||
<div class="block">重写以展示插件的相关信息,如插件横幅、下载地址等。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isDebugging--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isDebugging</h4>
|
||||
<pre>public boolean isDebugging()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getScheduler--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getScheduler</h4>
|
||||
<pre>public <a href="../../../../cc/carm/lib/easyplugin/utils/SchedulerUtils.html" title="cc.carm.lib.easyplugin.utils中的类">SchedulerUtils</a> getScheduler()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registerListener-org.bukkit.event.Listener...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>registerListener</h4>
|
||||
<pre>public void registerListener(@NotNull
|
||||
org.bukkit.event.Listener... listeners)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registerCommand-java.lang.String-org.bukkit.command.CommandExecutor-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>registerCommand</h4>
|
||||
<pre>public void registerCommand(java.lang.String commandName,
|
||||
@NotNull
|
||||
@NotNull org.bukkit.command.CommandExecutor executor)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registerCommand-java.lang.String-org.bukkit.command.CommandExecutor-org.bukkit.command.TabCompleter-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>registerCommand</h4>
|
||||
<pre>public void registerCommand(java.lang.String commandName,
|
||||
@NotNull
|
||||
@NotNull org.bukkit.command.CommandExecutor executor,
|
||||
@Nullable
|
||||
@Nullable org.bukkit.command.TabCompleter tabCompleter)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="print-java.lang.String-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>print</h4>
|
||||
<pre>public void print(@Nullable
|
||||
@Nullable java.lang.String prefix,
|
||||
@Nullable
|
||||
java.lang.String... messages)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="log-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>log</h4>
|
||||
<pre>public void log(@Nullable
|
||||
java.lang.String... messages)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="error-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>error</h4>
|
||||
<pre>public void error(java.lang.String... messages)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="debug-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>debug</h4>
|
||||
<pre>public void debug(@Nullable
|
||||
java.lang.String... messages)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="supplySync-java.util.function.Supplier-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>supplySync</h4>
|
||||
<pre>@NotNull
|
||||
public <T> @NotNull java.util.concurrent.CompletableFuture<T> supplySync(@NotNull
|
||||
@NotNull java.util.function.Supplier<T> action)</pre>
|
||||
<div class="block">在主线程执行操作,并支持获取其结果。</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">类型参数:</span></dt>
|
||||
<dd><code>T</code> - 结果类型</dd>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>action</code> - 需要执行的内容</dd>
|
||||
<dt><span class="returnLabel">返回:</span></dt>
|
||||
<dd>CompletableFuture</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="supplyAsync-java.util.function.Supplier-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>supplyAsync</h4>
|
||||
<pre>@NotNull
|
||||
public <T> @NotNull java.util.concurrent.CompletableFuture<T> supplyAsync(@NotNull
|
||||
@NotNull java.util.function.Supplier<T> action)</pre>
|
||||
<div class="block">在异步线程中执行一个操作,并获取操作的结果。</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">类型参数:</span></dt>
|
||||
<dd><code>T</code> - 事件类型</dd>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>action</code> - 需要执行的内容</dd>
|
||||
<dt><span class="returnLabel">返回:</span></dt>
|
||||
<dd>CompletableFuture</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="callSync-org.bukkit.event.Event-">
|
||||
<!-- -->
|
||||
</a><a name="callSync-T-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>callSync</h4>
|
||||
<pre>@NotNull
|
||||
public <T extends org.bukkit.event.Event> @NotNull java.util.concurrent.CompletableFuture<T> callSync(T event)</pre>
|
||||
<div class="block">在主线程唤起一个事件,并支持获取事件的结果。</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">类型参数:</span></dt>
|
||||
<dd><code>T</code> - 事件类型</dd>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>event</code> - 同步事件 (isAsync=false)</dd>
|
||||
<dt><span class="returnLabel">返回:</span></dt>
|
||||
<dd>CompletableFuture</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="callAsync-org.bukkit.event.Event-">
|
||||
<!-- -->
|
||||
</a><a name="callAsync-T-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>callAsync</h4>
|
||||
<pre>@NotNull
|
||||
public <T extends org.bukkit.event.Event> @NotNull java.util.concurrent.CompletableFuture<T> callAsync(T event)</pre>
|
||||
<div class="block">在异步线程中唤起一个事件,并支持获取事件的结果。</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">类型参数:</span></dt>
|
||||
<dd><code>T</code> - 事件类型</dd>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>event</code> - 异步事件 (isAsync=true)</dd>
|
||||
<dt><span class="returnLabel">返回:</span></dt>
|
||||
<dd>CompletableFuture</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setMessageProvider-cc.carm.lib.easyplugin.i18n.EasyPluginMessageProvider-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>setMessageProvider</h4>
|
||||
<pre>protected void setMessageProvider(@NotNull
|
||||
@NotNull <a href="../../../../cc/carm/lib/easyplugin/i18n/EasyPluginMessageProvider.html" title="cc.carm.lib.easyplugin.i18n中的接口">EasyPluginMessageProvider</a> provider)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/EasyPlugin.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?cc/carm/lib/easyplugin/EasyPlugin.html" target="_top">框架</a></li>
|
||||
<li><a href="EasyPlugin.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,199 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.EasyPlugin的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.EasyPlugin\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/class-use/EasyPlugin.html" target="_top">框架</a></li>
|
||||
<li><a href="EasyPlugin.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.EasyPlugin" class="title">类的使用<br>cc.carm.lib.easyplugin.EasyPlugin</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.user">cc.carm.lib.easyplugin.user</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.user">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../cc/carm/lib/easyplugin/user/package-summary.html">cc.carm.lib.easyplugin.user</a>中<a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>声明为<a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a>的<a href="../../../../../cc/carm/lib/easyplugin/user/package-summary.html">cc.carm.lib.easyplugin.user</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull <a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">UserDataManager.</span><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/user/UserDataManager.html#plugin">plugin</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a>的<a href="../../../../../cc/carm/lib/easyplugin/user/package-summary.html">cc.carm.lib.easyplugin.user</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull <a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">UserDataManager.</span><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/user/UserDataManager.html#getPlugin--">getPlugin</a></span>()</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表构造器和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a>的<a href="../../../../../cc/carm/lib/easyplugin/user/package-summary.html">cc.carm.lib.easyplugin.user</a>中的构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/user/UserDataManager.html#UserDataManager-cc.carm.lib.easyplugin.EasyPlugin-">UserDataManager</a></span>(@NotNull <a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a> plugin)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/user/UserDataManager.html#UserDataManager-cc.carm.lib.easyplugin.EasyPlugin-java.util.concurrent.ExecutorService-">UserDataManager</a></span>(@NotNull <a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a> plugin,
|
||||
@NotNull java.util.concurrent.ExecutorService executor)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/user/UserDataManager.html#UserDataManager-cc.carm.lib.easyplugin.EasyPlugin-java.util.concurrent.ExecutorService-java.util.Map-">UserDataManager</a></span>(@NotNull <a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">EasyPlugin</a> plugin,
|
||||
@NotNull java.util.concurrent.ExecutorService executor,
|
||||
@NotNull java.util.Map<<a href="../../../../../cc/carm/lib/easyplugin/user/UserDataManager.html" title="UserDataManager中的类型参数">K</a>,<a href="../../../../../cc/carm/lib/easyplugin/user/UserDataManager.html" title="UserDataManager中的类型参数">U</a>> cacheMap)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/EasyPlugin.html" title="cc.carm.lib.easyplugin中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/class-use/EasyPlugin.html" target="_top">框架</a></li>
|
||||
<li><a href="EasyPlugin.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,643 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>CommandHandler (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="CommandHandler (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":6,"i6":6,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10};
|
||||
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/CommandHandler.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/CommandHandler.html" target="_top">框架</a></li>
|
||||
<li><a href="CommandHandler.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.command</div>
|
||||
<h2 title="类 CommandHandler" class="title">类 CommandHandler</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.command.CommandHandler</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>所有已实现的接口:</dt>
|
||||
<dd><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>, org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public abstract class <span class="typeNameLabel">CommandHandler</span>
|
||||
extends java.lang.Object
|
||||
implements org.bukkit.command.TabExecutor, <a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
||||
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#aliases">aliases</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected @NotNull java.util.Map<java.lang.String,java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#aliasesMap">aliasesMap</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#cmd">cmd</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected @NotNull org.bukkit.plugin.java.JavaPlugin</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#plugin">plugin</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull java.util.Map<java.lang.String,<a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#registeredCommands">registeredCommands</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected @NotNull java.util.Map<java.lang.String,<a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#registeredHandlers">registeredHandlers</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#CommandHandler-org.bukkit.plugin.java.JavaPlugin-">CommandHandler</a></span>(@NotNull org.bukkit.plugin.java.JavaPlugin plugin)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#CommandHandler-org.bukkit.plugin.java.JavaPlugin-java.lang.String-">CommandHandler</a></span>(@NotNull org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
@NotNull java.lang.String cmd)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#CommandHandler-org.bukkit.plugin.java.JavaPlugin-java.lang.String-java.lang.String...-">CommandHandler</a></span>(@NotNull org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
@NotNull java.lang.String cmd,
|
||||
java.lang.String... aliases)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>@NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#getAliases--">getAliases</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<<a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#getExecutors--">getExecutors</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>protected @Nullable <a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#getHandler-java.lang.String-">getHandler</a></span>(@NotNull java.lang.String name)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>@NotNull java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#getIdentifier--">getIdentifier</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>protected @Nullable <a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#getSubCommand-java.lang.String-">getSubCommand</a></span>(@NotNull java.lang.String name)</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>abstract java.lang.Void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#noArgs-org.bukkit.command.CommandSender-">noArgs</a></span>(org.bukkit.command.CommandSender sender)</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>abstract java.lang.Void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#noPermission-org.bukkit.command.CommandSender-">noPermission</a></span>(org.bukkit.command.CommandSender sender)</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#onCommand-org.bukkit.command.CommandSender-org.bukkit.command.Command-java.lang.String-java.lang.String:A-">onCommand</a></span>(@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull org.bukkit.command.Command command,
|
||||
@NotNull java.lang.String label,
|
||||
java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.Void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#onException-org.bukkit.command.CommandSender-cc.carm.lib.easyplugin.command.SubCommand-java.lang.Exception-">onException</a></span>(org.bukkit.command.CommandSender sender,
|
||||
<a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?> cmd,
|
||||
java.lang.Exception ex)</code> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#onTabComplete-org.bukkit.command.CommandSender-org.bukkit.command.Command-java.lang.String-java.lang.String:A-">onTabComplete</a></span>(@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull org.bukkit.command.Command command,
|
||||
@NotNull java.lang.String alias,
|
||||
java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#registerHandler-cc.carm.lib.easyplugin.command.CommandHandler-">registerHandler</a></span>(<a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a> handler)</code> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#registerSubCommand-cc.carm.lib.easyplugin.command.SubCommand-">registerSubCommand</a></span>(<a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?> command)</code> </td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>protected java.lang.String[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#shortenArgs-java.lang.String:A-">shortenArgs</a></span>(java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>java.lang.Void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#unknownCommand-org.bukkit.command.CommandSender-java.lang.String:A-">unknownCommand</a></span>(org.bukkit.command.CommandSender sender,
|
||||
java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.cc.carm.lib.easyplugin.command.NamedExecutor">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从接口继承的方法 cc.carm.lib.easyplugin.command.<a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></h3>
|
||||
<code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#hasPermission-org.bukkit.command.CommandSender-">hasPermission</a>, <a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#sendMessage-org.bukkit.command.CommandSender-java.util.function.Function-java.lang.String...-">sendMessage</a>, <a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#sendMessage-org.bukkit.command.CommandSender-java.lang.String...-">sendMessage</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段详细资料</h3>
|
||||
<a name="plugin">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>plugin</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull org.bukkit.plugin.java.JavaPlugin plugin</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="cmd">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>cmd</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull java.lang.String cmd</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="aliases">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>aliases</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull java.util.List<java.lang.String> aliases</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registeredCommands">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>registeredCommands</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull java.util.Map<java.lang.String,<a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?>> registeredCommands</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registeredHandlers">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>registeredHandlers</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull java.util.Map<java.lang.String,<a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>> registeredHandlers</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="aliasesMap">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>aliasesMap</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull java.util.Map<java.lang.String,java.lang.String> aliasesMap</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="CommandHandler-org.bukkit.plugin.java.JavaPlugin-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>CommandHandler</h4>
|
||||
<pre>public CommandHandler(@NotNull
|
||||
@NotNull org.bukkit.plugin.java.JavaPlugin plugin)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="CommandHandler-org.bukkit.plugin.java.JavaPlugin-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>CommandHandler</h4>
|
||||
<pre>public CommandHandler(@NotNull
|
||||
@NotNull org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
@NotNull
|
||||
@NotNull java.lang.String cmd)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="CommandHandler-org.bukkit.plugin.java.JavaPlugin-java.lang.String-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>CommandHandler</h4>
|
||||
<pre>public CommandHandler(@NotNull
|
||||
@NotNull org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
@NotNull
|
||||
@NotNull java.lang.String cmd,
|
||||
@NotNull
|
||||
java.lang.String... aliases)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="noArgs-org.bukkit.command.CommandSender-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>noArgs</h4>
|
||||
<pre>public abstract java.lang.Void noArgs(org.bukkit.command.CommandSender sender)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="unknownCommand-org.bukkit.command.CommandSender-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>unknownCommand</h4>
|
||||
<pre>public java.lang.Void unknownCommand(org.bukkit.command.CommandSender sender,
|
||||
java.lang.String[] args)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="noPermission-org.bukkit.command.CommandSender-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>noPermission</h4>
|
||||
<pre>public abstract java.lang.Void noPermission(org.bukkit.command.CommandSender sender)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onException-org.bukkit.command.CommandSender-cc.carm.lib.easyplugin.command.SubCommand-java.lang.Exception-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onException</h4>
|
||||
<pre>public java.lang.Void onException(org.bukkit.command.CommandSender sender,
|
||||
<a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?> cmd,
|
||||
java.lang.Exception ex)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getAliases--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAliases</h4>
|
||||
<pre>@NotNull
|
||||
public @NotNull java.util.List<java.lang.String> getAliases()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#getAliases--">getAliases</a></code> 在接口中 <code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getIdentifier--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getIdentifier</h4>
|
||||
<pre>@NotNull
|
||||
public @NotNull java.lang.String getIdentifier()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#getIdentifier--">getIdentifier</a></code> 在接口中 <code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registerSubCommand-cc.carm.lib.easyplugin.command.SubCommand-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>registerSubCommand</h4>
|
||||
<pre>public void registerSubCommand(<a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?> command)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registerHandler-cc.carm.lib.easyplugin.command.CommandHandler-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>registerHandler</h4>
|
||||
<pre>public void registerHandler(<a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a> handler)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onCommand-org.bukkit.command.CommandSender-org.bukkit.command.Command-java.lang.String-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onCommand</h4>
|
||||
<pre>public boolean onCommand(@NotNull
|
||||
@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull
|
||||
@NotNull org.bukkit.command.Command command,
|
||||
@NotNull
|
||||
@NotNull java.lang.String label,
|
||||
java.lang.String[] args)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code>onCommand</code> 在接口中 <code>org.bukkit.command.CommandExecutor</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onTabComplete-org.bukkit.command.CommandSender-org.bukkit.command.Command-java.lang.String-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onTabComplete</h4>
|
||||
<pre>public java.util.List<java.lang.String> onTabComplete(@NotNull
|
||||
@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull
|
||||
@NotNull org.bukkit.command.Command command,
|
||||
@NotNull
|
||||
@NotNull java.lang.String alias,
|
||||
java.lang.String[] args)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code>onTabComplete</code> 在接口中 <code>org.bukkit.command.TabCompleter</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getExecutors--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getExecutors</h4>
|
||||
<pre>public java.util.List<<a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>> getExecutors()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getHandler-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getHandler</h4>
|
||||
<pre>@Nullable
|
||||
protected @Nullable <a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a> getHandler(@NotNull
|
||||
@NotNull java.lang.String name)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getSubCommand-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSubCommand</h4>
|
||||
<pre>@Nullable
|
||||
protected @Nullable <a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?> getSubCommand(@NotNull
|
||||
@NotNull java.lang.String name)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="shortenArgs-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>shortenArgs</h4>
|
||||
<pre>protected java.lang.String[] shortenArgs(java.lang.String[] args)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/CommandHandler.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/CommandHandler.html" target="_top">框架</a></li>
|
||||
<li><a href="CommandHandler.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,293 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NamedExecutor (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NamedExecutor (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":6,"i1":6,"i2":18,"i3":18,"i4":18};
|
||||
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"],16:["t5","默认方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/NamedExecutor.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/NamedExecutor.html" target="_top">框架</a></li>
|
||||
<li><a href="NamedExecutor.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li>构造器 | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li>构造器 | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.command</div>
|
||||
<h2 title="接口 NamedExecutor" class="title">接口 NamedExecutor</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>所有已知实现类:</dt>
|
||||
<dd><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>, <a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">NamedExecutor</span></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">默认方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>@NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#getAliases--">getAliases</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>@NotNull java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#getIdentifier--">getIdentifier</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>default boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#hasPermission-org.bukkit.command.CommandSender-">hasPermission</a></span>(@NotNull org.bukkit.command.CommandSender sender)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>default java.lang.Void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#sendMessage-org.bukkit.command.CommandSender-java.util.function.Function-java.lang.String...-">sendMessage</a></span>(@NotNull org.bukkit.command.CommandSender sender,
|
||||
@Nullable java.util.function.Function<java.lang.String,java.lang.String> parser,
|
||||
java.lang.String... messages)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>default java.lang.Void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#sendMessage-org.bukkit.command.CommandSender-java.lang.String...-">sendMessage</a></span>(@NotNull org.bukkit.command.CommandSender sender,
|
||||
java.lang.String... messages)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="getIdentifier--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getIdentifier</h4>
|
||||
<pre>@NotNull
|
||||
@NotNull java.lang.String getIdentifier()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getAliases--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAliases</h4>
|
||||
<pre>@NotNull
|
||||
@NotNull java.util.List<java.lang.String> getAliases()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hasPermission-org.bukkit.command.CommandSender-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hasPermission</h4>
|
||||
<pre>default boolean hasPermission(@NotNull
|
||||
@NotNull org.bukkit.command.CommandSender sender)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="sendMessage-org.bukkit.command.CommandSender-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>sendMessage</h4>
|
||||
<pre>default java.lang.Void sendMessage(@NotNull
|
||||
@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull
|
||||
java.lang.String... messages)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="sendMessage-org.bukkit.command.CommandSender-java.util.function.Function-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>sendMessage</h4>
|
||||
<pre>default java.lang.Void sendMessage(@NotNull
|
||||
@NotNull org.bukkit.command.CommandSender sender,
|
||||
@Nullable
|
||||
@Nullable java.util.function.Function<java.lang.String,java.lang.String> parser,
|
||||
@NotNull
|
||||
java.lang.String... messages)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/NamedExecutor.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/NamedExecutor.html" target="_top">框架</a></li>
|
||||
<li><a href="NamedExecutor.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li>构造器 | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li>构造器 | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,610 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>SimpleCompleter (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SimpleCompleter (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9};
|
||||
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/SimpleCompleter.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/SimpleCompleter.html" target="_top">框架</a></li>
|
||||
<li><a href="SimpleCompleter.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.command</div>
|
||||
<h2 title="类 SimpleCompleter" class="title">类 SimpleCompleter</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.command.SimpleCompleter</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">SimpleCompleter</span>
|
||||
extends java.lang.Object</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#SimpleCompleter--">SimpleCompleter</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#allPlayers-java.lang.String-">allPlayers</a></span>(@NotNull java.lang.String input)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#allPlayers-java.lang.String-int-">allPlayers</a></span>(@NotNull java.lang.String input,
|
||||
int limit)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#effects-java.lang.String-">effects</a></span>(@NotNull java.lang.String input)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#effects-java.lang.String-int-">effects</a></span>(@NotNull java.lang.String input,
|
||||
int limit)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#enchantments-java.lang.String-">enchantments</a></span>(@NotNull java.lang.String input)</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#enchantments-java.lang.String-int-">enchantments</a></span>(@NotNull java.lang.String input,
|
||||
int limit)</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#materials-java.lang.String-">materials</a></span>(@NotNull java.lang.String input)</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#materials-java.lang.String-int-">materials</a></span>(@NotNull java.lang.String input,
|
||||
int limit)</code> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#none--">none</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#objects-java.lang.String-java.util.Collection-">objects</a></span>(@NotNull java.lang.String input,
|
||||
java.util.Collection<?> objects)</code> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#objects-java.lang.String-int-java.util.Collection-">objects</a></span>(@NotNull java.lang.String input,
|
||||
int limit,
|
||||
java.util.Collection<?> objects)</code> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#objects-java.lang.String-int-java.util.stream.Stream-">objects</a></span>(@NotNull java.lang.String input,
|
||||
int limit,
|
||||
java.util.stream.Stream<?> stream)</code> </td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#objects-java.lang.String-java.util.stream.Stream-">objects</a></span>(@NotNull java.lang.String input,
|
||||
java.util.stream.Stream<?> stream)</code> </td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#onlinePlayers-java.lang.String-">onlinePlayers</a></span>(@NotNull java.lang.String input)</code> </td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#onlinePlayers-java.lang.String-int-">onlinePlayers</a></span>(@NotNull java.lang.String input,
|
||||
int limit)</code> </td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#text-java.lang.String-java.util.Collection-">text</a></span>(@NotNull java.lang.String input,
|
||||
java.util.Collection<java.lang.String> texts)</code> </td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#text-java.lang.String-int-java.util.Collection-">text</a></span>(@NotNull java.lang.String input,
|
||||
int limit,
|
||||
java.util.Collection<java.lang.String> texts)</code> </td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#text-java.lang.String-int-java.lang.String...-">text</a></span>(@NotNull java.lang.String input,
|
||||
int limit,
|
||||
java.lang.String... texts)</code> </td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#text-java.lang.String-java.lang.String...-">text</a></span>(@NotNull java.lang.String input,
|
||||
java.lang.String... texts)</code> </td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#worlds-java.lang.String-">worlds</a></span>(@NotNull java.lang.String input)</code> </td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html#worlds-java.lang.String-int-">worlds</a></span>(@NotNull java.lang.String input,
|
||||
int limit)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="SimpleCompleter--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>SimpleCompleter</h4>
|
||||
<pre>public SimpleCompleter()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="none--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>none</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> none()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="objects-java.lang.String-java.util.Collection-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>objects</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> objects(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
java.util.Collection<?> objects)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="objects-java.lang.String-int-java.util.Collection-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>objects</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> objects(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit,
|
||||
java.util.Collection<?> objects)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="objects-java.lang.String-java.util.stream.Stream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>objects</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> objects(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
java.util.stream.Stream<?> stream)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="objects-java.lang.String-int-java.util.stream.Stream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>objects</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> objects(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit,
|
||||
java.util.stream.Stream<?> stream)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="text-java.lang.String-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>text</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> text(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
java.lang.String... texts)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="text-java.lang.String-int-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>text</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> text(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit,
|
||||
java.lang.String... texts)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="text-java.lang.String-java.util.Collection-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>text</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> text(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
java.util.Collection<java.lang.String> texts)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="text-java.lang.String-int-java.util.Collection-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>text</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> text(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit,
|
||||
java.util.Collection<java.lang.String> texts)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onlinePlayers-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onlinePlayers</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> onlinePlayers(@NotNull
|
||||
@NotNull java.lang.String input)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onlinePlayers-java.lang.String-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onlinePlayers</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> onlinePlayers(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="allPlayers-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>allPlayers</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> allPlayers(@NotNull
|
||||
@NotNull java.lang.String input)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="allPlayers-java.lang.String-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>allPlayers</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> allPlayers(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="worlds-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>worlds</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> worlds(@NotNull
|
||||
@NotNull java.lang.String input)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="worlds-java.lang.String-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>worlds</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> worlds(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="materials-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>materials</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> materials(@NotNull
|
||||
@NotNull java.lang.String input)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="materials-java.lang.String-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>materials</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> materials(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="effects-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>effects</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> effects(@NotNull
|
||||
@NotNull java.lang.String input)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="effects-java.lang.String-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>effects</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> effects(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="enchantments-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>enchantments</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> enchantments(@NotNull
|
||||
@NotNull java.lang.String input)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="enchantments-java.lang.String-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>enchantments</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull java.util.List<java.lang.String> enchantments(@NotNull
|
||||
@NotNull java.lang.String input,
|
||||
int limit)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/SimpleCompleter.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/SimpleCompleter.html" target="_top">框架</a></li>
|
||||
<li><a href="SimpleCompleter.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,368 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>SubCommand (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SubCommand (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":6,"i1":10,"i2":10,"i3":10,"i4":10};
|
||||
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/SubCommand.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/SubCommand.html" target="_top">框架</a></li>
|
||||
<li><a href="SubCommand.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.command</div>
|
||||
<h2 title="类 SubCommand" class="title">类 SubCommand<C extends <a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>></h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.command.SubCommand<C></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>所有已实现的接口:</dt>
|
||||
<dd><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public abstract class <span class="typeNameLabel">SubCommand<C extends <a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>></span>
|
||||
extends java.lang.Object
|
||||
implements <a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html#SubCommand-C-java.lang.String-java.lang.String...-">SubCommand</a></span>(<a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="SubCommand中的类型参数">C</a> parent,
|
||||
java.lang.String identifier,
|
||||
java.lang.String... aliases)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>abstract java.lang.Void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html#execute-org.bukkit.plugin.java.JavaPlugin-org.bukkit.command.CommandSender-java.lang.String:A-">execute</a></span>(org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
org.bukkit.command.CommandSender sender,
|
||||
java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>@Unmodifiable @NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html#getAliases--">getAliases</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>@NotNull java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html#getIdentifier--">getIdentifier</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="SubCommand中的类型参数">C</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html#getParent--">getParent</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html#tabComplete-org.bukkit.plugin.java.JavaPlugin-org.bukkit.command.CommandSender-java.lang.String:A-">tabComplete</a></span>(org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
org.bukkit.command.CommandSender sender,
|
||||
java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.cc.carm.lib.easyplugin.command.NamedExecutor">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从接口继承的方法 cc.carm.lib.easyplugin.command.<a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></h3>
|
||||
<code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#hasPermission-org.bukkit.command.CommandSender-">hasPermission</a>, <a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#sendMessage-org.bukkit.command.CommandSender-java.util.function.Function-java.lang.String...-">sendMessage</a>, <a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#sendMessage-org.bukkit.command.CommandSender-java.lang.String...-">sendMessage</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="SubCommand-cc.carm.lib.easyplugin.command.CommandHandler-java.lang.String-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a><a name="SubCommand-C-java.lang.String-java.lang.String...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>SubCommand</h4>
|
||||
<pre>public SubCommand(@NotNull
|
||||
<a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="SubCommand中的类型参数">C</a> parent,
|
||||
java.lang.String identifier,
|
||||
java.lang.String... aliases)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="getParent--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getParent</h4>
|
||||
<pre>@NotNull
|
||||
public <a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="SubCommand中的类型参数">C</a> getParent()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getIdentifier--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getIdentifier</h4>
|
||||
<pre>@NotNull
|
||||
public @NotNull java.lang.String getIdentifier()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#getIdentifier--">getIdentifier</a></code> 在接口中 <code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getAliases--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAliases</h4>
|
||||
<pre>@NotNull
|
||||
public @Unmodifiable @NotNull java.util.List<java.lang.String> getAliases()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html#getAliases--">getAliases</a></code> 在接口中 <code><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="execute-org.bukkit.plugin.java.JavaPlugin-org.bukkit.command.CommandSender-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>execute</h4>
|
||||
<pre>public abstract java.lang.Void execute(org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
org.bukkit.command.CommandSender sender,
|
||||
java.lang.String[] args)
|
||||
throws java.lang.Exception</pre>
|
||||
<dl>
|
||||
<dt><span class="throwsLabel">抛出:</span></dt>
|
||||
<dd><code>java.lang.Exception</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="tabComplete-org.bukkit.plugin.java.JavaPlugin-org.bukkit.command.CommandSender-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>tabComplete</h4>
|
||||
<pre>public java.util.List<java.lang.String> tabComplete(org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
org.bukkit.command.CommandSender sender,
|
||||
java.lang.String[] args)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/SubCommand.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/SubCommand.html" target="_top">框架</a></li>
|
||||
<li><a href="SubCommand.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,441 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>AliasCommand (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AliasCommand (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
|
||||
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/AliasCommand.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/AliasCommand.html" target="_top">框架</a></li>
|
||||
<li><a href="AliasCommand.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.command.alias</div>
|
||||
<h2 title="类 AliasCommand" class="title">类 AliasCommand</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>org.bukkit.command.Command</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.command.alias.AliasCommand</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">AliasCommand</span>
|
||||
extends org.bukkit.command.Command</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
||||
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#aliasCommandManager">aliasCommandManager</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#targetCommand">targetCommand</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields.inherited.from.class.org.bukkit.command.Command">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的字段 org.bukkit.command.Command</h3>
|
||||
<code>description, timings, usageMessage</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#AliasCommand-java.lang.String-cc.carm.lib.easyplugin.command.alias.AliasCommandManager-java.lang.String-">AliasCommand</a></span>(java.lang.String name,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a> aliasCommandManager,
|
||||
java.lang.String targetCommand)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#buildCommand-java.lang.String:A-">buildCommand</a></span>(java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#execute-org.bukkit.command.CommandSender-java.lang.String-java.lang.String:A-">execute</a></span>(@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull java.lang.String commandLabel,
|
||||
@NotNull java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>protected org.bukkit.command.SimpleCommandMap</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#getCommandMap--">getCommandMap</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>@NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#tabComplete-org.bukkit.command.CommandSender-java.lang.String-java.lang.String:A-">tabComplete</a></span>(@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull java.lang.String alias,
|
||||
@NotNull java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>@NotNull java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#tabComplete-org.bukkit.command.CommandSender-java.lang.String-java.lang.String:A-org.bukkit.Location-">tabComplete</a></span>(@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull java.lang.String alias,
|
||||
@NotNull java.lang.String[] args,
|
||||
@Nullable org.bukkit.Location location)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.org.bukkit.command.Command">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 org.bukkit.command.Command</h3>
|
||||
<code>broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, testPermission, testPermissionSilent, toString, unregister</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段详细资料</h3>
|
||||
<a name="aliasCommandManager">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>aliasCommandManager</h4>
|
||||
<pre>protected final <a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a> aliasCommandManager</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="targetCommand">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>targetCommand</h4>
|
||||
<pre>protected final java.lang.String targetCommand</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="AliasCommand-java.lang.String-cc.carm.lib.easyplugin.command.alias.AliasCommandManager-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AliasCommand</h4>
|
||||
<pre>public AliasCommand(java.lang.String name,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a> aliasCommandManager,
|
||||
java.lang.String targetCommand)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="getCommandMap--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCommandMap</h4>
|
||||
<pre>protected org.bukkit.command.SimpleCommandMap getCommandMap()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="buildCommand-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>buildCommand</h4>
|
||||
<pre>protected java.lang.String buildCommand(java.lang.String[] args)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="execute-org.bukkit.command.CommandSender-java.lang.String-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>execute</h4>
|
||||
<pre>public boolean execute(@NotNull
|
||||
@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull
|
||||
@NotNull java.lang.String commandLabel,
|
||||
@NotNull
|
||||
@NotNull java.lang.String[] args)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
|
||||
<dd><code>execute</code> 在类中 <code>org.bukkit.command.Command</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="tabComplete-org.bukkit.command.CommandSender-java.lang.String-java.lang.String:A-org.bukkit.Location-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>tabComplete</h4>
|
||||
<pre>@NotNull
|
||||
public @NotNull java.util.List<java.lang.String> tabComplete(@NotNull
|
||||
@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull
|
||||
@NotNull java.lang.String alias,
|
||||
@NotNull
|
||||
@NotNull java.lang.String[] args,
|
||||
@Nullable
|
||||
@Nullable org.bukkit.Location location)
|
||||
throws java.lang.IllegalArgumentException</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
|
||||
<dd><code>tabComplete</code> 在类中 <code>org.bukkit.command.Command</code></dd>
|
||||
<dt><span class="throwsLabel">抛出:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="tabComplete-org.bukkit.command.CommandSender-java.lang.String-java.lang.String:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>tabComplete</h4>
|
||||
<pre>@NotNull
|
||||
public @NotNull java.util.List<java.lang.String> tabComplete(@NotNull
|
||||
@NotNull org.bukkit.command.CommandSender sender,
|
||||
@NotNull
|
||||
@NotNull java.lang.String alias,
|
||||
@NotNull
|
||||
@NotNull java.lang.String[] args)
|
||||
throws java.lang.IllegalArgumentException</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
|
||||
<dd><code>tabComplete</code> 在类中 <code>org.bukkit.command.Command</code></dd>
|
||||
<dt><span class="throwsLabel">抛出:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/AliasCommand.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/AliasCommand.html" target="_top">框架</a></li>
|
||||
<li><a href="AliasCommand.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,466 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>AliasCommandManager (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AliasCommandManager (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
|
||||
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/AliasCommandManager.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" target="_top">框架</a></li>
|
||||
<li><a href="AliasCommandManager.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.command.alias</div>
|
||||
<h2 title="类 AliasCommandManager" class="title">类 AliasCommandManager</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.command.alias.AliasCommandManager</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">AliasCommandManager</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">指令简化别名(简化映射)管理器
|
||||
<br>支持将插件内复杂的子指令简化为一个单独的指令,方便玩家使用。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
||||
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull org.bukkit.command.SimpleCommandMap</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#commandMap">commandMap</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected @NotNull java.lang.reflect.Field</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#knownCommandsFiled">knownCommandsFiled</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull org.bukkit.plugin.java.JavaPlugin</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#plugin">plugin</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected @NotNull java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#prefix">prefix</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommand</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#registeredCommands">registeredCommands</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#AliasCommandManager-org.bukkit.plugin.java.JavaPlugin-">AliasCommandManager</a></span>(@NotNull org.bukkit.plugin.java.JavaPlugin plugin)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#AliasCommandManager-org.bukkit.plugin.java.JavaPlugin-java.lang.String-">AliasCommandManager</a></span>(@NotNull org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
@NotNull java.lang.String prefix)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull org.bukkit.command.SimpleCommandMap</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#getCommandMap--">getCommandMap</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#getCommandPrefix--">getCommandPrefix</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>protected java.util.Map<java.lang.String,org.bukkit.command.Command></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#getKnownCommands--">getKnownCommands</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#register-java.lang.String-java.lang.String-">register</a></span>(@NotNull java.lang.String alias,
|
||||
@NotNull java.lang.String subCommand)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#unregister-java.lang.String-">unregister</a></span>(@NotNull java.lang.String alias)</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html#unregisterAll--">unregisterAll</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段详细资料</h3>
|
||||
<a name="plugin">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>plugin</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull org.bukkit.plugin.java.JavaPlugin plugin</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="prefix">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>prefix</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull java.lang.String prefix</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="commandMap">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>commandMap</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull org.bukkit.command.SimpleCommandMap commandMap</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="knownCommandsFiled">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>knownCommandsFiled</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull java.lang.reflect.Field knownCommandsFiled</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registeredCommands">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>registeredCommands</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommand</a>> registeredCommands</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="AliasCommandManager-org.bukkit.plugin.java.JavaPlugin-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AliasCommandManager</h4>
|
||||
<pre>public AliasCommandManager(@NotNull
|
||||
@NotNull org.bukkit.plugin.java.JavaPlugin plugin)
|
||||
throws java.lang.Exception</pre>
|
||||
<dl>
|
||||
<dt><span class="throwsLabel">抛出:</span></dt>
|
||||
<dd><code>java.lang.Exception</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AliasCommandManager-org.bukkit.plugin.java.JavaPlugin-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AliasCommandManager</h4>
|
||||
<pre>public AliasCommandManager(@NotNull
|
||||
@NotNull org.bukkit.plugin.java.JavaPlugin plugin,
|
||||
@NotNull
|
||||
@NotNull java.lang.String prefix)
|
||||
throws java.lang.Exception</pre>
|
||||
<dl>
|
||||
<dt><span class="throwsLabel">抛出:</span></dt>
|
||||
<dd><code>java.lang.Exception</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="getKnownCommands--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getKnownCommands</h4>
|
||||
<pre>protected java.util.Map<java.lang.String,org.bukkit.command.Command> getKnownCommands()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getCommandMap--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCommandMap</h4>
|
||||
<pre>@NotNull
|
||||
protected @NotNull org.bukkit.command.SimpleCommandMap getCommandMap()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getCommandPrefix--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCommandPrefix</h4>
|
||||
<pre>public java.lang.String getCommandPrefix()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="register-java.lang.String-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>register</h4>
|
||||
<pre>public void register(@NotNull
|
||||
@NotNull java.lang.String alias,
|
||||
@NotNull
|
||||
@NotNull java.lang.String subCommand)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="unregister-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>unregister</h4>
|
||||
<pre>public void unregister(@NotNull
|
||||
@NotNull java.lang.String alias)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="unregisterAll--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>unregisterAll</h4>
|
||||
<pre>public void unregisterAll()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/AliasCommandManager.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" target="_top">框架</a></li>
|
||||
<li><a href="AliasCommandManager.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.command.alias.AliasCommand的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.command.alias.AliasCommand\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/class-use/AliasCommand.html" target="_top">框架</a></li>
|
||||
<li><a href="AliasCommand.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.command.alias.AliasCommand" class="title">类的使用<br>cc.carm.lib.easyplugin.command.alias.AliasCommand</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">没有cc.carm.lib.easyplugin.command.alias.AliasCommand的用法</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/class-use/AliasCommand.html" target="_top">框架</a></li>
|
||||
<li><a href="AliasCommand.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,179 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.command.alias.AliasCommandManager的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.command.alias.AliasCommandManager\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/class-use/AliasCommandManager.html" target="_top">框架</a></li>
|
||||
<li><a href="AliasCommandManager.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.command.alias.AliasCommandManager" class="title">类的使用<br>cc.carm.lib.easyplugin.command.alias.AliasCommandManager</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.command.alias">cc.carm.lib.easyplugin.command.alias</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.command.alias">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">cc.carm.lib.easyplugin.command.alias</a>中<a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>声明为<a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">cc.carm.lib.easyplugin.command.alias</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">AliasCommand.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#aliasCommandManager">aliasCommandManager</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表构造器和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">cc.carm.lib.easyplugin.command.alias</a>中的构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html#AliasCommand-java.lang.String-cc.carm.lib.easyplugin.command.alias.AliasCommandManager-java.lang.String-">AliasCommand</a></span>(java.lang.String name,
|
||||
<a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a> aliasCommandManager,
|
||||
java.lang.String targetCommand)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/class-use/AliasCommandManager.html" target="_top">框架</a></li>
|
||||
<li><a href="AliasCommandManager.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.command.alias (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html" target="classFrame">cc.carm.lib.easyplugin.command.alias</a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="类">类</h2>
|
||||
<ul title="类">
|
||||
<li><a href="AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类" target="classFrame">AliasCommand</a></li>
|
||||
<li><a href="AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类" target="classFrame">AliasCommandManager</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,151 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.command.alias (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="cc.carm.lib.easyplugin.command.alias (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li class="navBarCell1Rev">程序包</li>
|
||||
<li>类</li>
|
||||
<li><a href="package-use.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">上一个程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">下一个程序包</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/package-summary.html" target="_top">框架</a></li>
|
||||
<li><a href="package-summary.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包" class="title">程序包 cc.carm.lib.easyplugin.command.alias</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="类概要表, 列表类和解释">
|
||||
<caption><span>类概要</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">类</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommand</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类">AliasCommandManager</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">指令简化别名(简化映射)管理器
|
||||
<br>支持将插件内复杂的子指令简化为一个单独的指令,方便玩家使用。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li class="navBarCell1Rev">程序包</li>
|
||||
<li>类</li>
|
||||
<li><a href="package-use.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">上一个程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">下一个程序包</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/package-summary.html" target="_top">框架</a></li>
|
||||
<li><a href="package-summary.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,144 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.command.alias 类分层结构 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="cc.carm.lib.easyplugin.command.alias \u7C7B\u5206\u5C42\u7ED3\u6784 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li>使用</li>
|
||||
<li class="navBarCell1Rev">树</li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/package-tree.html">上一个</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-tree.html">下一个</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/package-tree.html" target="_top">框架</a></li>
|
||||
<li><a href="package-tree.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">程序包cc.carm.lib.easyplugin.command.alias的分层结构</h1>
|
||||
<span class="packageHierarchyLabel">程序包分层结构:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="../../../../../../overview-tree.html">所有程序包</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="类分层结构">类分层结构</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">cc.carm.lib.easyplugin.command.alias.<a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommandManager.html" title="cc.carm.lib.easyplugin.command.alias中的类"><span class="typeNameLink">AliasCommandManager</span></a></li>
|
||||
<li type="circle">org.bukkit.command.Command
|
||||
<ul>
|
||||
<li type="circle">cc.carm.lib.easyplugin.command.alias.<a href="../../../../../../cc/carm/lib/easyplugin/command/alias/AliasCommand.html" title="cc.carm.lib.easyplugin.command.alias中的类"><span class="typeNameLink">AliasCommand</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li>使用</li>
|
||||
<li class="navBarCell1Rev">树</li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/package-tree.html">上一个</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-tree.html">下一个</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/package-tree.html" target="_top">框架</a></li>
|
||||
<li><a href="package-tree.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,162 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>程序包 cc.carm.lib.easyplugin.command.alias的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7A0B\u5E8F\u5305 cc.carm.lib.easyplugin.command.alias\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/package-use.html" target="_top">框架</a></li>
|
||||
<li><a href="package-use.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包的使用 cc.carm.lib.easyplugin.command.alias" class="title">程序包的使用<br>cc.carm.lib.easyplugin.command.alias</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">cc.carm.lib.easyplugin.command.alias</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.command.alias">cc.carm.lib.easyplugin.command.alias</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.command.alias">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">cc.carm.lib.easyplugin.command.alias</a>使用的<a href="../../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">cc.carm.lib.easyplugin.command.alias</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../../cc/carm/lib/easyplugin/command/alias/class-use/AliasCommandManager.html#cc.carm.lib.easyplugin.command.alias">AliasCommandManager</a>
|
||||
<div class="block">指令简化别名(简化映射)管理器
|
||||
<br>支持将插件内复杂的子指令简化为一个单独的指令,方便玩家使用。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/alias/package-use.html" target="_top">框架</a></li>
|
||||
<li><a href="package-use.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,192 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.command.CommandHandler的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.command.CommandHandler\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/class-use/CommandHandler.html" target="_top">框架</a></li>
|
||||
<li><a href="CommandHandler.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.command.CommandHandler" class="title">类的使用<br>cc.carm.lib.easyplugin.command.CommandHandler</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.command">cc.carm.lib.easyplugin.command</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.command">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中<a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span>类型参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>的<a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><C extends <a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>的<a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @Nullable <a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">CommandHandler.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#getHandler-java.lang.String-">getHandler</a></span>(@NotNull java.lang.String name)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>的<a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">CommandHandler.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#registerHandler-cc.carm.lib.easyplugin.command.CommandHandler-">registerHandler</a></span>(<a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a> handler)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/class-use/CommandHandler.html" target="_top">框架</a></li>
|
||||
<li><a href="CommandHandler.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,183 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>接口 cc.carm.lib.easyplugin.command.NamedExecutor的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u63A5\u53E3 cc.carm.lib.easyplugin.command.NamedExecutor\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/class-use/NamedExecutor.html" target="_top">框架</a></li>
|
||||
<li><a href="NamedExecutor.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="接口的使用 cc.carm.lib.easyplugin.command.NamedExecutor" class="title">接口的使用<br>cc.carm.lib.easyplugin.command.NamedExecutor</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.command">cc.carm.lib.easyplugin.command</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.command">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中<a href="../../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span>实现<a href="../../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>的<a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><C extends <a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回变量类型为<a href="../../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>的类型的<a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.util.List<<a href="../../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">CommandHandler.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#getExecutors--">getExecutors</a></span>()</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/class-use/NamedExecutor.html" target="_top">框架</a></li>
|
||||
<li><a href="NamedExecutor.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.command.SimpleCompleter的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.command.SimpleCompleter\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/class-use/SimpleCompleter.html" target="_top">框架</a></li>
|
||||
<li><a href="SimpleCompleter.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.command.SimpleCompleter" class="title">类的使用<br>cc.carm.lib.easyplugin.command.SimpleCompleter</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">没有cc.carm.lib.easyplugin.command.SimpleCompleter的用法</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/class-use/SimpleCompleter.html" target="_top">框架</a></li>
|
||||
<li><a href="SimpleCompleter.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,185 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.command.SubCommand的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.command.SubCommand\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/class-use/SubCommand.html" target="_top">框架</a></li>
|
||||
<li><a href="SubCommand.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.command.SubCommand" class="title">类的使用<br>cc.carm.lib.easyplugin.command.SubCommand</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.command">cc.carm.lib.easyplugin.command</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.command">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中<a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a>的<a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @Nullable <a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">CommandHandler.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#getSubCommand-java.lang.String-">getSubCommand</a></span>(@NotNull java.lang.String name)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a>的<a href="../../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.Void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">CommandHandler.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#onException-org.bukkit.command.CommandSender-cc.carm.lib.easyplugin.command.SubCommand-java.lang.Exception-">onException</a></span>(org.bukkit.command.CommandSender sender,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?> cmd,
|
||||
java.lang.Exception ex)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">CommandHandler.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html#registerSubCommand-cc.carm.lib.easyplugin.command.SubCommand-">registerSubCommand</a></span>(<a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><?> command)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/command/class-use/SubCommand.html" target="_top">框架</a></li>
|
||||
<li><a href="SubCommand.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.command (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="../../../../../cc/carm/lib/easyplugin/command/package-summary.html" target="classFrame">cc.carm.lib.easyplugin.command</a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="接口">接口</h2>
|
||||
<ul title="接口">
|
||||
<li><a href="NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口" target="classFrame"><span class="interfaceName">NamedExecutor</span></a></li>
|
||||
</ul>
|
||||
<h2 title="类">类</h2>
|
||||
<ul title="类">
|
||||
<li><a href="CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类" target="classFrame">CommandHandler</a></li>
|
||||
<li><a href="SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类" target="classFrame">SimpleCompleter</a></li>
|
||||
<li><a href="SubCommand.html" title="cc.carm.lib.easyplugin.command中的类" target="classFrame">SubCommand</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,167 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.command (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="cc.carm.lib.easyplugin.command (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li class="navBarCell1Rev">程序包</li>
|
||||
<li>类</li>
|
||||
<li><a href="package-use.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/package-summary.html">上一个程序包</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">下一个程序包</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/package-summary.html" target="_top">框架</a></li>
|
||||
<li><a href="package-summary.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包" class="title">程序包 cc.carm.lib.easyplugin.command</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="接口概要表, 列表接口和解释">
|
||||
<caption><span>接口概要</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">接口</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="类概要表, 列表类和解释">
|
||||
<caption><span>类概要</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">类</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类">SimpleCompleter</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类">SubCommand</a><C extends <a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类">CommandHandler</a>></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li class="navBarCell1Rev">程序包</li>
|
||||
<li>类</li>
|
||||
<li><a href="package-use.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/package-summary.html">上一个程序包</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">下一个程序包</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/package-summary.html" target="_top">框架</a></li>
|
||||
<li><a href="package-summary.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,145 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.command 类分层结构 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="cc.carm.lib.easyplugin.command \u7C7B\u5206\u5C42\u7ED3\u6784 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li>使用</li>
|
||||
<li class="navBarCell1Rev">树</li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/package-tree.html">上一个</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/alias/package-tree.html">下一个</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/package-tree.html" target="_top">框架</a></li>
|
||||
<li><a href="package-tree.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">程序包cc.carm.lib.easyplugin.command的分层结构</h1>
|
||||
<span class="packageHierarchyLabel">程序包分层结构:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="../../../../../overview-tree.html">所有程序包</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="类分层结构">类分层结构</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">cc.carm.lib.easyplugin.command.<a href="../../../../../cc/carm/lib/easyplugin/command/CommandHandler.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">CommandHandler</span></a> (implements cc.carm.lib.easyplugin.command.<a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>, org.bukkit.command.TabExecutor)</li>
|
||||
<li type="circle">cc.carm.lib.easyplugin.command.<a href="../../../../../cc/carm/lib/easyplugin/command/SimpleCompleter.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">SimpleCompleter</span></a></li>
|
||||
<li type="circle">cc.carm.lib.easyplugin.command.<a href="../../../../../cc/carm/lib/easyplugin/command/SubCommand.html" title="cc.carm.lib.easyplugin.command中的类"><span class="typeNameLink">SubCommand</span></a><C> (implements cc.carm.lib.easyplugin.command.<a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口">NamedExecutor</a>)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 title="接口分层结构">接口分层结构</h2>
|
||||
<ul>
|
||||
<li type="circle">cc.carm.lib.easyplugin.command.<a href="../../../../../cc/carm/lib/easyplugin/command/NamedExecutor.html" title="cc.carm.lib.easyplugin.command中的接口"><span class="typeNameLink">NamedExecutor</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li>使用</li>
|
||||
<li class="navBarCell1Rev">树</li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/package-tree.html">上一个</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/alias/package-tree.html">下一个</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/package-tree.html" target="_top">框架</a></li>
|
||||
<li><a href="package-tree.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,165 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>程序包 cc.carm.lib.easyplugin.command的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7A0B\u5E8F\u5305 cc.carm.lib.easyplugin.command\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/package-use.html" target="_top">框架</a></li>
|
||||
<li><a href="package-use.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包的使用 cc.carm.lib.easyplugin.command" class="title">程序包的使用<br>cc.carm.lib.easyplugin.command</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.command">cc.carm.lib.easyplugin.command</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.command">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span><a href="../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>使用的<a href="../../../../../cc/carm/lib/easyplugin/command/package-summary.html">cc.carm.lib.easyplugin.command</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/command/class-use/CommandHandler.html#cc.carm.lib.easyplugin.command">CommandHandler</a> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/command/class-use/NamedExecutor.html#cc.carm.lib.easyplugin.command">NamedExecutor</a> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/command/class-use/SubCommand.html#cc.carm.lib.easyplugin.command">SubCommand</a> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/command/package-use.html" target="_top">框架</a></li>
|
||||
<li><a href="package-use.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,925 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GUI (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GUI (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":9,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":9,"i31":10,"i32":10};
|
||||
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUI.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUI.html" target="_top">框架</a></li>
|
||||
<li><a href="GUI.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.gui</div>
|
||||
<h2 title="类 GUI" class="title">类 GUI</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.gui.GUI</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>直接已知子类:</dt>
|
||||
<dd><a href="../../../../../cc/carm/lib/easyplugin/gui/paged/PagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类">PagedGUI</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">GUI</span>
|
||||
extends java.lang.Object</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
||||
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#cancelOnOuter">cancelOnOuter</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#cancelOnSelf">cancelOnSelf</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#cancelOnTarget">cancelOnTarget</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected org.bukkit.inventory.ItemStack</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#emptyItem">emptyItem</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected java.util.Map<java.lang.String,java.lang.Object></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#flags">flags</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected org.bukkit.inventory.Inventory</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#inv">inv</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected java.util.SortedMap<java.lang.Integer,<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#items">items</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">GUIListener</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#listener">listener</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#title">title</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected @NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#type">type</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#GUI-cc.carm.lib.easyplugin.gui.GUIType-java.lang.String-">GUI</a></span>(@NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> type,
|
||||
@NotNull java.lang.String title)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#applyToInventory-org.bukkit.inventory.Inventory-">applyToInventory</a></span>(org.bukkit.inventory.Inventory inventory)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#closeAll--">closeAll</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#fillEmptySlots-org.bukkit.inventory.Inventory-">fillEmptySlots</a></span>(@NotNull org.bukkit.inventory.Inventory inventory)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>java.lang.Object</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getFlag-java.lang.String-">getFlag</a></span>(java.lang.String flag)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getGUIName--">getGUIName</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getGUIType--">getGUIType</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getItem-int-">getItem</a></span>(int index)</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.SortedMap<java.lang.Integer,<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getItems--">getItems</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getOpenedGUI-org.bukkit.entity.Player-">getOpenedGUI</a></span>(org.bukkit.entity.Player player)</code> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>static java.util.Map<java.util.UUID,<a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getOpenedGUIs--">getOpenedGUIs</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>static org.bukkit.plugin.java.JavaPlugin</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getPlugin--">getPlugin</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>static boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#hasOpenedGUI-org.bukkit.entity.Player-">hasOpenedGUI</a></span>(org.bukkit.entity.Player player)</code> </td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#initialize-org.bukkit.plugin.java.JavaPlugin-">initialize</a></span>(org.bukkit.plugin.java.JavaPlugin plugin)</code> </td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#onClose--">onClose</a></span>()</code>
|
||||
<div class="block">关闭GUI时执行的代码</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#onDrag-org.bukkit.event.inventory.InventoryDragEvent-">onDrag</a></span>(org.bukkit.event.inventory.InventoryDragEvent event)</code>
|
||||
<div class="block">拖动GUI内物品是执行的代码</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#onUpdate--">onUpdate</a></span>()</code>
|
||||
<div class="block">当GUI更新时执行的代码</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#openGUI-org.bukkit.entity.Player-">openGUI</a></span>(org.bukkit.entity.Player player)</code> </td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#rawClickListener-org.bukkit.event.inventory.InventoryClickEvent-">rawClickListener</a></span>(org.bukkit.event.inventory.InventoryClickEvent event)</code> </td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#removeFlag-java.lang.String-">removeFlag</a></span>(java.lang.String flag)</code> </td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#removeOpenedGUI-org.bukkit.entity.Player-">removeOpenedGUI</a></span>(org.bukkit.entity.Player player)</code> </td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setCancelOnOuter-boolean-">setCancelOnOuter</a></span>(boolean b)</code>
|
||||
<div class="block">设置是否取消点击GUI外的事件
|
||||
如果不取消,玩家可以把物品从GUI或背包中丢出去</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i21" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setCancelOnSelf-boolean-">setCancelOnSelf</a></span>(boolean b)</code>
|
||||
<div class="block">设置是否取消点击自己背包内物品的事件
|
||||
如果不取消,玩家可以从自己的背包中拿取物品。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setCancelOnTarget-boolean-">setCancelOnTarget</a></span>(boolean b)</code>
|
||||
<div class="block">设置是否取消点击GUI内物品的事件
|
||||
如果不取消,玩家可以从GUI中拿取物品。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setEmptyItem-org.bukkit.inventory.ItemStack-">setEmptyItem</a></span>(org.bukkit.inventory.ItemStack item)</code> </td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setFlag-java.lang.String-java.lang.Object-">setFlag</a></span>(java.lang.String flag,
|
||||
java.lang.Object obj)</code> </td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setItem-cc.carm.lib.easyplugin.gui.GUIItem-int...-">setItem</a></span>(<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item,
|
||||
int... index)</code> </td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setItem-int-cc.carm.lib.easyplugin.gui.GUIItem-">setItem</a></span>(int index,
|
||||
@Nullable <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item)</code> </td>
|
||||
</tr>
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setItem-int-int-cc.carm.lib.easyplugin.gui.GUIItem-">setItem</a></span>(int row,
|
||||
int column,
|
||||
@NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item)</code>
|
||||
<div class="block">设置GUI上方(箱子部分)</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setItemStack-int-org.bukkit.inventory.ItemStack-">setItemStack</a></span>(int index,
|
||||
@Nullable org.bukkit.inventory.ItemStack item)</code> </td>
|
||||
</tr>
|
||||
<tr id="i29" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setItemStack-org.bukkit.inventory.ItemStack-int...-">setItemStack</a></span>(org.bukkit.inventory.ItemStack item,
|
||||
int... index)</code> </td>
|
||||
</tr>
|
||||
<tr id="i30" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setOpenedGUI-org.bukkit.entity.Player-cc.carm.lib.easyplugin.gui.GUI-">setOpenedGUI</a></span>(org.bukkit.entity.Player player,
|
||||
<a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</code> </td>
|
||||
</tr>
|
||||
<tr id="i31" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#updateTitle-java.lang.String-">updateTitle</a></span>(@NotNull java.lang.String title)</code> </td>
|
||||
</tr>
|
||||
<tr id="i32" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html#updateView--">updateView</a></span>()</code>
|
||||
<div class="block">更新玩家箱子的视图</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段详细资料</h3>
|
||||
<a name="type">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>type</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> type</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="title">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>title</h4>
|
||||
<pre>@NotNull
|
||||
protected @NotNull java.lang.String title</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="inv">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>inv</h4>
|
||||
<pre>protected org.bukkit.inventory.Inventory inv</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="items">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>items</h4>
|
||||
<pre>protected final java.util.SortedMap<java.lang.Integer,<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>> items</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="emptyItem">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>emptyItem</h4>
|
||||
<pre>protected org.bukkit.inventory.ItemStack emptyItem</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="cancelOnTarget">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>cancelOnTarget</h4>
|
||||
<pre>protected boolean cancelOnTarget</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="cancelOnSelf">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>cancelOnSelf</h4>
|
||||
<pre>protected boolean cancelOnSelf</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="cancelOnOuter">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>cancelOnOuter</h4>
|
||||
<pre>protected boolean cancelOnOuter</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="flags">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>flags</h4>
|
||||
<pre>protected final java.util.Map<java.lang.String,java.lang.Object> flags</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="listener">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>listener</h4>
|
||||
<pre>protected <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">GUIListener</a> listener</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="GUI-cc.carm.lib.easyplugin.gui.GUIType-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>GUI</h4>
|
||||
<pre>public GUI(@NotNull
|
||||
@NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> type,
|
||||
@NotNull
|
||||
@NotNull java.lang.String title)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="initialize-org.bukkit.plugin.java.JavaPlugin-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>initialize</h4>
|
||||
<pre>public static void initialize(org.bukkit.plugin.java.JavaPlugin plugin)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getPlugin--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getPlugin</h4>
|
||||
<pre>public static org.bukkit.plugin.java.JavaPlugin getPlugin()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getOpenedGUIs--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOpenedGUIs</h4>
|
||||
<pre>public static java.util.Map<java.util.UUID,<a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>> getOpenedGUIs()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getItems--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getItems</h4>
|
||||
<pre>public java.util.SortedMap<java.lang.Integer,<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>> getItems()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setItem-int-cc.carm.lib.easyplugin.gui.GUIItem-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setItem</h4>
|
||||
<pre>public final void setItem(int index,
|
||||
@Nullable
|
||||
@Nullable <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setItemStack-int-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setItemStack</h4>
|
||||
<pre>public void setItemStack(int index,
|
||||
@Nullable
|
||||
@Nullable org.bukkit.inventory.ItemStack item)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setItem-cc.carm.lib.easyplugin.gui.GUIItem-int...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setItem</h4>
|
||||
<pre>public void setItem(<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item,
|
||||
int... index)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setItemStack-org.bukkit.inventory.ItemStack-int...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setItemStack</h4>
|
||||
<pre>public void setItemStack(org.bukkit.inventory.ItemStack item,
|
||||
int... index)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setItem-int-int-cc.carm.lib.easyplugin.gui.GUIItem-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setItem</h4>
|
||||
<pre>public void setItem(int row,
|
||||
int column,
|
||||
@NotNull
|
||||
@NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item)</pre>
|
||||
<div class="block">设置GUI上方(箱子部分)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>row</code> - 行数,1为第1行</dd>
|
||||
<dd><code>column</code> - 列数,1为第1列</dd>
|
||||
<dd><code>item</code> - GUIItem</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getItem-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getItem</h4>
|
||||
<pre>public <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> getItem(int index)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setEmptyItem-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEmptyItem</h4>
|
||||
<pre>public void setEmptyItem(org.bukkit.inventory.ItemStack item)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="fillEmptySlots-org.bukkit.inventory.Inventory-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>fillEmptySlots</h4>
|
||||
<pre>protected void fillEmptySlots(@NotNull
|
||||
@NotNull org.bukkit.inventory.Inventory inventory)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="applyToInventory-org.bukkit.inventory.Inventory-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>applyToInventory</h4>
|
||||
<pre>protected void applyToInventory(org.bukkit.inventory.Inventory inventory)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="updateTitle-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>updateTitle</h4>
|
||||
<pre>public void updateTitle(@NotNull
|
||||
@NotNull java.lang.String title)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="updateView--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>updateView</h4>
|
||||
<pre>public void updateView()</pre>
|
||||
<div class="block">更新玩家箱子的视图</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCancelOnTarget-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCancelOnTarget</h4>
|
||||
<pre>public void setCancelOnTarget(boolean b)</pre>
|
||||
<div class="block">设置是否取消点击GUI内物品的事件
|
||||
如果不取消,玩家可以从GUI中拿取物品。</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>b</code> - 是否取消</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCancelOnSelf-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCancelOnSelf</h4>
|
||||
<pre>public void setCancelOnSelf(boolean b)</pre>
|
||||
<div class="block">设置是否取消点击自己背包内物品的事件
|
||||
如果不取消,玩家可以从自己的背包中拿取物品。</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>b</code> - 是否取消</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCancelOnOuter-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCancelOnOuter</h4>
|
||||
<pre>public void setCancelOnOuter(boolean b)</pre>
|
||||
<div class="block">设置是否取消点击GUI外的事件
|
||||
如果不取消,玩家可以把物品从GUI或背包中丢出去</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>b</code> - 是否取消</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getFlag-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getFlag</h4>
|
||||
<pre>public java.lang.Object getFlag(java.lang.String flag)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setFlag-java.lang.String-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setFlag</h4>
|
||||
<pre>public void setFlag(java.lang.String flag,
|
||||
java.lang.Object obj)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="removeFlag-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>removeFlag</h4>
|
||||
<pre>public void removeFlag(java.lang.String flag)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="rawClickListener-org.bukkit.event.inventory.InventoryClickEvent-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>rawClickListener</h4>
|
||||
<pre>public void rawClickListener(org.bukkit.event.inventory.InventoryClickEvent event)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="openGUI-org.bukkit.entity.Player-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>openGUI</h4>
|
||||
<pre>public void openGUI(org.bukkit.entity.Player player)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onDrag-org.bukkit.event.inventory.InventoryDragEvent-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onDrag</h4>
|
||||
<pre>public void onDrag(org.bukkit.event.inventory.InventoryDragEvent event)</pre>
|
||||
<div class="block">拖动GUI内物品是执行的代码</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>event</code> - InventoryDragEvent</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onClose--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onClose</h4>
|
||||
<pre>public void onClose()</pre>
|
||||
<div class="block">关闭GUI时执行的代码</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onUpdate--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onUpdate</h4>
|
||||
<pre>public void onUpdate()</pre>
|
||||
<div class="block">当GUI更新时执行的代码</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getGUIType--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getGUIType</h4>
|
||||
<pre>public <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> getGUIType()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getGUIName--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getGUIName</h4>
|
||||
<pre>public java.lang.String getGUIName()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setOpenedGUI-org.bukkit.entity.Player-cc.carm.lib.easyplugin.gui.GUI-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOpenedGUI</h4>
|
||||
<pre>public static void setOpenedGUI(org.bukkit.entity.Player player,
|
||||
<a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hasOpenedGUI-org.bukkit.entity.Player-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hasOpenedGUI</h4>
|
||||
<pre>public static boolean hasOpenedGUI(org.bukkit.entity.Player player)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getOpenedGUI-org.bukkit.entity.Player-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOpenedGUI</h4>
|
||||
<pre>public static <a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> getOpenedGUI(org.bukkit.entity.Player player)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="removeOpenedGUI-org.bukkit.entity.Player-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>removeOpenedGUI</h4>
|
||||
<pre>public static void removeOpenedGUI(org.bukkit.entity.Player player)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="closeAll--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>closeAll</h4>
|
||||
<pre>public static void closeAll()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUI.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUI.html" target="_top">框架</a></li>
|
||||
<li><a href="GUI.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,279 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GUIItem.GUIClickAction (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GUIItem.GUIClickAction (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":6};
|
||||
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIItem.GUIClickAction.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItem.GUIClickAction.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.gui</div>
|
||||
<h2 title="类 GUIItem.GUIClickAction" class="title">类 GUIItem.GUIClickAction</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>封闭类:</dt>
|
||||
<dd><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public abstract static class <span class="typeNameLabel">GUIItem.GUIClickAction</span>
|
||||
extends java.lang.Object</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html#GUIClickAction--">GUIClickAction</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>abstract void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html#run-org.bukkit.event.inventory.ClickType-org.bukkit.entity.Player-">run</a></span>(org.bukkit.event.inventory.ClickType type,
|
||||
org.bukkit.entity.Player player)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="GUIClickAction--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>GUIClickAction</h4>
|
||||
<pre>public GUIClickAction()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="run-org.bukkit.event.inventory.ClickType-org.bukkit.entity.Player-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>run</h4>
|
||||
<pre>public abstract void run(org.bukkit.event.inventory.ClickType type,
|
||||
org.bukkit.entity.Player player)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIItem.GUIClickAction.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItem.GUIClickAction.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,537 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GUIItem (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GUIItem (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10};
|
||||
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"],32:["t6","已过时的方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIItem.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUIItem.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItem.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li><a href="#nested.class.summary">嵌套</a> | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.gui</div>
|
||||
<h2 title="类 GUIItem" class="title">类 GUIItem</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.gui.GUIItem</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">GUIItem</span>
|
||||
extends java.lang.Object</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>嵌套类概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="嵌套类概要表, 列表嵌套类和解释">
|
||||
<caption><span>嵌套类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
||||
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#actionActive">actionActive</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected java.util.Set<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#actions">actions</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected java.util.Set<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#actionsIgnoreActive">actionsIgnoreActive</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected org.bukkit.inventory.ItemStack</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#display">display</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#GUIItem-org.bukkit.inventory.ItemStack-">GUIItem</a></span>(org.bukkit.inventory.ItemStack display)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">已过时的方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#addActionIgnoreActive-cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction-">addActionIgnoreActive</a></span>(<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a> action)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#addClickAction-cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction-">addClickAction</a></span>(<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a> action)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#customAction-org.bukkit.entity.Player-">customAction</a></span>(org.bukkit.entity.Player player)</code>
|
||||
<div class="block">自定义点击事件代码 (须自行触发)</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.Set<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#getActions--">getActions</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>java.util.Set<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#getActionsIgnoreActive--">getActionsIgnoreActive</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>org.bukkit.inventory.ItemStack</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#getDisplay--">getDisplay</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#isActionActive--">isActionActive</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#onClick-org.bukkit.event.inventory.ClickType-">onClick</a></span>(org.bukkit.event.inventory.ClickType type)</code>
|
||||
<div class="block"><span class="deprecatedLabel">已过时。</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#onClick-org.bukkit.entity.Player-org.bukkit.event.inventory.ClickType-">onClick</a></span>(org.bukkit.entity.Player clicker,
|
||||
org.bukkit.event.inventory.ClickType type)</code>
|
||||
<div class="block">玩家点击GUI后执行的代码</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#rawClickAction-org.bukkit.event.inventory.InventoryClickEvent-">rawClickAction</a></span>(org.bukkit.event.inventory.InventoryClickEvent event)</code> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#setActionActive-boolean-">setActionActive</a></span>(boolean b)</code> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#setDisplay-org.bukkit.inventory.ItemStack-">setDisplay</a></span>(org.bukkit.inventory.ItemStack display)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段详细资料</h3>
|
||||
<a name="display">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>display</h4>
|
||||
<pre>protected org.bukkit.inventory.ItemStack display</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="actionActive">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>actionActive</h4>
|
||||
<pre>protected boolean actionActive</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="actions">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>actions</h4>
|
||||
<pre>protected final java.util.Set<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>> actions</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="actionsIgnoreActive">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>actionsIgnoreActive</h4>
|
||||
<pre>protected final java.util.Set<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>> actionsIgnoreActive</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="GUIItem-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>GUIItem</h4>
|
||||
<pre>public GUIItem(org.bukkit.inventory.ItemStack display)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="getDisplay--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getDisplay</h4>
|
||||
<pre>public final org.bukkit.inventory.ItemStack getDisplay()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setDisplay-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setDisplay</h4>
|
||||
<pre>public final void setDisplay(org.bukkit.inventory.ItemStack display)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isActionActive--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isActionActive</h4>
|
||||
<pre>public final boolean isActionActive()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setActionActive-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setActionActive</h4>
|
||||
<pre>public final void setActionActive(boolean b)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onClick-org.bukkit.event.inventory.ClickType-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onClick</h4>
|
||||
<pre>@Deprecated
|
||||
public void onClick(org.bukkit.event.inventory.ClickType type)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">已过时。</span> </div>
|
||||
<div class="block">玩家点击该物品后执行的代码
|
||||
可以使用 <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#onClick-org.bukkit.entity.Player-org.bukkit.event.inventory.ClickType-"><code>onClick(Player, ClickType)</code></a> 操作点击者</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>type</code> - 点击的类型</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onClick-org.bukkit.entity.Player-org.bukkit.event.inventory.ClickType-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onClick</h4>
|
||||
<pre>public void onClick(org.bukkit.entity.Player clicker,
|
||||
org.bukkit.event.inventory.ClickType type)</pre>
|
||||
<div class="block">玩家点击GUI后执行的代码</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>clicker</code> - 点击的玩家</dd>
|
||||
<dd><code>type</code> - 点击的类型</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="addClickAction-cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addClickAction</h4>
|
||||
<pre>public void addClickAction(<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a> action)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="addActionIgnoreActive-cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addActionIgnoreActive</h4>
|
||||
<pre>public void addActionIgnoreActive(<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a> action)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="rawClickAction-org.bukkit.event.inventory.InventoryClickEvent-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>rawClickAction</h4>
|
||||
<pre>public void rawClickAction(org.bukkit.event.inventory.InventoryClickEvent event)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="customAction-org.bukkit.entity.Player-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>customAction</h4>
|
||||
<pre>public void customAction(org.bukkit.entity.Player player)</pre>
|
||||
<div class="block">自定义点击事件代码 (须自行触发)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>player</code> - 点击GUI的玩家</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getActions--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getActions</h4>
|
||||
<pre>public java.util.Set<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>> getActions()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getActionsIgnoreActive--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getActionsIgnoreActive</h4>
|
||||
<pre>public java.util.Set<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>> getActionsIgnoreActive()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIItem.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUIItem.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItem.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li><a href="#nested.class.summary">嵌套</a> | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,379 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GUIListener (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GUIListener (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
|
||||
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIListener.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUIListener.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIListener.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.gui</div>
|
||||
<h2 title="类 GUIListener" class="title">类 GUIListener</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.gui.GUIListener</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>所有已实现的接口:</dt>
|
||||
<dd>org.bukkit.event.Listener</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">GUIListener</span>
|
||||
extends java.lang.Object
|
||||
implements org.bukkit.event.Listener</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
||||
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#currentGUI">currentGUI</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#GUIListener-cc.carm.lib.easyplugin.gui.GUI-">GUIListener</a></span>(<a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#close-org.bukkit.entity.Player-">close</a></span>(org.bukkit.entity.Player p)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#getCurrentGUI--">getCurrentGUI</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#onDrag-org.bukkit.event.inventory.InventoryDragEvent-">onDrag</a></span>(org.bukkit.event.inventory.InventoryDragEvent e)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#onInventoryClickEvent-org.bukkit.event.inventory.InventoryClickEvent-">onInventoryClickEvent</a></span>(org.bukkit.event.inventory.InventoryClickEvent event)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#onInventoryCloseEvent-org.bukkit.event.inventory.InventoryCloseEvent-">onInventoryCloseEvent</a></span>(org.bukkit.event.inventory.InventoryCloseEvent event)</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#onPlayerLeave-org.bukkit.event.player.PlayerQuitEvent-">onPlayerLeave</a></span>(org.bukkit.event.player.PlayerQuitEvent event)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段详细资料</h3>
|
||||
<a name="currentGUI">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>currentGUI</h4>
|
||||
<pre>protected final <a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> currentGUI</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="GUIListener-cc.carm.lib.easyplugin.gui.GUI-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>GUIListener</h4>
|
||||
<pre>public GUIListener(<a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="getCurrentGUI--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCurrentGUI</h4>
|
||||
<pre>public <a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> getCurrentGUI()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onInventoryClickEvent-org.bukkit.event.inventory.InventoryClickEvent-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onInventoryClickEvent</h4>
|
||||
<pre>public void onInventoryClickEvent(org.bukkit.event.inventory.InventoryClickEvent event)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onDrag-org.bukkit.event.inventory.InventoryDragEvent-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onDrag</h4>
|
||||
<pre>public void onDrag(org.bukkit.event.inventory.InventoryDragEvent e)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onInventoryCloseEvent-org.bukkit.event.inventory.InventoryCloseEvent-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>onInventoryCloseEvent</h4>
|
||||
<pre>public void onInventoryCloseEvent(org.bukkit.event.inventory.InventoryCloseEvent event)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="close-org.bukkit.entity.Player-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>close</h4>
|
||||
<pre>protected void close(org.bukkit.entity.Player p)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="onPlayerLeave-org.bukkit.event.player.PlayerQuitEvent-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>onPlayerLeave</h4>
|
||||
<pre>public void onPlayerLeave(org.bukkit.event.player.PlayerQuitEvent event)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIListener.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUIListener.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIListener.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,471 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GUIType (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GUIType (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":10,"i4":10,"i5":9,"i6":9};
|
||||
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIType.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUIType.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIType.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#enum.constant.summary">枚举常量</a> | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#enum.constant.detail">枚举常量</a> | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.gui</div>
|
||||
<h2 title="枚举 GUIType" class="title">枚举 GUIType</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Enum<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.gui.GUIType</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>所有已实现的接口:</dt>
|
||||
<dd>java.io.Serializable, java.lang.Comparable<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public enum <span class="typeNameLabel">GUIType</span>
|
||||
extends java.lang.Enum<<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>枚举常量概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="枚举常量概要表, 列表枚举常量和解释">
|
||||
<caption><span>枚举常量</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">枚举常量和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#CANCEL">CANCEL</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#FIVE_BY_NINE">FIVE_BY_NINE</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#FOUR_BY_NINE">FOUR_BY_NINE</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#ONE_BY_NINE">ONE_BY_NINE</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#SIX_BY_NINE">SIX_BY_NINE</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#THREE_BY_NINE">THREE_BY_NINE</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#TWO_BY_NINE">TWO_BY_NINE</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#getByLines-int-">getByLines</a></span>(int lines)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#getByName-java.lang.String-">getByName</a></span>(java.lang.String name)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#getBySize-int-">getBySize</a></span>(int size)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#getLines--">getLines</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#getSize--">getSize</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)</code>
|
||||
<div class="block">返回带有指定名称的该类型的枚举常量。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#values--">values</a></span>()</code>
|
||||
<div class="block">按照声明该枚举类型的常量的顺序, 返回
|
||||
包含这些常量的数组。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Enum</h3>
|
||||
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>枚举常量详细资料</h3>
|
||||
<a name="ONE_BY_NINE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>ONE_BY_NINE</h4>
|
||||
<pre>public static final <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> ONE_BY_NINE</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="TWO_BY_NINE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>TWO_BY_NINE</h4>
|
||||
<pre>public static final <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> TWO_BY_NINE</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="THREE_BY_NINE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>THREE_BY_NINE</h4>
|
||||
<pre>public static final <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> THREE_BY_NINE</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="FOUR_BY_NINE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>FOUR_BY_NINE</h4>
|
||||
<pre>public static final <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> FOUR_BY_NINE</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="FIVE_BY_NINE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>FIVE_BY_NINE</h4>
|
||||
<pre>public static final <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> FIVE_BY_NINE</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="SIX_BY_NINE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>SIX_BY_NINE</h4>
|
||||
<pre>public static final <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> SIX_BY_NINE</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="CANCEL">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>CANCEL</h4>
|
||||
<pre>public static final <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> CANCEL</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="values--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>[] values()</pre>
|
||||
<div class="block">按照声明该枚举类型的常量的顺序, 返回
|
||||
包含这些常量的数组。该方法可用于迭代
|
||||
常量, 如下所示:
|
||||
<pre>
|
||||
for (GUIType c : GUIType.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">返回:</span></dt>
|
||||
<dd>按照声明该枚举类型的常量的顺序返回的包含这些常量的数组</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> valueOf(java.lang.String name)</pre>
|
||||
<div class="block">返回带有指定名称的该类型的枚举常量。
|
||||
字符串必须与用于声明该类型的枚举常量的
|
||||
标识符<i>完全</i>匹配。(不允许有多余
|
||||
的空格字符。)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>name</code> - 要返回的枚举常量的名称。</dd>
|
||||
<dt><span class="returnLabel">返回:</span></dt>
|
||||
<dd>返回带有指定名称的枚举常量</dd>
|
||||
<dt><span class="throwsLabel">抛出:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - 如果该枚举类型没有带有指定名称的常量</dd>
|
||||
<dd><code>java.lang.NullPointerException</code> - 如果参数为空值</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getLines--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getLines</h4>
|
||||
<pre>public int getLines()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getSize--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSize</h4>
|
||||
<pre>public int getSize()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getBySize-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBySize</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> getBySize(int size)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getByLines-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getByLines</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> getByLines(int lines)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getByName-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getByName</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull <a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> getByName(java.lang.String name)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIType.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/GUIType.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIType.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#enum.constant.summary">枚举常量</a> | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#enum.constant.detail">枚举常量</a> | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,279 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.gui.GUI的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.gui.GUI\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUI.html" target="_top">框架</a></li>
|
||||
<li><a href="GUI.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.gui.GUI" class="title">类的使用<br>cc.carm.lib.easyplugin.gui.GUI</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui">cc.carm.lib.easyplugin.gui</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.configuration">cc.carm.lib.easyplugin.gui.configuration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.paged">cc.carm.lib.easyplugin.gui.paged</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>声明为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIListener.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#currentGUI">currentGUI</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIListener.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#getCurrentGUI--">getCurrentGUI</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getOpenedGUI-org.bukkit.entity.Player-">getOpenedGUI</a></span>(org.bukkit.entity.Player player)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回变量类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的类型的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static java.util.Map<java.util.UUID,<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getOpenedGUIs--">getOpenedGUIs</a></span>()</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setOpenedGUI-org.bukkit.entity.Player-cc.carm.lib.easyplugin.gui.GUI-">setOpenedGUI</a></span>(org.bukkit.entity.Player player,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表构造器和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html#GUIListener-cc.carm.lib.easyplugin.gui.GUI-">GUIListener</a></span>(<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.configuration">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#setupItems-org.bukkit.entity.Player-cc.carm.lib.easyplugin.gui.GUI-">setupItems</a></span>(org.bukkit.entity.Player player,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIItemConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html#setupItems-org.bukkit.entity.Player-cc.carm.lib.easyplugin.gui.GUI-">setupItems</a></span>(org.bukkit.entity.Player player,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.paged">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">cc.carm.lib.easyplugin.gui.paged</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表子类和解释">
|
||||
<caption><span><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">cc.carm.lib.easyplugin.gui.paged</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a>的子类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/AutoPagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类">AutoPagedGUI</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/CommonPagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类">CommonPagedGUI</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/PagedGUI.html" title="cc.carm.lib.easyplugin.gui.paged中的类">PagedGUI</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUI.html" target="_top">框架</a></li>
|
||||
<li><a href="GUI.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,226 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUIItem.GUIClickAction.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItem.GUIClickAction.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction" class="title">类的使用<br>cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui">cc.carm.lib.easyplugin.gui</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.configuration">cc.carm.lib.easyplugin.gui.configuration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>类型参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected java.util.Set<<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIItem.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#actions">actions</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected java.util.Set<<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIItem.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#actionsIgnoreActive">actionsIgnoreActive</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回变量类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>的类型的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.util.Set<<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIItem.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#getActions--">getActions</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>java.util.Set<<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIItem.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#getActionsIgnoreActive--">getActionsIgnoreActive</a></span>()</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIItem.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#addActionIgnoreActive-cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction-">addActionIgnoreActive</a></span>(<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a> action)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIItem.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html#addClickAction-cc.carm.lib.easyplugin.gui.GUIItem.GUIClickAction-">addClickAction</a></span>(<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a> action)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.configuration">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#toClickAction--">toClickAction</a></span>()</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUIItem.GUIClickAction.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItem.GUIClickAction.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,265 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.gui.GUIItem的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.gui.GUIItem\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUIItem.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItem.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.gui.GUIItem" class="title">类的使用<br>cc.carm.lib.easyplugin.gui.GUIItem</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui">cc.carm.lib.easyplugin.gui</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.paged">cc.carm.lib.easyplugin.gui.paged</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>类型参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected java.util.SortedMap<java.lang.Integer,<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#items">items</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getItem-int-">getItem</a></span>(int index)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回变量类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>的类型的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.util.SortedMap<java.lang.Integer,<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getItems--">getItems</a></span>()</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setItem-cc.carm.lib.easyplugin.gui.GUIItem-int...-">setItem</a></span>(<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item,
|
||||
int... index)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setItem-int-cc.carm.lib.easyplugin.gui.GUIItem-">setItem</a></span>(int index,
|
||||
@Nullable <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#setItem-int-int-cc.carm.lib.easyplugin.gui.GUIItem-">setItem</a></span>(int row,
|
||||
int column,
|
||||
@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item)</code>
|
||||
<div class="block">设置GUI上方(箱子部分)</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.paged">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">cc.carm.lib.easyplugin.gui.paged</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>类型参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">cc.carm.lib.easyplugin.gui.paged</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected java.util.List<<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">PagedGUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/PagedGUI.html#container">container</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">cc.carm.lib.easyplugin.gui.paged</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">PagedGUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/PagedGUI.html#addItem-cc.carm.lib.easyplugin.gui.GUIItem-">addItem</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> i)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">PagedGUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/PagedGUI.html#addItem-int-cc.carm.lib.easyplugin.gui.GUIItem-">addItem</a></span>(int index,
|
||||
@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> i)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">PagedGUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/PagedGUI.html#removeItem-cc.carm.lib.easyplugin.gui.GUIItem-">removeItem</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a> item)</code>
|
||||
<div class="block">从GUI中移除一个物品</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUIItem.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItem.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,166 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.gui.GUIListener的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.gui.GUIListener\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUIListener.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIListener.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.gui.GUIListener" class="title">类的使用<br>cc.carm.lib.easyplugin.gui.GUIListener</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">GUIListener</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui">cc.carm.lib.easyplugin.gui</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">GUIListener</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>声明为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">GUIListener</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">GUIListener</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#listener">listener</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUIListener.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIListener.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,281 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.gui.GUIType的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.gui.GUIType\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUIType.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIType.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.gui.GUIType" class="title">类的使用<br>cc.carm.lib.easyplugin.gui.GUIType</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui">cc.carm.lib.easyplugin.gui</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.configuration">cc.carm.lib.easyplugin.gui.configuration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.paged">cc.carm.lib.easyplugin.gui.paged</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>声明为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#type">type</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIType.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#getByLines-int-">getByLines</a></span>(int lines)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIType.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#getByName-java.lang.String-">getByName</a></span>(java.lang.String name)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIType.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#getBySize-int-">getBySize</a></span>(int size)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUI.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#getGUIType--">getGUIType</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIType.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)</code>
|
||||
<div class="block">返回带有指定名称的该类型的枚举常量。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>[]</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIType.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html#values--">values</a></span>()</code>
|
||||
<div class="block">按照声明该枚举类型的常量的顺序, 返回
|
||||
包含这些常量的数组。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表构造器和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html#GUI-cc.carm.lib.easyplugin.gui.GUIType-java.lang.String-">GUI</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> type,
|
||||
@NotNull java.lang.String title)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.configuration">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#getGUIType--">getGUIType</a></span>()</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.paged">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">cc.carm.lib.easyplugin.gui.paged</a>中<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表构造器和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a>的<a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">cc.carm.lib.easyplugin.gui.paged</a>中的构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/AutoPagedGUI.html#AutoPagedGUI-cc.carm.lib.easyplugin.gui.GUIType-java.lang.String-int:A-">AutoPagedGUI</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> type,
|
||||
@NotNull java.lang.String title,
|
||||
int[] range)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/AutoPagedGUI.html#AutoPagedGUI-cc.carm.lib.easyplugin.gui.GUIType-java.lang.String-int-int-">AutoPagedGUI</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> type,
|
||||
@NotNull java.lang.String title,
|
||||
int a,
|
||||
int b)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/CommonPagedGUI.html#CommonPagedGUI-cc.carm.lib.easyplugin.gui.GUIType-java.lang.String-int:A-">CommonPagedGUI</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> type,
|
||||
@NotNull java.lang.String title,
|
||||
int[] range)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/CommonPagedGUI.html#CommonPagedGUI-cc.carm.lib.easyplugin.gui.GUIType-java.lang.String-int-int-">CommonPagedGUI</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> type,
|
||||
@NotNull java.lang.String title,
|
||||
int a,
|
||||
int b)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/PagedGUI.html#PagedGUI-cc.carm.lib.easyplugin.gui.GUIType-java.lang.String-">PagedGUI</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> type,
|
||||
@NotNull java.lang.String title)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/class-use/GUIType.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIType.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,517 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GUIActionConfiguration (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GUIActionConfiguration (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":9,"i8":9,"i9":9,"i10":10,"i11":10};
|
||||
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIActionConfiguration.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIActionConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.gui.configuration</div>
|
||||
<h2 title="类 GUIActionConfiguration" class="title">类 GUIActionConfiguration</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.gui.configuration.GUIActionConfiguration</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">GUIActionConfiguration</span>
|
||||
extends java.lang.Object</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
||||
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @Nullable java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#actionContent">actionContent</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#actionType">actionType</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @Nullable org.bukkit.event.inventory.ClickType</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#clickType">clickType</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#GUIActionConfiguration-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-java.lang.String-">GUIActionConfiguration</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType,
|
||||
@Nullable java.lang.String actionContent)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#checkAction-org.bukkit.entity.Player-org.bukkit.event.inventory.ClickType-">checkAction</a></span>(org.bukkit.entity.Player player,
|
||||
org.bukkit.event.inventory.ClickType type)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static @Nullable <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#deserialize-java.lang.String-">deserialize</a></span>(@Nullable java.lang.String actionString)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#executeAction-org.bukkit.entity.Player-">executeAction</a></span>(org.bukkit.entity.Player targetPlayer)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>@Nullable java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#getActionContent--">getActionContent</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#getActionType--">getActionType</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>@Nullable org.bukkit.event.inventory.ClickType</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#getClickType--">getClickType</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-">of</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType)</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-">of</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType)</code> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-java.lang.String-">of</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType,
|
||||
@Nullable java.lang.String actionContent)</code> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-java.lang.String-">of</a></span>(@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable java.lang.String actionContent)</code> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>@NotNull java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#serialize--">serialize</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#toClickAction--">toClickAction</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段详细资料</h3>
|
||||
<a name="actionType">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>actionType</h4>
|
||||
<pre>@NotNull
|
||||
protected final @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="clickType">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>clickType</h4>
|
||||
<pre>@Nullable
|
||||
protected final @Nullable org.bukkit.event.inventory.ClickType clickType</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="actionContent">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>actionContent</h4>
|
||||
<pre>@Nullable
|
||||
protected final @Nullable java.lang.String actionContent</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="GUIActionConfiguration-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>GUIActionConfiguration</h4>
|
||||
<pre>public GUIActionConfiguration(@NotNull
|
||||
@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType,
|
||||
@Nullable
|
||||
@Nullable java.lang.String actionContent)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>of</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a> of(@NotNull
|
||||
@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType,
|
||||
@Nullable
|
||||
@Nullable java.lang.String actionContent)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>of</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a> of(@NotNull
|
||||
@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable
|
||||
@Nullable java.lang.String actionContent)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>of</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a> of(@NotNull
|
||||
@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>of</h4>
|
||||
<pre>@NotNull
|
||||
public static @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a> of(@NotNull
|
||||
@NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getClickType--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getClickType</h4>
|
||||
<pre>@Nullable
|
||||
public @Nullable org.bukkit.event.inventory.ClickType getClickType()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getActionType--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getActionType</h4>
|
||||
<pre>@NotNull
|
||||
public @NotNull <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> getActionType()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getActionContent--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getActionContent</h4>
|
||||
<pre>@Nullable
|
||||
public @Nullable java.lang.String getActionContent()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="checkAction-org.bukkit.entity.Player-org.bukkit.event.inventory.ClickType-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>checkAction</h4>
|
||||
<pre>public void checkAction(org.bukkit.entity.Player player,
|
||||
org.bukkit.event.inventory.ClickType type)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="executeAction-org.bukkit.entity.Player-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>executeAction</h4>
|
||||
<pre>public void executeAction(org.bukkit.entity.Player targetPlayer)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toClickAction--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toClickAction</h4>
|
||||
<pre>public <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a> toClickAction()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="deserialize-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>deserialize</h4>
|
||||
<pre>@Nullable
|
||||
@Contract(value="null->null")
|
||||
public static @Nullable <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a> deserialize(@Nullable
|
||||
@Nullable java.lang.String actionString)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="serialize--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>serialize</h4>
|
||||
<pre>@NotNull
|
||||
public @NotNull java.lang.String serialize()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIActionConfiguration.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个类</li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIActionConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,430 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GUIActionType (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GUIActionType (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":9,"i2":9,"i3":9};
|
||||
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIActionType.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIActionType.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#enum.constant.summary">枚举常量</a> | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#enum.constant.detail">枚举常量</a> | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.gui.configuration</div>
|
||||
<h2 title="枚举 GUIActionType" class="title">枚举 GUIActionType</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Enum<<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.gui.configuration.GUIActionType</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>所有已实现的接口:</dt>
|
||||
<dd>java.io.Serializable, java.lang.Comparable<<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public enum <span class="typeNameLabel">GUIActionType</span>
|
||||
extends java.lang.Enum<<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>枚举常量概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="枚举常量概要表, 列表枚举常量和解释">
|
||||
<caption><span>枚举常量</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">枚举常量和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#CHAT">CHAT</a></span></code>
|
||||
<div class="block">以玩家聊天的形式执行
|
||||
若内容以 “/" 开头,则会以玩家身份执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#CLOSE">CLOSE</a></span></code>
|
||||
<div class="block">为玩家关闭GUI。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#CONSOLE">CONSOLE</a></span></code>
|
||||
<div class="block">以后台的形式执行指令
|
||||
指令内容不需要以“/”开头。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#MESSAGE">MESSAGE</a></span></code>
|
||||
<div class="block">向玩家发送消息。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#SOUND">SOUND</a></span></code>
|
||||
<div class="block">向玩家发送声音。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>java.util.function.BiConsumer<org.bukkit.entity.Player,java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#getExecutor--">getExecutor</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#readActionType-java.lang.String-">readActionType</a></span>(java.lang.String string)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)</code>
|
||||
<div class="block">返回带有指定名称的该类型的枚举常量。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#values--">values</a></span>()</code>
|
||||
<div class="block">按照声明该枚举类型的常量的顺序, 返回
|
||||
包含这些常量的数组。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Enum</h3>
|
||||
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>枚举常量详细资料</h3>
|
||||
<a name="CHAT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>CHAT</h4>
|
||||
<pre>public static final <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> CHAT</pre>
|
||||
<div class="block">以玩家聊天的形式执行
|
||||
若内容以 “/" 开头,则会以玩家身份执行命令。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="CONSOLE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>CONSOLE</h4>
|
||||
<pre>public static final <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> CONSOLE</pre>
|
||||
<div class="block">以后台的形式执行指令
|
||||
指令内容不需要以“/”开头。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="MESSAGE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>MESSAGE</h4>
|
||||
<pre>public static final <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> MESSAGE</pre>
|
||||
<div class="block">向玩家发送消息。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="SOUND">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>SOUND</h4>
|
||||
<pre>public static final <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> SOUND</pre>
|
||||
<div class="block">向玩家发送声音。
|
||||
允许配置音量与音调
|
||||
<ul>
|
||||
<li>SOUND_NAME</li>
|
||||
<li>SOUND_NAME:VOLUME</li>
|
||||
<li>SOUND_NAME:VOLUME:PITCH</li>
|
||||
</ul></div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="CLOSE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>CLOSE</h4>
|
||||
<pre>public static final <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> CLOSE</pre>
|
||||
<div class="block">为玩家关闭GUI。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="values--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>[] values()</pre>
|
||||
<div class="block">按照声明该枚举类型的常量的顺序, 返回
|
||||
包含这些常量的数组。该方法可用于迭代
|
||||
常量, 如下所示:
|
||||
<pre>
|
||||
for (GUIActionType c : GUIActionType.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">返回:</span></dt>
|
||||
<dd>按照声明该枚举类型的常量的顺序返回的包含这些常量的数组</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> valueOf(java.lang.String name)</pre>
|
||||
<div class="block">返回带有指定名称的该类型的枚举常量。
|
||||
字符串必须与用于声明该类型的枚举常量的
|
||||
标识符<i>完全</i>匹配。(不允许有多余
|
||||
的空格字符。)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">参数:</span></dt>
|
||||
<dd><code>name</code> - 要返回的枚举常量的名称。</dd>
|
||||
<dt><span class="returnLabel">返回:</span></dt>
|
||||
<dd>返回带有指定名称的枚举常量</dd>
|
||||
<dt><span class="throwsLabel">抛出:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - 如果该枚举类型没有带有指定名称的常量</dd>
|
||||
<dd><code>java.lang.NullPointerException</code> - 如果参数为空值</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getExecutor--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getExecutor</h4>
|
||||
<pre>public java.util.function.BiConsumer<org.bukkit.entity.Player,java.lang.String> getExecutor()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readActionType-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>readActionType</h4>
|
||||
<pre>public static <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> readActionType(java.lang.String string)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIActionType.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIActionType.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#enum.constant.summary">枚举常量</a> | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#enum.constant.detail">枚举常量</a> | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,461 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GUIConfiguration (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GUIConfiguration (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":10,"i8":10};
|
||||
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIConfiguration.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.gui.configuration</div>
|
||||
<h2 title="类 GUIConfiguration" class="title">类 GUIConfiguration</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.gui.configuration.GUIConfiguration</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">GUIConfiguration</span>
|
||||
extends java.lang.Object</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
|
||||
<caption><span>字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#guiItems">guiItems</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#lines">lines</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#title">title</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#GUIConfiguration-java.lang.String-int-">GUIConfiguration</a></span>(java.lang.String title,
|
||||
int lines)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#GUIConfiguration-java.lang.String-int-java.util.Map-">GUIConfiguration</a></span>(java.lang.String title,
|
||||
int lines,
|
||||
java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>> guiItems)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#getGUIItems--">getGUIItems</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#getGUIType--">getGUIType</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#getLines--">getLines</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#getTitle--">getTitle</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static org.bukkit.event.inventory.ClickType</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#readClickType-java.lang.String-">readClickType</a></span>(java.lang.String type)</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIConfiguration</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#readConfiguration-org.bukkit.configuration.ConfigurationSection-">readConfiguration</a></span>(@Nullable org.bukkit.configuration.ConfigurationSection section)</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#readItems-org.bukkit.configuration.ConfigurationSection-">readItems</a></span>(org.bukkit.configuration.ConfigurationSection itemsSection)</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>@NotNull java.util.Map<java.lang.String,java.lang.Object></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#serialize--">serialize</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#setupItems-org.bukkit.entity.Player-cc.carm.lib.easyplugin.gui.GUI-">setupItems</a></span>(org.bukkit.entity.Player player,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>字段详细资料</h3>
|
||||
<a name="title">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>title</h4>
|
||||
<pre>protected java.lang.String title</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="lines">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>lines</h4>
|
||||
<pre>protected int lines</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="guiItems">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>guiItems</h4>
|
||||
<pre>protected java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>> guiItems</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="GUIConfiguration-java.lang.String-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>GUIConfiguration</h4>
|
||||
<pre>public GUIConfiguration(java.lang.String title,
|
||||
int lines)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="GUIConfiguration-java.lang.String-int-java.util.Map-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>GUIConfiguration</h4>
|
||||
<pre>public GUIConfiguration(java.lang.String title,
|
||||
int lines,
|
||||
java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>> guiItems)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="getTitle--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getTitle</h4>
|
||||
<pre>public java.lang.String getTitle()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getLines--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getLines</h4>
|
||||
<pre>public int getLines()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getGUIType--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getGUIType</h4>
|
||||
<pre>public <a href="../../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a> getGUIType()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getGUIItems--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getGUIItems</h4>
|
||||
<pre>public java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>> getGUIItems()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setupItems-org.bukkit.entity.Player-cc.carm.lib.easyplugin.gui.GUI-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setupItems</h4>
|
||||
<pre>public void setupItems(org.bukkit.entity.Player player,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="serialize--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>serialize</h4>
|
||||
<pre>@NotNull
|
||||
public @NotNull java.util.Map<java.lang.String,java.lang.Object> serialize()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readConfiguration-org.bukkit.configuration.ConfigurationSection-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>readConfiguration</h4>
|
||||
<pre>public static <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIConfiguration</a> readConfiguration(@Nullable
|
||||
@Nullable org.bukkit.configuration.ConfigurationSection section)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readItems-org.bukkit.configuration.ConfigurationSection-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>readItems</h4>
|
||||
<pre>public static java.util.Map<java.lang.String,<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>> readItems(org.bukkit.configuration.ConfigurationSection itemsSection)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readClickType-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>readClickType</h4>
|
||||
<pre>public static org.bukkit.event.inventory.ClickType readClickType(java.lang.String type)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIConfiguration.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">下一个类</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li><a href="#field.summary">字段</a> | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li><a href="#field.detail">字段</a> | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,353 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:01 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GUIItemConfiguration (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="GUIItemConfiguration (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":10,"i2":10};
|
||||
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIItemConfiguration.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItemConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">cc.carm.lib.easyplugin.gui.configuration</div>
|
||||
<h2 title="类 GUIItemConfiguration" class="title">类 GUIItemConfiguration</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>cc.carm.lib.easyplugin.gui.configuration.GUIItemConfiguration</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">GUIItemConfiguration</span>
|
||||
extends java.lang.Object</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
||||
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html#GUIItemConfiguration-org.bukkit.inventory.ItemStack-org.bukkit.Material-int-int-java.lang.String-java.util.List-java.util.List-java.util.List-">GUIItemConfiguration</a></span>(@Nullable org.bukkit.inventory.ItemStack original,
|
||||
@NotNull org.bukkit.Material type,
|
||||
int amount,
|
||||
int data,
|
||||
@Nullable java.lang.String name,
|
||||
@NotNull java.util.List<java.lang.String> lore,
|
||||
@NotNull java.util.List<<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a>> actions,
|
||||
@NotNull java.util.List<java.lang.Integer> slots)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html#GUIItemConfiguration-org.bukkit.Material-int-int-java.lang.String-java.util.List-java.util.List-java.util.List-">GUIItemConfiguration</a></span>(@NotNull org.bukkit.Material type,
|
||||
int amount,
|
||||
int data,
|
||||
@Nullable java.lang.String name,
|
||||
@NotNull java.util.List<java.lang.String> lore,
|
||||
@NotNull java.util.List<<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a>> actions,
|
||||
@NotNull java.util.List<java.lang.Integer> slots)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法概要</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
||||
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static @Nullable <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html#readFrom-org.bukkit.configuration.ConfigurationSection-">readFrom</a></span>(@Nullable org.bukkit.configuration.ConfigurationSection itemSection)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>@NotNull java.util.Map<java.lang.String,java.lang.Object></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html#serialize--">serialize</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html#setupItems-org.bukkit.entity.Player-cc.carm.lib.easyplugin.gui.GUI-">setupItems</a></span>(org.bukkit.entity.Player player,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>从类继承的方法 java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>构造器详细资料</h3>
|
||||
<a name="GUIItemConfiguration-org.bukkit.Material-int-int-java.lang.String-java.util.List-java.util.List-java.util.List-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>GUIItemConfiguration</h4>
|
||||
<pre>public GUIItemConfiguration(@NotNull
|
||||
@NotNull org.bukkit.Material type,
|
||||
int amount,
|
||||
int data,
|
||||
@Nullable
|
||||
@Nullable java.lang.String name,
|
||||
@NotNull
|
||||
@NotNull java.util.List<java.lang.String> lore,
|
||||
@NotNull
|
||||
@NotNull java.util.List<<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a>> actions,
|
||||
@NotNull
|
||||
@NotNull java.util.List<java.lang.Integer> slots)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="GUIItemConfiguration-org.bukkit.inventory.ItemStack-org.bukkit.Material-int-int-java.lang.String-java.util.List-java.util.List-java.util.List-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>GUIItemConfiguration</h4>
|
||||
<pre>public GUIItemConfiguration(@Nullable
|
||||
@Nullable org.bukkit.inventory.ItemStack original,
|
||||
@NotNull
|
||||
@NotNull org.bukkit.Material type,
|
||||
int amount,
|
||||
int data,
|
||||
@Nullable
|
||||
@Nullable java.lang.String name,
|
||||
@NotNull
|
||||
@NotNull java.util.List<java.lang.String> lore,
|
||||
@NotNull
|
||||
@NotNull java.util.List<<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a>> actions,
|
||||
@NotNull
|
||||
@NotNull java.util.List<java.lang.Integer> slots)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>方法详细资料</h3>
|
||||
<a name="setupItems-org.bukkit.entity.Player-cc.carm.lib.easyplugin.gui.GUI-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setupItems</h4>
|
||||
<pre>public void setupItems(org.bukkit.entity.Player player,
|
||||
<a href="../../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a> gui)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="serialize--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>serialize</h4>
|
||||
<pre>@NotNull
|
||||
public @NotNull java.util.Map<java.lang.String,java.lang.Object> serialize()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readFrom-org.bukkit.configuration.ConfigurationSection-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>readFrom</h4>
|
||||
<pre>@Nullable
|
||||
public static @Nullable <a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a> readFrom(@Nullable
|
||||
@Nullable org.bukkit.configuration.ConfigurationSection itemSection)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li class="navBarCell1Rev">类</li>
|
||||
<li><a href="class-use/GUIItemConfiguration.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">上一个类</span></a></li>
|
||||
<li>下一个类</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItemConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>概要: </li>
|
||||
<li>嵌套 | </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.summary">构造器</a> | </li>
|
||||
<li><a href="#method.summary">方法</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>详细资料: </li>
|
||||
<li>字段 | </li>
|
||||
<li><a href="#constructor.detail">构造器</a> | </li>
|
||||
<li><a href="#method.detail">方法</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,186 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.gui.configuration.GUIActionConfiguration的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.gui.configuration.GUIActionConfiguration\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/class-use/GUIActionConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIActionConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.gui.configuration.GUIActionConfiguration" class="title">类的使用<br>cc.carm.lib.easyplugin.gui.configuration.GUIActionConfiguration</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.configuration">cc.carm.lib.easyplugin.gui.configuration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.configuration">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static @Nullable <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#deserialize-java.lang.String-">deserialize</a></span>(@Nullable java.lang.String actionString)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-">of</a></span>(@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-">of</a></span>(@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-java.lang.String-">of</a></span>(@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType,
|
||||
@Nullable java.lang.String actionContent)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-java.lang.String-">of</a></span>(@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable java.lang.String actionContent)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/class-use/GUIActionConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIActionConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,238 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.gui.configuration.GUIActionType的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.gui.configuration.GUIActionType\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/class-use/GUIActionType.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIActionType.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.gui.configuration.GUIActionType" class="title">类的使用<br>cc.carm.lib.easyplugin.gui.configuration.GUIActionType</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.configuration">cc.carm.lib.easyplugin.gui.configuration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.configuration">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>声明为<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected @NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#actionType">actionType</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#getActionType--">getActionType</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionType.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#readActionType-java.lang.String-">readActionType</a></span>(java.lang.String string)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionType.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)</code>
|
||||
<div class="block">返回带有指定名称的该类型的枚举常量。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>[]</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionType.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html#values--">values</a></span>()</code>
|
||||
<div class="block">按照声明该枚举类型的常量的顺序, 返回
|
||||
包含这些常量的数组。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-">of</a></span>(@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-">of</a></span>(@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-java.lang.String-">of</a></span>(@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType,
|
||||
@Nullable java.lang.String actionContent)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static @NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIActionConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#of-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-java.lang.String-">of</a></span>(@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable java.lang.String actionContent)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表构造器和解释">
|
||||
<caption><span>参数类型为<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的构造器</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html#GUIActionConfiguration-cc.carm.lib.easyplugin.gui.configuration.GUIActionType-org.bukkit.event.inventory.ClickType-java.lang.String-">GUIActionConfiguration</a></span>(@NotNull <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a> actionType,
|
||||
@Nullable org.bukkit.event.inventory.ClickType clickType,
|
||||
@Nullable java.lang.String actionContent)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/class-use/GUIActionType.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIActionType.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,166 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.gui.configuration.GUIConfiguration的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.gui.configuration.GUIConfiguration\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/class-use/GUIConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.gui.configuration.GUIConfiguration" class="title">类的使用<br>cc.carm.lib.easyplugin.gui.configuration.GUIConfiguration</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIConfiguration</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.configuration">cc.carm.lib.easyplugin.gui.configuration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.configuration">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIConfiguration</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIConfiguration</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#readConfiguration-org.bukkit.configuration.ConfigurationSection-">readConfiguration</a></span>(@Nullable org.bukkit.configuration.ConfigurationSection section)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/class-use/GUIConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,209 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>类 cc.carm.lib.easyplugin.gui.configuration.GUIItemConfiguration的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7C7B cc.carm.lib.easyplugin.gui.configuration.GUIItemConfiguration\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/class-use/GUIItemConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItemConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="类的使用 cc.carm.lib.easyplugin.gui.configuration.GUIItemConfiguration" class="title">类的使用<br>cc.carm.lib.easyplugin.gui.configuration.GUIItemConfiguration</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.configuration">cc.carm.lib.easyplugin.gui.configuration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.configuration">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>的使用</h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表字段和解释">
|
||||
<caption><span>类型参数类型为<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的字段</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">字段和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected java.util.Map<java.lang.String,<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#guiItems">guiItems</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static @Nullable <a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIItemConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html#readFrom-org.bukkit.configuration.ConfigurationSection-">readFrom</a></span>(@Nullable org.bukkit.configuration.ConfigurationSection itemSection)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表方法和解释">
|
||||
<caption><span>返回变量类型为<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>的类型的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的方法</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">限定符和类型</th>
|
||||
<th class="colLast" scope="col">方法和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.util.Map<java.lang.String,<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#getGUIItems--">getGUIItems</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static java.util.Map<java.lang.String,<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">GUIConfiguration.</span><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#readItems-org.bukkit.configuration.ConfigurationSection-">readItems</a></span>(org.bukkit.configuration.ConfigurationSection itemsSection)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表构造器和解释">
|
||||
<caption><span>类型变量类型为<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>的<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的构造器参数</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">构造器和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html#GUIConfiguration-java.lang.String-int-java.util.Map-">GUIConfiguration</a></span>(java.lang.String title,
|
||||
int lines,
|
||||
java.util.Map<java.lang.String,<a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a>> guiItems)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="../package-summary.html">程序包</a></li>
|
||||
<li><a href="../../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">类</a></li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="../package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/class-use/GUIItemConfiguration.html" target="_top">框架</a></li>
|
||||
<li><a href="GUIItemConfiguration.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.gui.configuration (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html" target="classFrame">cc.carm.lib.easyplugin.gui.configuration</a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="类">类</h2>
|
||||
<ul title="类">
|
||||
<li><a href="GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类" target="classFrame">GUIActionConfiguration</a></li>
|
||||
<li><a href="GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类" target="classFrame">GUIConfiguration</a></li>
|
||||
<li><a href="GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类" target="classFrame">GUIItemConfiguration</a></li>
|
||||
</ul>
|
||||
<h2 title="枚举">枚举</h2>
|
||||
<ul title="枚举">
|
||||
<li><a href="GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举" target="classFrame">GUIActionType</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,167 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.gui.configuration (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="cc.carm.lib.easyplugin.gui.configuration (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li class="navBarCell1Rev">程序包</li>
|
||||
<li>类</li>
|
||||
<li><a href="package-use.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">上一个程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">下一个程序包</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/package-summary.html" target="_top">框架</a></li>
|
||||
<li><a href="package-summary.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包" class="title">程序包 cc.carm.lib.easyplugin.gui.configuration</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="类概要表, 列表类和解释">
|
||||
<caption><span>类概要</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">类</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIActionConfiguration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIConfiguration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类">GUIItemConfiguration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="枚举概要表, 列表枚举和解释">
|
||||
<caption><span>枚举概要</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">枚举</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举">GUIActionType</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li class="navBarCell1Rev">程序包</li>
|
||||
<li>类</li>
|
||||
<li><a href="package-use.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">上一个程序包</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">下一个程序包</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/package-summary.html" target="_top">框架</a></li>
|
||||
<li><a href="package-summary.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,153 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.gui.configuration 类分层结构 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="cc.carm.lib.easyplugin.gui.configuration \u7C7B\u5206\u5C42\u7ED3\u6784 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li>使用</li>
|
||||
<li class="navBarCell1Rev">树</li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-tree.html">上一个</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-tree.html">下一个</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/package-tree.html" target="_top">框架</a></li>
|
||||
<li><a href="package-tree.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">程序包cc.carm.lib.easyplugin.gui.configuration的分层结构</h1>
|
||||
<span class="packageHierarchyLabel">程序包分层结构:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="../../../../../../overview-tree.html">所有程序包</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="类分层结构">类分层结构</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">cc.carm.lib.easyplugin.gui.configuration.<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">GUIActionConfiguration</span></a></li>
|
||||
<li type="circle">cc.carm.lib.easyplugin.gui.configuration.<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">GUIConfiguration</span></a></li>
|
||||
<li type="circle">cc.carm.lib.easyplugin.gui.configuration.<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIItemConfiguration.html" title="cc.carm.lib.easyplugin.gui.configuration中的类"><span class="typeNameLink">GUIItemConfiguration</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 title="枚举分层结构">枚举分层结构</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">cc.carm.lib.easyplugin.gui.configuration.<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/GUIActionType.html" title="cc.carm.lib.easyplugin.gui.configuration中的枚举"><span class="typeNameLink">GUIActionType</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li>使用</li>
|
||||
<li class="navBarCell1Rev">树</li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/package-tree.html">上一个</a></li>
|
||||
<li><a href="../../../../../../cc/carm/lib/easyplugin/gui/paged/package-tree.html">下一个</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/package-tree.html" target="_top">框架</a></li>
|
||||
<li><a href="package-tree.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,168 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>程序包 cc.carm.lib.easyplugin.gui.configuration的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7A0B\u5E8F\u5305 cc.carm.lib.easyplugin.gui.configuration\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/package-use.html" target="_top">框架</a></li>
|
||||
<li><a href="package-use.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包的使用 cc.carm.lib.easyplugin.gui.configuration" class="title">程序包的使用<br>cc.carm.lib.easyplugin.gui.configuration</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.configuration">cc.carm.lib.easyplugin.gui.configuration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.configuration">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>使用的<a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/class-use/GUIActionConfiguration.html#cc.carm.lib.easyplugin.gui.configuration">GUIActionConfiguration</a> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/class-use/GUIActionType.html#cc.carm.lib.easyplugin.gui.configuration">GUIActionType</a> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/class-use/GUIConfiguration.html#cc.carm.lib.easyplugin.gui.configuration">GUIConfiguration</a> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="../../../../../../cc/carm/lib/easyplugin/gui/configuration/class-use/GUIItemConfiguration.html#cc.carm.lib.easyplugin.gui.configuration">GUIItemConfiguration</a> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?cc/carm/lib/easyplugin/gui/configuration/package-use.html" target="_top">框架</a></li>
|
||||
<li><a href="package-use.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.gui (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="../../../../../cc/carm/lib/easyplugin/gui/package-summary.html" target="classFrame">cc.carm.lib.easyplugin.gui</a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="类">类</h2>
|
||||
<ul title="类">
|
||||
<li><a href="GUI.html" title="cc.carm.lib.easyplugin.gui中的类" target="classFrame">GUI</a></li>
|
||||
<li><a href="GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类" target="classFrame">GUIItem</a></li>
|
||||
<li><a href="GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类" target="classFrame">GUIItem.GUIClickAction</a></li>
|
||||
<li><a href="GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类" target="classFrame">GUIListener</a></li>
|
||||
</ul>
|
||||
<h2 title="枚举">枚举</h2>
|
||||
<ul title="枚举">
|
||||
<li><a href="GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举" target="classFrame">GUIType</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,171 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.gui (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="cc.carm.lib.easyplugin.gui (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li class="navBarCell1Rev">程序包</li>
|
||||
<li>类</li>
|
||||
<li><a href="package-use.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">上一个程序包</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">下一个程序包</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/package-summary.html" target="_top">框架</a></li>
|
||||
<li><a href="package-summary.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包" class="title">程序包 cc.carm.lib.easyplugin.gui</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="类概要表, 列表类和解释">
|
||||
<caption><span>类概要</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">类</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类">GUI</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类">GUIItem.GUIClickAction</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类">GUIListener</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="枚举概要表, 列表枚举和解释">
|
||||
<caption><span>枚举概要</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">枚举</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举">GUIType</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li class="navBarCell1Rev">程序包</li>
|
||||
<li>类</li>
|
||||
<li><a href="package-use.html">使用</a></li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/alias/package-summary.html">上一个程序包</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">下一个程序包</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/package-summary.html" target="_top">框架</a></li>
|
||||
<li><a href="package-summary.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,154 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cc.carm.lib.easyplugin.gui 类分层结构 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="cc.carm.lib.easyplugin.gui \u7C7B\u5206\u5C42\u7ED3\u6784 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li>使用</li>
|
||||
<li class="navBarCell1Rev">树</li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/alias/package-tree.html">上一个</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/configuration/package-tree.html">下一个</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/package-tree.html" target="_top">框架</a></li>
|
||||
<li><a href="package-tree.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">程序包cc.carm.lib.easyplugin.gui的分层结构</h1>
|
||||
<span class="packageHierarchyLabel">程序包分层结构:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="../../../../../overview-tree.html">所有程序包</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="类分层结构">类分层结构</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">cc.carm.lib.easyplugin.gui.<a href="../../../../../cc/carm/lib/easyplugin/gui/GUI.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">GUI</span></a></li>
|
||||
<li type="circle">cc.carm.lib.easyplugin.gui.<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">GUIItem</span></a></li>
|
||||
<li type="circle">cc.carm.lib.easyplugin.gui.<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIItem.GUIClickAction.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">GUIItem.GUIClickAction</span></a></li>
|
||||
<li type="circle">cc.carm.lib.easyplugin.gui.<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIListener.html" title="cc.carm.lib.easyplugin.gui中的类"><span class="typeNameLink">GUIListener</span></a> (implements org.bukkit.event.Listener)</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 title="枚举分层结构">枚举分层结构</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">cc.carm.lib.easyplugin.gui.<a href="../../../../../cc/carm/lib/easyplugin/gui/GUIType.html" title="cc.carm.lib.easyplugin.gui中的枚举"><span class="typeNameLink">GUIType</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li>使用</li>
|
||||
<li class="navBarCell1Rev">树</li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/command/alias/package-tree.html">上一个</a></li>
|
||||
<li><a href="../../../../../cc/carm/lib/easyplugin/gui/configuration/package-tree.html">下一个</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/package-tree.html" target="_top">框架</a></li>
|
||||
<li><a href="package-tree.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,221 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_452) on Mon Jun 09 15:49:02 UTC 2025 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>程序包 cc.carm.lib.easyplugin.gui的使用 (EasyPlugin 1.5.14 API)</title>
|
||||
<meta name="date" content="2025-06-09">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="\u7A0B\u5E8F\u5305 cc.carm.lib.easyplugin.gui\u7684\u4F7F\u7528 (EasyPlugin 1.5.14 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>您的浏览器已禁用 JavaScript。</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/package-use.html" target="_top">框架</a></li>
|
||||
<li><a href="package-use.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="程序包的使用 cc.carm.lib.easyplugin.gui" class="title">程序包的使用<br>cc.carm.lib.easyplugin.gui</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表程序包和解释">
|
||||
<caption><span>使用<a href="../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>的程序包</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">程序包</th>
|
||||
<th class="colLast" scope="col">说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui">cc.carm.lib.easyplugin.gui</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.configuration">cc.carm.lib.easyplugin.gui.configuration</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#cc.carm.lib.easyplugin.gui.paged">cc.carm.lib.easyplugin.gui.paged</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span><a href="../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>使用的<a href="../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUI.html#cc.carm.lib.easyplugin.gui">GUI</a> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUIItem.html#cc.carm.lib.easyplugin.gui">GUIItem</a> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUIItem.GUIClickAction.html#cc.carm.lib.easyplugin.gui">GUIItem.GUIClickAction</a> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUIListener.html#cc.carm.lib.easyplugin.gui">GUIListener</a> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUIType.html#cc.carm.lib.easyplugin.gui">GUIType</a> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.configuration">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span><a href="../../../../../cc/carm/lib/easyplugin/gui/configuration/package-summary.html">cc.carm.lib.easyplugin.gui.configuration</a>使用的<a href="../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUI.html#cc.carm.lib.easyplugin.gui.configuration">GUI</a> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUIItem.GUIClickAction.html#cc.carm.lib.easyplugin.gui.configuration">GUIItem.GUIClickAction</a> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUIType.html#cc.carm.lib.easyplugin.gui.configuration">GUIType</a> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="cc.carm.lib.easyplugin.gui.paged">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="使用表, 列表类和解释">
|
||||
<caption><span><a href="../../../../../cc/carm/lib/easyplugin/gui/paged/package-summary.html">cc.carm.lib.easyplugin.gui.paged</a>使用的<a href="../../../../../cc/carm/lib/easyplugin/gui/package-summary.html">cc.carm.lib.easyplugin.gui</a>中的类</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">类和说明</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUI.html#cc.carm.lib.easyplugin.gui.paged">GUI</a> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUIItem.html#cc.carm.lib.easyplugin.gui.paged">GUIItem</a> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../../cc/carm/lib/easyplugin/gui/class-use/GUIType.html#cc.carm.lib.easyplugin.gui.paged">GUIType</a> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="导航">
|
||||
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
||||
<li><a href="package-summary.html">程序包</a></li>
|
||||
<li>类</li>
|
||||
<li class="navBarCell1Rev">使用</li>
|
||||
<li><a href="package-tree.html">树</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
||||
<li><a href="../../../../../index-all.html">索引</a></li>
|
||||
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>上一个</li>
|
||||
<li>下一个</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?cc/carm/lib/easyplugin/gui/package-use.html" target="_top">框架</a></li>
|
||||
<li><a href="package-use.html" target="_top">无框架</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2025. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user