org.solovyev.android.keyboard
Class AKeyboardControllerStateImpl<K extends AKeyboard>

java.lang.Object
  extended by org.solovyev.android.keyboard.AKeyboardControllerStateImpl<K>
All Implemented Interfaces:
AKeyboardControllerState<K>

public class AKeyboardControllerStateImpl<K extends AKeyboard>
extends Object
implements AKeyboardControllerState<K>

User: serso Date: 11/1/12 Time: 9:32 PM


Method Summary
 AKeyboardControllerState<K> copyForNewCapsLock(boolean capsLock)
           
 AKeyboardControllerState<K> copyForNewKeyboard(K keyboard)
           
 AKeyboardControllerState<K> copyForNewShift(boolean shifted)
           
 K getKeyboard()
           
 boolean isCapsLock()
           
 boolean isCompletion()
           
 boolean isPrediction()
           
 boolean isShifted()
           
static
<K extends AKeyboard>
AKeyboardControllerState<K>
newDefaultState(K keyboard)
           
static
<K extends AKeyboard>
AKeyboardControllerState<K>
newInstance(boolean prediction, boolean completion, K keyboard)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newDefaultState

@Nonnull
public static <K extends AKeyboard> AKeyboardControllerState<K> newDefaultState(@Nonnull
                                                                                        K keyboard)

newInstance

@Nonnull
public static <K extends AKeyboard> AKeyboardControllerState<K> newInstance(boolean prediction,
                                                                                    boolean completion,
                                                                                    @Nonnull
                                                                                    K keyboard)

isShifted

public boolean isShifted()
Specified by:
isShifted in interface AKeyboardControllerState<K extends AKeyboard>

isCapsLock

public boolean isCapsLock()
Specified by:
isCapsLock in interface AKeyboardControllerState<K extends AKeyboard>

isCompletion

public boolean isCompletion()
Specified by:
isCompletion in interface AKeyboardControllerState<K extends AKeyboard>

isPrediction

public boolean isPrediction()
Specified by:
isPrediction in interface AKeyboardControllerState<K extends AKeyboard>

getKeyboard

@Nonnull
public K getKeyboard()
Specified by:
getKeyboard in interface AKeyboardControllerState<K extends AKeyboard>

copyForNewKeyboard

@Nonnull
public AKeyboardControllerState<K> copyForNewKeyboard(@Nonnull
                                                              K keyboard)
Specified by:
copyForNewKeyboard in interface AKeyboardControllerState<K extends AKeyboard>

copyForNewCapsLock

@Nonnull
public AKeyboardControllerState<K> copyForNewCapsLock(boolean capsLock)
Specified by:
copyForNewCapsLock in interface AKeyboardControllerState<K extends AKeyboard>

copyForNewShift

@Nonnull
public AKeyboardControllerState<K> copyForNewShift(boolean shifted)
Specified by:
copyForNewShift in interface AKeyboardControllerState<K extends AKeyboard>


Copyright © 2013. All Rights Reserved.