MACROMEDIA FLEX - DEVELOPING COMPONENTS AND THEMES Manuale Utente Pagina 25

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 53
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 52 53

Commenti su questo manuale

Nessun commento