Code example for Keyboard

Methods: setShifted

0
 
 
 
	public boolean setShifted(boolean shifted) {
    	if (this.keyboard != null) {
            if (this.keyboard.setShifted(shifted)) {
                //redraw keyboard 
                invalidateAllKeys(); 
                return true; 
            } 
            invalidateAllKeys(); 
        } 
        return false; 
	} 
 
	public boolean isShifted() { 
		 
    	if (this.keyboard != null) {
            return this.keyboard.isShifted();
        }