Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGNumberFormat Class Reference

Definition at line 22 of file TGNumberEntry.h.

Public Types

enum  EAttribute { kNEAAnyNumber = 0 , kNEANonNegative = 1 , kNEAPositive = 2 }
 
enum  ELimit { kNELNoLimits = 0 , kNELLimitMin = 1 , kNELLimitMax = 2 , kNELLimitMinMax = 3 }
 
enum  EStepSize { kNSSSmall = 0 , kNSSMedium = 1 , kNSSLarge = 2 , kNSSHuge = 3 }
 
enum  EStyle {
  kNESInteger = 0 , kNESRealOne = 1 , kNESRealTwo = 2 , kNESRealThree = 3 ,
  kNESRealFour = 4 , kNESReal = 5 , kNESDegree = 6 , kNESMinSec = 7 ,
  kNESHourMin = 8 , kNESHourMinSec = 9 , kNESDayMYear = 10 , kNESMDayYear = 11 ,
  kNESHex = 12
}
 

Public Member Functions

virtual ~TGNumberFormat ()
 

#include <TGNumberEntry.h>

Inheritance diagram for TGNumberFormat:
[legend]

Member Enumeration Documentation

◆ EAttribute

Enumerator
kNEAAnyNumber 

Attributes of number entry field.

Any number

kNEANonNegative 

Non-negative number.

kNEAPositive 

Positive number.

Definition at line 40 of file TGNumberEntry.h.

◆ ELimit

Enumerator
kNELNoLimits 

Limit selection of number entry field.

No limits

kNELLimitMin 

Lower limit only.

kNELLimitMax 

Upper limit only.

kNELLimitMinMax 

Both lower and upper limits.

Definition at line 46 of file TGNumberEntry.h.

◆ EStepSize

Enumerator
kNSSSmall 

Step for number entry field increase.

Small step

kNSSMedium 

Medium step.

kNSSLarge 

Large step.

kNSSHuge 

Huge step.

Definition at line 53 of file TGNumberEntry.h.

◆ EStyle

Enumerator
kNESInteger 

Style of number entry field.

Integer

kNESRealOne 

Fixed fraction real, one digit.

kNESRealTwo 

Fixed fraction real, two digit.

kNESRealThree 

Fixed fraction real, three digit.

kNESRealFour 

Fixed fraction real, four digit.

kNESReal 

Real number.

kNESDegree 

Degree.

kNESMinSec 

Minute:seconds.

kNESHourMin 

Hour:minutes.

kNESHourMinSec 

Hour:minute:seconds.

kNESDayMYear 

Day/month/year.

kNESMDayYear 

Month/day/year.

kNESHex 

Hex.

Definition at line 24 of file TGNumberEntry.h.

Constructor & Destructor Documentation

◆ ~TGNumberFormat()

virtual TGNumberFormat::~TGNumberFormat ( )
inlinevirtual

Definition at line 60 of file TGNumberEntry.h.


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