inputbox.java

来自「一个简单的visio程序。」· Java 代码 · 共 43 行

JAVA
43
字号
package HPCore.stdstmt;

import HPCore.Exception.*;
import HECore.stddata.*;
import HPCore.stdfunc.inb;

public class InputBox
{
	public static void InputBox(String prompt) throws HpException
   {
      inb.InputBox(prompt);
   }

   public static void InputBox(String prompt,String title) throws HpException
   {
      inb.InputBox(prompt,title);
   }

   public static void InputBox(String prompt,String title,String defval) throws HpException
   {
      inb.InputBox(prompt,title,defval);
   }

  	public static void InputBox(String prompt,String title,String defval,short xpos) throws HpException
   {
      inb.InputBox(prompt,title,defval,xpos);
   }

   public static void InputBox(String prompt,String title,String defval,short xpos,short ypos) throws HpException
   {
      inb.InputBox(prompt,title,defval,xpos,ypos);
   }

   public static void InputBox(String prompt,String title,String defval,short xpos,short ypos,String help) throws HpException
   {
      throw new HpException(5,"Invalid procedure call");
   }

   public static void InputBox(String prompt,String title,String defval,short xpos,short ypos,String help,short cont) throws HpException
   {
      inb.InputBox(prompt,title,defval,xpos,ypos,help,cont);
   }
}

⌨️ 快捷键说明

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