Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.bindings
Class Trigger


java.lang.Object
  extended by 
org.eclipse.jface.bindings.Trigger
All Implemented Interfaces:
Comparable
Direct Known Subclasses:
KeyStroke

public abstract class Trigger
extends Object
implements Comparable

The abstract class for any object that can be used as a trigger for a binding. This ensures that trigger conform to certain minimum requirements. Namely, triggers need to be hashable.

Since:
3.1

Constructor Summary
Trigger ()
           
 
Method Summary
abstract  boolean equals ( Object object)
          Tests whether this object is equal to another object.
abstract  int hashCode ()
          Computes the hash code for this object.
 
Methods inherited from class java.lang. Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang. Comparable
compareTo
 

Constructor Detail

Trigger

public Trigger()
Method Detail

equals

public abstract boolean equals(
Object object)
Tests whether this object is equal to another object. A handle object is only equal to another trigger with the same properties.

Overrides:
equals in class Object
Parameters:
object - The object with which to compare; may be null.
Returns:
true if the objects are equal; false otherwise.

hashCode

public abstract int hashCode()
Computes the hash code for this object.

Overrides:
hashCode in class Object
Returns:
The hash code for this object.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire