org.eclipse.swt.accessibility.AccessibleEditableTextEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.eclipse.swt.macosx.x86_64 Show documentation
Show all versions of org.eclipse.swt.macosx.x86_64 Show documentation
The osx x86_64 swt jar as available in the Eclipse 4.6 (Neon) release for OSX. It is suitable for use with jface and other dependencies available from maven central in the org.eclipse.scout.sdk.deps group. The sources is copied from swt-4.6-cocoa-macosx-x86_64.zip from http://download.eclipse.org/eclipse/downloads/drops4/R-4.6-201606061100/ and javadoc is generated from sources.
The newest version!
/*******************************************************************************
* Copyright (c) 2010, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.swt.accessibility;
import org.eclipse.swt.internal.*;
/**
* Instances of this class are sent as a result of accessibility clients
* sending AccessibleEditableText messages to an accessible object.
*
* @see AccessibleEditableTextListener
* @see AccessibleEditableTextAdapter
*
* @since 3.7
*/
public class AccessibleEditableTextEvent extends SWTEventObject {
/**
* [in] 0-based start offset of the character range to perform
* the operation on
*
* @see AccessibleEditableTextListener#copyText
* @see AccessibleEditableTextListener#cutText
* @see AccessibleEditableTextListener#pasteText
* @see AccessibleEditableTextListener#replaceText
*/
public int start;
/**
* [in] 0-based ending offset of the character range to perform
* the operation on
*
* @see AccessibleEditableTextListener#copyText
* @see AccessibleEditableTextListener#cutText
* @see AccessibleEditableTextListener#replaceText
*/
public int end;
/**
* [in] a string that will replace the specified character range
*
* @see AccessibleEditableTextListener#replaceText
*/
public String string;
/**
* [out] Set this field to {@link ACC#OK} if the operation
* was completed successfully, and null
otherwise.
*
* @see AccessibleEditableTextListener#copyText
* @see AccessibleEditableTextListener#cutText
* @see AccessibleEditableTextListener#pasteText
* @see AccessibleEditableTextListener#replaceText
*/
public String result;
static final long serialVersionUID = -5045447704486894646L;
/**
* Constructs a new instance of this class.
*
* @param source the object that fired the event
*/
public AccessibleEditableTextEvent(Object source) {
super(source);
}
/**
* Returns a string containing a concise, human-readable
* description of the receiver.
*
* @return a string representation of the event
*/
@Override
public String toString () {
return "AccessibleEditableTextEvent {" //$NON-NLS-1$
+ "start=" + start //$NON-NLS-1$
+ " end=" + end //$NON-NLS-1$
+ " string=" + string //$NON-NLS-1$
+ " result=" + result //$NON-NLS-1$
+ "}"; //$NON-NLS-1$
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy