Class QuasimodeTool.ModifierKeySpec
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.HashSet<Integer>
-
- com.vividsolutions.jump.workbench.ui.cursortool.QuasimodeTool.ModifierKeySpec
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Integer>,Collection<Integer>,Set<Integer>
- Direct Known Subclasses:
QuasimodeTool.ModifierKeySet
- Enclosing class:
- QuasimodeTool
public static class QuasimodeTool.ModifierKeySpec extends HashSet<Integer>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QuasimodeTool.ModifierKeySpecDEFAULT
-
Constructor Summary
Constructors Constructor Description ModifierKeySpec(boolean needsControl, boolean needsShift, boolean needsAltOrMeta)ModifierKeySpec(int[] keys)ModifierKeySpec(Collection<Integer> keys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Integer e)protected voidaddAllRaw(Collection<Integer> c)booleanequals(Object obj)KeyStroketoKeyStroke()StringtoString()-
Methods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, iterator, remove, size, spliterator
-
Methods inherited from class java.util.AbstractSet
hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Field Detail
-
DEFAULT
public static final QuasimodeTool.ModifierKeySpec DEFAULT
-
-
Constructor Detail
-
ModifierKeySpec
public ModifierKeySpec(int[] keys)
-
ModifierKeySpec
public ModifierKeySpec(Collection<Integer> keys)
-
ModifierKeySpec
public ModifierKeySpec(boolean needsControl, boolean needsShift, boolean needsAltOrMeta)
-
-
Method Detail
-
add
public boolean add(Integer e)
-
addAllRaw
protected void addAllRaw(Collection<Integer> c)
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceCollection<Integer>- Specified by:
equalsin interfaceSet<Integer>- Overrides:
equalsin classAbstractSet<Integer>
-
toKeyStroke
public KeyStroke toKeyStroke()
-
toString
public String toString()
- Overrides:
toStringin classAbstractCollection<Integer>
-
-