DrawKit
Vector and illustration framework for Mac OS X
Instance Methods | Class Methods | List of all members
GCInfoFloater Class Reference

This class provides a very simple tooltip-like window in which you can display a short piece of information, such as a single numeric value. More...

Inheritance diagram for GCInfoFloater:
Inheritance graph
[legend]

Instance Methods

(void) - hide
 
(void) - positionAtScreenPoint:
 
(void) - positionNearPoint:inView:
 
(void) - setDoubleValue:
 
(void) - setFloatValue:
 
(void) - setFormat:
 
(void) - setStringValue:
 
(void) - setWindowOffset:
 
(void) - show
 

Class Methods

(GCInfoFloater *) + infoFloater
 

Detailed Description

This class provides a very simple tooltip-like window in which you can display a short piece of information, such as a single numeric value.

Author
Contributions from the community; see CONTRIBUTORS.md
Date
2005-2015

By positioning this next to the mouse and supplying it with info, you can enhance the usability of some kinds of user interaction.

Method Documentation

- (void) hide
+ (GCInfoFloater*) infoFloater
- (void) positionAtScreenPoint: (NSPoint)  sp
- (void) positionNearPoint: (NSPoint)  p
inView: (NSView *)  v 
- (void) setDoubleValue: (double)  val
- (void) setFloatValue: (float)  val
- (void) setFormat: (NSString *)  fmt
- (void) setStringValue: (NSString *)  str
- (void) setWindowOffset: (NSSize)  offset
- (void) show