public class ProjectWindowTab
extends java.lang.Object
ProjectWindow
Modifier and Type | Field and Description |
---|---|
static int |
DISPLAY_4_DEVELOPER |
static int |
DISPLAY_4_END_USER |
static int |
DISPLAY_4_END_USER_VISUALIZATION |
static java.lang.String |
TAB_4_RUNTIME_VISUALIZATION |
static java.lang.String |
TAB_4_SUB_PANES_Configuration |
static java.lang.String |
TAB_4_SUB_PANES_Setup |
Constructor and Description |
---|
ProjectWindowTab(Project project,
int displayType_DEV_or_USER,
java.lang.String head_title,
java.lang.String aTipText,
javax.swing.Icon ico,
javax.swing.JComponent component,
java.lang.String pareName)
Default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Adds the current Tab-object to the project window.
|
void |
add(int indexPosition)
Adds the current Tab-object to the project window
at the given index position.
|
javax.swing.JTabbedPane |
getCompForChildComp()
Gets the comp for child comp.
|
int |
getDisplayType()
Gets the display type.
|
javax.swing.Icon |
getIcon()
Gets the icon.
|
int |
getIndexPosition()
Gets the index position.
|
javax.swing.JComponent |
getJComponentForVisualization()
Returns the JComponent for the visualization.
|
java.lang.String |
getParentName()
Gets the parent name.
|
AwbProjectEditorWindow |
getProjectWindow()
Returns the current instance of the
ProjectWindow . |
java.lang.String |
getTipText()
Gets the tip text.
|
java.lang.String |
getTitle()
Gets the title.
|
void |
remove()
This removes the current Tab from the project window.
|
void |
setCompForChildComp(javax.swing.JTabbedPane jTabbedPane4ChildComponents)
Sets the JTabbedPane for possible child components.
|
void |
setDisplayType(int displayType)
Sets the display type.
|
void |
setIcon(javax.swing.Icon icon)
Sets the icon.
|
void |
setIndexPosition(int indexPosition)
Sets the index position.
|
void |
setJComponentForVisualization(javax.swing.JComponent comp)
Sets the JComponent for the visualization.
|
void |
setParentName(java.lang.String parentName)
Sets the parent name.
|
void |
setTipText(java.lang.String tipText)
Sets the tip text.
|
void |
setTitle(java.lang.String title)
Sets the title.
|
java.lang.String |
toString()
To string.
|
void |
updateIndexPosition()
Updates the index position.
|
public static final int DISPLAY_4_END_USER
public static final int DISPLAY_4_END_USER_VISUALIZATION
public static final int DISPLAY_4_DEVELOPER
public static final java.lang.String TAB_4_SUB_PANES_Configuration
public static final java.lang.String TAB_4_SUB_PANES_Setup
public static final java.lang.String TAB_4_RUNTIME_VISUALIZATION
public ProjectWindowTab(Project project, int displayType_DEV_or_USER, java.lang.String head_title, java.lang.String aTipText, javax.swing.Icon ico, javax.swing.JComponent component, java.lang.String pareName)
project
- the projectdisplayType_DEV_or_USER
- the display type_ de v_or_ userhead_title
- the head_titleaTipText
- the a tip textico
- the iconcomponent
- the componentpareName
- the pare namepublic AwbProjectEditorWindow getProjectWindow()
ProjectWindow
.public void add()
public void add(int indexPosition)
indexPosition
- the index position greater onepublic void remove()
public java.lang.String toString()
toString
in class java.lang.Object
public void setDisplayType(int displayType)
displayType
- the displayType to setpublic int getDisplayType()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic javax.swing.Icon getIcon()
public void setIcon(javax.swing.Icon icon)
icon
- the icon to setpublic java.lang.String getTipText()
public void setTipText(java.lang.String tipText)
tipText
- the tipText to setpublic java.lang.String getParentName()
public void setParentName(java.lang.String parentName)
parentName
- the parentName to setpublic javax.swing.JComponent getJComponentForVisualization()
public void setJComponentForVisualization(javax.swing.JComponent comp)
comp
- the new JComponent for the visualizationpublic void setCompForChildComp(javax.swing.JTabbedPane jTabbedPane4ChildComponents)
jTabbedPane4ChildComponents
- the new JTabbedPane for child componentspublic javax.swing.JTabbedPane getCompForChildComp()
public void setIndexPosition(int indexPosition)
indexPosition
- the indexPosition to setpublic int getIndexPosition()
public void updateIndexPosition()