de.enough.polish.ui.keyboard.keys
Class ShiftKeyItem

java.lang.Object
  extended by de.enough.polish.ui.Item
      extended by de.enough.polish.ui.keyboard.KeyItem
          extended by de.enough.polish.ui.keyboard.keys.ShiftKeyItem
All Implemented Interfaces:
Animatable, UiElement

public class ShiftKeyItem
extends KeyItem

A special key item implementation to shift the keys of a keyboard

Author:
Andre

Field Summary
 
Fields inherited from class de.enough.polish.ui.keyboard.KeyItem
KEY_UNDEFINED, POSITION_INDEX, POSITION_ROW
 
Fields inherited from class de.enough.polish.ui.Item
_bbField, appearanceMode, availableHeight, availableWidth, availContentHeight, availContentWidth, background, backgroundHeight, backgroundWidth, backgroundYOffset, bgBorder, border, BUTTON, colSpan, commands, completeBackground, completeBackgroundPadding, completeBorder, contentHeight, contentWidth, contentX, contentXAdjustment, contentY, contentYAdjustment, cssSelector, defaultCommand, focusedStyle, HORIZONTAL, HYPERLINK, ignoreRepaintRequests, includeLabel, INTERACTIVE, internalHeight, internalWidth, internalX, internalY, isContentVisible, isFocused, isInlineLabel, isInvisible, isLayoutCenter, isLayoutExpand, isLayoutRight, isPressed, isShown, isStyleInitialised, itemCommandListener, itemHeight, itemWidth, label, labelStyle, landscapeStyle, layout, LAYOUT_2, LAYOUT_BOTTOM, LAYOUT_CENTER, LAYOUT_DEFAULT, LAYOUT_EXPAND, LAYOUT_LEFT, LAYOUT_NEWLINE_AFTER, LAYOUT_NEWLINE_BEFORE, LAYOUT_RIGHT, LAYOUT_SHRINK, LAYOUT_TOP, LAYOUT_VCENTER, LAYOUT_VEXPAND, LAYOUT_VSHRINK, marginBottom, marginLeft, marginRight, marginTop, maximumHeight, maximumWidth, minimumHeight, minimumWidth, NO_POSITION_SET, opacity, opacityPaintNormally, opacityRgbData, paddingBottom, paddingHorizontal, paddingLeft, paddingRight, paddingTop, paddingVertical, parent, PLAIN, portraitStyle, preferredHeight, preferredWidth, preserveViewType, relativeX, relativeY, rowSpan, screen, setView, style, TRANSPARENT, useSingleRow, VERTICAL, view, xAdjustment, yAdjustment
 
Constructor Summary
ShiftKeyItem(Keyboard keyboard, String position)
          Creates a new DeleteKeyItem instance
ShiftKeyItem(Keyboard keyboard, String position, Style style)
          Creates a new ShiftKeyItem instance
 
Method Summary
protected  void apply(boolean doubleclick)
          Applies the current key to the keyboard
 
Methods inherited from class de.enough.polish.ui.keyboard.KeyItem
createCssSelector, getCurrentKey, getFont, getIndex, getKeyboard, getRow, handlePointerReleased, initContent, paintContent, toString
 
Methods inherited from class de.enough.polish.ui.Item
addCommand, addCommand, addCommand, addCommands, addRelativeToBackgroundRegion, addRelativeToBackgroundRegion, addRelativeToContentRegion, addRepaintArea, animate, animate, containsCommand, defocus, destroy, fireEvent, focus, getAbsoluteX, getAbsoluteY, getAppearanceMode, getAttribute, getAttributes, getAvailableContentHeight, getAvailableContentWidth, getAvailableHeight, getAvailableWidth, getBackgroundHeight, getBackgroundWidth, getBackgroundX, getBackgroundY, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getContentHeight, getContentWidth, getContentX, getContentY, getDefaultCommand, getFocusedStyle, getInternalHeight, getInternalWidth, getInternalX, getInternalY, getItemAreaHeight, getItemAt, getItemCommandListener, getItemCommands, getItemHeight, getItemHeight, getItemStateListener, getItemWidth, getItemWidth, getLabel, getLabelItem, getLayout, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMinimumHeight, getMinimumWidth, getParent, getPreferredHeight, getPreferredWidth, getScreen, getStyle, getUiEventListener, getView, getView, handleCommand, handleCommand, handleGesture, handleGestureHold, handleGestureSwipeLeft, handleGestureSwipeRight, handleKeyPressed, handleKeyReleased, handleKeyRepeated, handlePointerDragged, handlePointerPressed, handlePointerTouchDown, handlePointerTouchUp, hideNotify, init, initStyle, isInContentArea, isInContentWithPaddingArea, isInItemArea, isInItemArea, isInitialized, isInteractive, isLayoutBottom, isLayoutCenter, isLayoutExpand, isLayoutLeft, isLayoutNewlineAfter, isLayoutNewlineBefore, isLayoutRight, isLayoutShrink, isLayoutTop, isLayoutVerticalCenter, isLayoutVerticalExpand, isLayoutVerticalShrink, isPresed, isVisible, notifyItemPressedEnd, notifyItemPressedStart, notifyStateChanged, notifyUnvisited, notifyVisited, onScreenSizeChanged, paint, paintBackground, paintBackgroundAndBorder, paintBorder, paintCommands, paintFilter, releaseResources, removeAttribute, removeCommand, repaint, repaint, repaintFully, requestInit, setAbsoluteY, setAppearanceMode, setAttribute, setBackground, setBorder, setContentHeight, setContentWidth, setDefaultCommand, setDefaultCommand, setInitialized, setItemCommandListener, setItemCommandListener, setItemHeight, setItemStateListener, setItemTransition, setLabel, setLayout, setParent, setParent, setPreferredSize, setStyle, setStyle, setUiEventListener, setView, setVisible, show, showCommands, showNotify, toImage, toRgbImage, updateInternalArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShiftKeyItem

public ShiftKeyItem(Keyboard keyboard,
                    String position)
Creates a new DeleteKeyItem instance

Parameters:
keyboard - the keyboard
position - the position
style - the style

ShiftKeyItem

public ShiftKeyItem(Keyboard keyboard,
                    String position,
                    Style style)
Creates a new ShiftKeyItem instance

Parameters:
keyboard - the keyboard
position - the position
style - the style
Method Detail

apply

protected void apply(boolean doubleclick)
Description copied from class: KeyItem
Applies the current key to the keyboard

Overrides:
apply in class KeyItem