⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multistepcontrol.java

📁 编辑视频文件
💻 JAVA
字号:
/* * File:     MultiStepControl.java * Project:  MPI Linguistic Application * Date:     02 May 2007 * * Copyright (C) 2001-2007  Max Planck Institute for Psycholinguistics * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */package mpi.eudico.client.annotator.gui.multistep;import java.util.Set;/** * MultiStepControl. Methods controlling navigation and actions * in a multiple step process (wizard). * * @author Han Sloetjes */public interface MultiStepControl {    /**     * Called when the "Next" button is clicked.     */    public void nextStep();    /**     * Called when the "Back" button is clicked.     */    public void previousStep();    /**     * Called when the "Finish" button is clicked, or "Next" on the last panel.     */    public void finish();    /**     * Called when the "Cancel" button is clicked.     */    public void cancel();    /**     * Called when the "Help" button is clicked.     */    public void showHelp();    /**     * Returns the index of the current step in a multiple step process.     *     * @return the index of the current step in a multiple step process     */    public int getCurrentStepIndex();    /**     * Returns the current step.     *     * @return the current step.     */    public StepPane getCurrentStep();    /**     * Initiates a jump to the step at the specified index.     *     * @param stepIndex the index of the step to activate     */    public void goToStep(int stepIndex);    /**     * Initiates a jump to the step identified by the specified name.     *     * @param name the identifier of the step to activate     */    public void goToStep(String name);    /**     * Each step can store objects in a HashMap for use by other steps.     *     * @param key the key     * @param value the value     */    public void putStepProperty(Object key, Object value);    /**     * Each step can retrieve objects from a HashMap, stored by other steps.     *     * @param key the key     *     * @return the objet     */    public Object getStepProperty(Object key);    /**     * Returns an enumeration of all step keys.     *     * @return an enumeration of all stored step keys     */    public Set getPropertyKeys();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -