MACROMEDIA FLEX - DEVELOPING COMPONENTS AND THEMES Manual de usuario Pagina 25

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 53
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 24
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Condential.
Managing states in views
private function handleViewActivate(): void !
{!
!setCurrentState(getCurrentViewState());!
}!
override public function getCurrentViewState(): String!
{!
!var newState: String = getPlatform() + !
!!!!(isTablet() ? "Tablet" : "Phone");!
!if (hasState(newState))!
!!return newState;!
!else!
!!return currentState;!
}!
25
Vista de pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 52 53

Comentarios a estos manuales

Sin comentarios