textfieldhitenterevent.java

来自「一个完整的XACML工程,学习XACML技术的好例子!」· Java 代码 · 共 38 行

JAVA
38
字号
/*
 * TextFieldHitEnterEvent.java
 *
 * Created on 10 March 2006, 23:12
 *
 * Christian Azzopardi
 */

package issrg.utils.xml;

import java.awt.AWTEvent;

public class TextFieldHitEnterEvent extends AWTEvent
{
    String textValue;
    int index;
    
    /** Creates a new instance of TextFieldHitEnterEvent */
    public TextFieldHitEnterEvent(Object source, int index, String textValue) 
    {
        super(source,1);
        this.index = index;
        this.textValue = textValue;
    }
    
    public String getTextValue()
    {
        return this.textValue;
    }
    
    public int getIndexValue()
    {
        return this.index;
    }
    
    
}

⌨️ 快捷键说明

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