com.android.sdklib.devices
Class State

java.lang.Object
  extended by com.android.sdklib.devices.State

public class State
extends java.lang.Object


Constructor Summary
State()
           
 
Method Summary
 State deepCopy()
          Returns a copy of the object that shares no state with it, but is initialized to equivalent values.
 boolean equals(java.lang.Object o)
           
 java.lang.String getDescription()
           
 Hardware getHardware()
           
 com.android.resources.KeyboardState getKeyState()
           
 java.lang.String getName()
           
 com.android.resources.NavigationState getNavState()
           
 com.android.resources.ScreenOrientation getOrientation()
           
 int hashCode()
           
 boolean isDefaultState()
           
 void setDefaultState(boolean defaultState)
           
 void setDescription(java.lang.String description)
           
 void setHardware(Hardware hw)
           
 void setKeyState(com.android.resources.KeyboardState keyState)
           
 void setName(java.lang.String name)
           
 void setNavState(com.android.resources.NavigationState navState)
           
 void setOrientation(com.android.resources.ScreenOrientation orientation)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

State

public State()
Method Detail

isDefaultState

public boolean isDefaultState()

setDefaultState

public void setDefaultState(boolean defaultState)

getName

@NonNull
public java.lang.String getName()

setName

public void setName(@NonNull
                    java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getOrientation

public com.android.resources.ScreenOrientation getOrientation()

setOrientation

public void setOrientation(com.android.resources.ScreenOrientation orientation)

getKeyState

public com.android.resources.KeyboardState getKeyState()

setKeyState

public void setKeyState(com.android.resources.KeyboardState keyState)

getNavState

public com.android.resources.NavigationState getNavState()

setNavState

public void setNavState(com.android.resources.NavigationState navState)

getHardware

@NonNull
public Hardware getHardware()

setHardware

public void setHardware(@NonNull
                        Hardware hw)

deepCopy

public State deepCopy()
Returns a copy of the object that shares no state with it, but is initialized to equivalent values.

Returns:
A copy of the object.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object