|
SourceFlow 1.0.beta API Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
IComparable
|
+--CodeElement
|
+--CodeContainer
|
+--JavaType
|
+--JavaInterface
in JavaInterface.csA class generating a Java interface declaration.
| Field Summary | |
override int |
Category
Returns a numeric category number for the code element. |
const int |
PACKAGE_LOCAL
The package local access modifier constant (i.e. no modifier). |
const int |
PRIVATE
The private access modifier constant. |
const int |
PROTECTED
The protected access modifier constant. |
const int |
PUBLIC
The public access modifier constant. |
const int |
STATIC
The static modifier constant. |
const int |
STRICTFP
The strictfp modifier constant. |
| Fields inherited from class CodeContainer |
Count |
| Fields inherited from class CodeElement |
Category |
| Constructor Summary | |
JavaInterface( string name )
Creates a new interface code generator with a public access modifier. |
|
JavaInterface( int modifiers, string name )
Creates a new interface code generator with the specified access modifier. |
|
JavaInterface( int modifiers, string name, string extendType )
Creates a new class code generator with the specified access modifier that extends the specified class. |
|
| Method Summary | |
void |
AddMethod( JavaMethod member )
Adds a method declaration to the interface. |
void |
AddVariable( JavaVariable member )
Adds a variable to the interface. |
override void |
Print( StreamWriter output, CodeStyle style, int indent )
Prints the code element to the specified output stream. |
| Methods inherited from class JavaType |
ToString, AddComment, Print |
| Methods inherited from class CodeContainer |
AddElement, PrintContents |
| Methods inherited from class CodeElement |
CompareTo, Print, PrintSeparator |
| Field Detail |
public override int Category;
public const int PACKAGE_LOCAL;
public const int PRIVATE;
public const int PROTECTED;
public const int PUBLIC;
public const int STATIC;
public const int STRICTFP;
| Constructor Detail |
public JavaInterface( string name );
name - the class namepublic JavaInterface( int modifiers, string name );
modifiers - the modifier constant flags
name - the class namepublic JavaInterface( int modifiers, string name, string extendType );
modifiers - the modifier constant flags
name - the class name
extendType - the type to extend| Method Detail |
public void AddMethod( JavaMethod member );
member - the member to addpublic void AddVariable( JavaVariable member );
member - the member to addpublic override void Print( StreamWriter output, CodeStyle style, int indent );
output - the output stream
style - the code style to use
indent - the indentation level
|
SourceFlow 1.0.beta API Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||