ZFFramework
 
Loading...
Searching...
No Matches
ZFPInterface_ZFUIImageView Class Referenceabstract

protocol for ZFUIImageView More...

#include <ZFProtocolZFUIImageView.h>

Inheritance diagram for ZFPInterface_ZFUIImageView:
ZFProtocol

Public Member Functions

virtual const zfcharprotocolName (void) const
 get the name of the protocol module, e.g. "ZFObject"
 
virtual void * nativeImageViewCreate (ZFUIImageView *imageView, zfbool &nativeImplViewRequireVirtualIndex)=0
 create native image view
 
virtual void nativeImageViewDestroy (ZFUIImageView *imageView, void *nativeImageView)=0
 destroy native image view
 
virtual void image (ZFUIImageView *imageView, ZFUIImage *image)=0
 set the image
 
- Public Member Functions inherited from ZFProtocol
virtual void protocolOnInit (void)
 called to init the protocol
 
virtual void protocolOnInitFinish (void)
 see protocolOnInit
 
virtual void protocolOnDeallocPrepare (void)
 see protocolOnInit
 
virtual void protocolOnDealloc (void)
 see protocolOnInit
 
virtual ZFProtocolInstanceState protocolInstanceState (void)
 protocol instance's state
 
virtual const zfcharprotocolImplName (void) const
 get the name of the protocol implementation, e.g. "ZFObject_default"
 
virtual ZFProtocolLevel protocolImplLevel (void) const
 get the level of the protocol implementation
 
virtual const zfcharprotocolImplPlatformHint (void) const
 get type hint of the implementation or empty string if not defined, e.g. "iOS:NSString" for iOS's string impl, use ZFPROTOCOL_IMPLEMENTATION_PLATFORM_HINT to register
 
virtual void objectInfoT (zfstring &ret) const
 see objectInfo
 
virtual zfstring objectInfo (void) const
 get a short info about this object
 

Protected Types

typedef ZFProtocol zfsuper
 class ref to super
 
typedef ZFPInterface_ZFUIImageView zfself
 class ref to self
 

Detailed Description

protocol for ZFUIImageView

Member Function Documentation

◆ protocolName()

virtual const zfchar * ZFPInterface_ZFUIImageView::protocolName ( void ) const
inlinevirtual

get the name of the protocol module, e.g. "ZFObject"

Reimplemented from ZFProtocol.

◆ image()

virtual void ZFPInterface_ZFUIImageView::image ( ZFUIImageView * imageView,
ZFUIImage * image )
pure virtual

set the image

implementations must not retain the image object, it's ensured set null when owner image view deallocated
note that implementation must implement the nine patch logic


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