webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
WebCore::ControlStates Class Reference

#include <ControlStates.h>

Public Types

enum  {
  HoverState = 1, PressedState = 1 << 1, FocusState = 1 << 2, EnabledState = 1 << 3,
  CheckedState = 1 << 4, DefaultState = 1 << 5, WindowInactiveState = 1 << 6, IndeterminateState = 1 << 7,
  SpinUpState = 1 << 8, AllStates = 0xffffffff
}
 
enum  {
  HoverState = 1, PressedState = 1 << 1, FocusState = 1 << 2, EnabledState = 1 << 3,
  CheckedState = 1 << 4, DefaultState = 1 << 5, WindowInactiveState = 1 << 6, IndeterminateState = 1 << 7,
  SpinUpState = 1 << 8, AllStates = 0xffffffff
}
 
typedef unsigned States
 
typedef unsigned States
 

Public Member Functions

 ControlStates (States states)
 
 ControlStates ()
 
 ~ControlStates ()
 
States states () const
 
void setStates (States newStates)
 
bool needsRepaint () const
 
void setNeedsRepaint (bool r)
 
bool isDirty () const
 
void setDirty (bool d)
 
double timeSinceControlWasFocused () const
 
void setTimeSinceControlWasFocused (double time)
 
 ControlStates (States states)
 
 ControlStates ()
 
 ~ControlStates ()
 
States states () const
 
void setStates (States newStates)
 
bool needsRepaint () const
 
void setNeedsRepaint (bool r)
 
bool isDirty () const
 
void setDirty (bool d)
 
double timeSinceControlWasFocused () const
 
void setTimeSinceControlWasFocused (double time)
 

Member Typedef Documentation

◆ States [1/2]

◆ States [2/2]

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
HoverState 
PressedState 
FocusState 
EnabledState 
CheckedState 
DefaultState 
WindowInactiveState 
IndeterminateState 
SpinUpState 
AllStates 

◆ anonymous enum

anonymous enum
Enumerator
HoverState 
PressedState 
FocusState 
EnabledState 
CheckedState 
DefaultState 
WindowInactiveState 
IndeterminateState 
SpinUpState 
AllStates 

Constructor & Destructor Documentation

◆ ControlStates() [1/4]

WebCore::ControlStates::ControlStates ( States  states)
inline

◆ ControlStates() [2/4]

WebCore::ControlStates::ControlStates ( )
inline

◆ ~ControlStates() [1/2]

WebCore::ControlStates::~ControlStates ( )
inline

◆ ControlStates() [3/4]

WebCore::ControlStates::ControlStates ( States  states)
inline

◆ ControlStates() [4/4]

WebCore::ControlStates::ControlStates ( )
inline

◆ ~ControlStates() [2/2]

WebCore::ControlStates::~ControlStates ( )
inline

Member Function Documentation

◆ isDirty() [1/2]

bool WebCore::ControlStates::isDirty ( ) const
inline

◆ isDirty() [2/2]

bool WebCore::ControlStates::isDirty ( ) const
inline

◆ needsRepaint() [1/2]

bool WebCore::ControlStates::needsRepaint ( ) const
inline

◆ needsRepaint() [2/2]

bool WebCore::ControlStates::needsRepaint ( ) const
inline

◆ setDirty() [1/2]

void WebCore::ControlStates::setDirty ( bool  d)
inline

◆ setDirty() [2/2]

void WebCore::ControlStates::setDirty ( bool  d)
inline

◆ setNeedsRepaint() [1/2]

void WebCore::ControlStates::setNeedsRepaint ( bool  r)
inline

◆ setNeedsRepaint() [2/2]

void WebCore::ControlStates::setNeedsRepaint ( bool  r)
inline

◆ setStates() [1/2]

void WebCore::ControlStates::setStates ( States  newStates)
inline

◆ setStates() [2/2]

void WebCore::ControlStates::setStates ( States  newStates)
inline

◆ setTimeSinceControlWasFocused() [1/2]

void WebCore::ControlStates::setTimeSinceControlWasFocused ( double  time)
inline

◆ setTimeSinceControlWasFocused() [2/2]

void WebCore::ControlStates::setTimeSinceControlWasFocused ( double  time)
inline

◆ states() [1/2]

States WebCore::ControlStates::states ( ) const
inline

◆ states() [2/2]

States WebCore::ControlStates::states ( ) const
inline

◆ timeSinceControlWasFocused() [1/2]

double WebCore::ControlStates::timeSinceControlWasFocused ( ) const
inline

◆ timeSinceControlWasFocused() [2/2]

double WebCore::ControlStates::timeSinceControlWasFocused ( ) const
inline

The documentation for this class was generated from the following file: