Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::Frame::State Class Reference

#include <Frame.h>

Inheritance diagram for VCF::Frame::State:

VCF::Object VCF::Persistable List of all members.

Public Types

enum  FrameDisplayState { fdsMaximized = 0, fdsMinimized, fdsNormal }

Public Member Functions

 State ()
void applyState (Frame *frame)
void initState (Frame *frame)
virtual void loadFromStream (InputStream *stream, const MIMEType &type=MIMEType())
 Read the object from the specified input stream.
virtual void saveToStream (OutputStream *stream, const MIMEType &type=MIMEType())
 Write the object to the specified output stream.

Protected Attributes

Rect bounds_
bool visible_
FrameDisplayState displayState_

Member Enumeration Documentation

enum VCF::Frame::State::FrameDisplayState
 

Enumerator:
fdsMaximized 
fdsMinimized 
fdsNormal 


Constructor & Destructor Documentation

VCF::Frame::State::State  ) 
 


Member Function Documentation

void VCF::Frame::State::applyState Frame frame  ) 
 

void VCF::Frame::State::initState Frame frame  ) 
 

virtual void VCF::Frame::State::loadFromStream InputStream stream,
const MIMEType type = MIMEType()
[virtual]
 

Read the object from the specified input stream.

Parameters:
InputStream 
MIMEType indicates how to read the data from the stream. For example, if the object was some sort of image object, and had an array of pixels, then the type might indicate how the data in the stream should be interpreted, such as the JPEG format ("image/jpeg"), or the PNG format ("image/png").

Implements VCF::Persistable.

virtual void VCF::Frame::State::saveToStream OutputStream stream,
const MIMEType type = MIMEType()
[virtual]
 

Write the object to the specified output stream.

Parameters:
OutputStream 
MIMEType indicates how the object should write it's data. For example, if the object was some sort of image object, and had an array of pixels, then the type might indicate what kind of image type to write the data in, such as the JPEG format ("image/jpeg"), or the PNG format ("image/png").

Implements VCF::Persistable.


Member Data Documentation

Rect VCF::Frame::State::bounds_ [protected]
 

FrameDisplayState VCF::Frame::State::displayState_ [protected]
 

bool VCF::Frame::State::visible_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information