@API(type=INTERNAL,
src=PUBLIC)
public class TabInfo
extends java.lang.Object
Constructor and Description |
---|
TabInfo(java.lang.String key,
java.util.List<TableProperty> properties,
java.util.List<AuthorElement> nodes)
Constructor.
|
TabInfo(java.lang.String key,
java.util.List<TableProperty> properties,
java.util.List<AuthorElement> nodes,
java.util.List<AuthorDocumentFragment> fragmentsToInsert,
javax.swing.text.Position[] offsets)
Constructor.
|
TabInfo(java.lang.String key,
java.util.List<TableProperty> properties,
java.util.List<AuthorElement> nodes,
java.util.List<AuthorDocumentFragment> fragmentsToInsert,
javax.swing.text.Position[] offsets,
java.lang.String contextInfo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContextInfo()
Obtain the context information of the current tab.
|
java.util.List<AuthorDocumentFragment> |
getFragmentsToInsert()
Get the fragments which will be inserted in the document.
|
javax.swing.text.Position[] |
getInsertOffsets()
Get the position where the fragments will be inserted.
|
java.util.List<AuthorElement> |
getNodes()
The nodes whose properties will be edited.
|
java.util.List<TableProperty> |
getProperties()
Obtain the list with the properties which will be presented in the current tab.
|
java.lang.String |
getTabKey()
Return the tab key name.
|
void |
setContextInfo(java.lang.String contextInfo)
Set the context information.
|
void |
setFragmentsToInsert(java.util.List<AuthorDocumentFragment> fragmentsToInsert)
Set the fragments which will be inserted in the document.
|
void |
setInsertOffsets(javax.swing.text.Position[] positions)
Sets the position where the fragments will be inserted.
|
void |
setNodes(java.util.List<AuthorElement> nodes)
Set the nodes whose properties will be edited.
|
void |
setProperties(java.util.List<TableProperty> properties)
Set the list with the properties which will be presented in the current tab.
|
void |
setTabKey(java.lang.String tabKey)
Set the tab key name.
|
public TabInfo(java.lang.String key, java.util.List<TableProperty> properties, java.util.List<AuthorElement> nodes)
key
- The tab key name. If no translation for the tab, then it represents the name
of the tab.properties
- The list with the properties which will be presented in the current tab.nodes
- The nodes whose properties will be edited.public TabInfo(java.lang.String key, java.util.List<TableProperty> properties, java.util.List<AuthorElement> nodes, java.util.List<AuthorDocumentFragment> fragmentsToInsert, javax.swing.text.Position[] offsets)
key
- The tab key name. If no translation for the tab, then it represents the name
of the tab.properties
- The list with the properties which will be presented in the current tab.nodes
- The nodes whose properties will be edited.fragmentsToInsert
- The list of AuthorDocumentFragment
s to be inserted.offsets
- The offsets where the new fragments will be inserted.public TabInfo(java.lang.String key, java.util.List<TableProperty> properties, java.util.List<AuthorElement> nodes, java.util.List<AuthorDocumentFragment> fragmentsToInsert, javax.swing.text.Position[] offsets, java.lang.String contextInfo)
key
- The tab key name. If no translation for the tab,
then it represents the name of the tab.properties
- The list with the properties which will be presented in the current tab.nodes
- The nodes whose properties will be edited.fragmentsToInsert
- The fragments to be inserted.offsets
- The offsets where the new fragments will be inserted.contextInfo
- The context information of the current tab. If no context information, then it will be null
.public java.lang.String getTabKey()
public void setTabKey(java.lang.String tabKey)
tabKey
- The new tab Key.public java.util.List<TableProperty> getProperties()
public void setProperties(java.util.List<TableProperty> properties)
properties
- The new properties to set.public java.util.List<AuthorElement> getNodes()
public void setNodes(java.util.List<AuthorElement> nodes)
nodes
- The new list of nodes to set.public java.util.List<AuthorDocumentFragment> getFragmentsToInsert()
public void setFragmentsToInsert(java.util.List<AuthorDocumentFragment> fragmentsToInsert)
fragmentsToInsert
- The fragments which will be inserted in the document.public javax.swing.text.Position[] getInsertOffsets()
public void setInsertOffsets(javax.swing.text.Position[] positions)
positions
- The position where the fragments will be inserted.public java.lang.String getContextInfo()
public void setContextInfo(java.lang.String contextInfo)
contextInfo
- The context information to set.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.