|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgraphlab.graph.ui.GTabbedPane
graphlab.graph.ui.GTabbedGraphPane
public class GTabbedGraphPane
provides a tabbed UI Interface for editing multiple graphs in multiple tabs
Field Summary | |
---|---|
static java.lang.Boolean |
defaultDirectedChoice
|
static java.lang.String |
NAME
|
Fields inherited from class graphlab.graph.ui.GTabbedPane |
---|
blackboard, CURRENT_COMPONENT, jtp, supportedType |
Constructor Summary | |
---|---|
GTabbedGraphPane(BlackBoard b)
|
Method Summary | |
---|---|
void |
addGraph(GraphModel g)
create a tab for the given graph, the name of tab will be "G" + graph label |
java.awt.Component |
getComponent(BlackBoard b)
|
static GHTMLPageComponent |
getCurrentGHTGhtmlPageComponent(BlackBoard b)
returns the current GHTMLPageComponent which is used in the top of a tab, if there is not any of them returns null |
static GTabbedGraphPane |
getCurrentGTabbedGraphPane(BlackBoard b)
|
static void |
hideNotificationMessage(BlackBoard b)
hides the previously showing message |
protected void |
reTab()
|
static void |
setMessage(java.lang.String message,
BlackBoard b,
boolean formatIt)
shows a message to the user, It will hide when the showNotificationMessage is called, and show again when the hideNotificationMessage is called if formatIt=true, an html formatting will be applied to the message to make it nicer, do it if you don't pass a complete html message |
static void |
showNotificationMessage(java.lang.String message,
BlackBoard b,
boolean formatIt)
shows a message as a notification to the user, It will hide when the hideNotificationMessage is called and the prv message will be shown, if formatIt=true, an html formatting will be applied to the message to make it nicer, do it if you don't pass a complete html message |
static void |
showTimeNotificationMessage(java.lang.String message,
BlackBoard b,
long timeMillis,
boolean formatIt)
shows a message and hide it after a given time |
Methods inherited from class graphlab.graph.ui.GTabbedPane |
---|
add, addComponent, getTabedPane, registerType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
public static java.lang.Boolean defaultDirectedChoice
Constructor Detail |
---|
public GTabbedGraphPane(BlackBoard b)
Method Detail |
---|
public static GTabbedGraphPane getCurrentGTabbedGraphPane(BlackBoard b)
protected void reTab()
reTab
in class GTabbedPane
public void addGraph(GraphModel g)
g
- graphmodelpublic java.awt.Component getComponent(BlackBoard b)
public static void showNotificationMessage(java.lang.String message, BlackBoard b, boolean formatIt)
message
- b
- formatIt
- public static void setMessage(java.lang.String message, BlackBoard b, boolean formatIt)
public static void hideNotificationMessage(BlackBoard b)
public static void showTimeNotificationMessage(java.lang.String message, BlackBoard b, long timeMillis, boolean formatIt)
public static GHTMLPageComponent getCurrentGHTGhtmlPageComponent(BlackBoard b)
b
-
GTabbedPane
|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |