|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.gui.custom.InfoGroup
An InfoGroup represents a Composite containing a List of Labels and ProgressBars showing some status information. Multiple InfoGroup instances can be added to a InfoGroupContainer.
| Field Summary | |
|---|---|
private org.eclipse.swt.widgets.Button |
close
The Button for closing this InfoGroup |
private org.eclipse.swt.graphics.Image |
closeImg
The Image used for the close button |
private org.eclipse.swt.widgets.Composite |
comp
The Composite containing the group and the button for closing this InfoGroup |
private InfoGroupContainer |
container
The InfoGroupContainer containing this InfoGroup |
private FileManager |
fileManager
The FileManager used for finding the needed image files |
private org.eclipse.swt.widgets.Group |
group
The Group that contains the status elements |
private InfoGroup |
last
The InfoGroup before this one in an InfoGroupContainer |
private java.lang.String |
name
This InfoGroupīs name |
private InfoGroup |
next
The InfoGroup following this one in an InfoGroupContainer |
private boolean |
open
Indicates if this InfoGroup is currently opened |
| Constructor Summary | |
|---|---|
InfoGroup(InfoGroupContainer cont,
java.lang.String name)
Constructs a new InfoGroup with the given name that will be displayed in the given InfoGroupContainer using the default FileManager |
|
InfoGroup(InfoGroupContainer cont,
java.lang.String name,
FileManager fileManager)
Constructs a new InfoGroup with the given name that will be displayed in the given InfoGroupContainer using the given FileManager |
|
| Method Summary | |
|---|---|
org.eclipse.swt.widgets.Label |
addLabel(java.lang.String description)
Add a new row to this InfoGroup with the given description on the left and a new Label on the right |
org.eclipse.swt.widgets.Label |
addLabel(java.lang.String description,
java.lang.String content)
Add a new row to this InfoGroup with the given description on the left and a new Label on the right containing the given content |
org.eclipse.swt.widgets.ProgressBar |
addProgBar(java.lang.String description)
Add a new row to this InfoGroup with the given description on the left and a new ProgressBar on the right |
org.eclipse.swt.widgets.Text |
addText(java.lang.String description)
Add a new row to this InfoGroup with the given description on the left and a new read-only Text field on the right |
org.eclipse.swt.widgets.Text |
addText(java.lang.String description,
java.lang.String content)
Add a new row to this InfoGroup with the given description on the left and a new read-only Text field on the right containing the given content |
(package private) void |
close()
Hide this InfoGroup |
org.eclipse.swt.widgets.Composite |
getComposite()
Get this InfoGroupīs main Composite |
(package private) InfoGroup |
getLast()
Get the InfoGroup before this one in the InfoGroupContainer |
java.lang.String |
getName()
Get this InfoGroupīs name |
(package private) InfoGroup |
getNext()
Get the InfoGroup following this one in the InfoGroupContainer |
(package private) void |
open()
Show this InfoGroup |
(package private) void |
setLast(InfoGroup g)
Set the element before this one in the InfoGroupContainer |
void |
setName(java.lang.String n)
Get this InfoGroupīs name |
(package private) void |
setNext(InfoGroup g)
Set the element following this one in the InfoGroupContainer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private org.eclipse.swt.widgets.Button close
private org.eclipse.swt.graphics.Image closeImg
private org.eclipse.swt.widgets.Composite comp
private InfoGroupContainer container
private FileManager fileManager
private org.eclipse.swt.widgets.Group group
private InfoGroup last
private java.lang.String name
private InfoGroup next
private boolean open
| Constructor Detail |
|---|
public InfoGroup(InfoGroupContainer cont,
java.lang.String name)
cont - The InfoGroupContainer that should contain this InfoGroupname - The name of the InfoGroup
public InfoGroup(InfoGroupContainer cont,
java.lang.String name,
FileManager fileManager)
cont - The InfoGroupContainer that should contain this InfoGroupname - The name of the InfoGroupfileManager - The FileManager to use for locating the needed image
files| Method Detail |
|---|
public org.eclipse.swt.widgets.Label addLabel(java.lang.String description)
description - The text describing the new element
public org.eclipse.swt.widgets.Label addLabel(java.lang.String description,
java.lang.String content)
description - The text describing the new elementcontent - The initial content of the Label
public org.eclipse.swt.widgets.ProgressBar addProgBar(java.lang.String description)
description - The text describing the new element
public org.eclipse.swt.widgets.Text addText(java.lang.String description)
description - The text describing the new element
public org.eclipse.swt.widgets.Text addText(java.lang.String description,
java.lang.String content)
description - The text describing the new elementcontent - The initial content of the Text field
void close()
public org.eclipse.swt.widgets.Composite getComposite()
InfoGroup getLast()
public java.lang.String getName()
InfoGroup getNext()
void open()
void setLast(InfoGroup g)
g - The Group before this onepublic void setName(java.lang.String n)
n - This InfoGroupīs namevoid setNext(InfoGroup g)
g - The Group following this one
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||