public abstract class GXTagListener extends Object
Classes that extend this listener should be registered in the Render configuration.
The class that requires processing a render event extends this abstract
GXTagListener
class (overriding only the methods of interest).
When a single tag rendering is completed, a GXRenderEvent
event is thrown,
and the onNew[TagName]
method is called.
The methods in this class are empty. This class exists to be used to conveniently create listener
objects.
GXRenderEvent
,
com.sabratec.applinx.presentation.GXRenderConfig#addTagListener(GXTagListener)
Constructor and Description |
---|
GXTagListener() |
Modifier and Type | Method and Description |
---|---|
void |
onNewButton(GXRenderEvent event,
GXIButtonTag button)
Invoked when a link has been created.
|
void |
onNewCheckbox(GXRenderEvent event,
GXICheckboxTag checkbox)
Invoked when a checkbox has been created.
|
void |
onNewCombobox(GXRenderEvent event,
GXIComboboxTag combobox)
Invoked when a combo box has been created.
|
void |
onNewLabel(GXRenderEvent event,
GXILabelTag label)
Invoked when a label (protected field) has been created.
|
void |
onNewLink(GXRenderEvent event,
GXILinkTag link)
Invoked when a link has been created.
|
void |
onNewRadioButtonGroup(GXRenderEvent event,
GXIRadioButtonGroupTag radioGroup)
Invoked when a radio buttons group has been created.
|
void |
onNewTable(GXRenderEvent event,
GXITableTag table)
Invoked when a table tag has been created.
|
void |
onNewTableCell(GXRenderEvent event,
GXITableCellTag tableCell)
Invoked when a table cell has been created.
|
void |
onNewTableRow(GXRenderEvent event,
GXITableRowTag tableRow)
Invoked when a table row tag has been created.
|
void |
onNewTextField(GXRenderEvent event,
GXITextFieldTag textField)
Invoked when a text field has been created.
|
public void onNewTextField(GXRenderEvent event, GXITextFieldTag textField)
event
- The event argumentstextField
- The text field tag which has been createdpublic void onNewLabel(GXRenderEvent event, GXILabelTag label)
event
- The event argumentslabel
- The label tag which has been createdpublic void onNewLink(GXRenderEvent event, GXILinkTag link)
event
- The event argumentslink
- The linked tag which has been createdpublic void onNewButton(GXRenderEvent event, GXIButtonTag button)
event
- the event argumentsbutton
- the button tag which has been createdpublic void onNewCombobox(GXRenderEvent event, GXIComboboxTag combobox)
event
- The event argumentscombobox
- The combo box tag which has been createdpublic void onNewCheckbox(GXRenderEvent event, GXICheckboxTag checkbox)
public void onNewRadioButtonGroup(GXRenderEvent event, GXIRadioButtonGroupTag radioGroup)
event
- The event argumentsradioGroup
- The radio buttons group tag which has been createdpublic void onNewTable(GXRenderEvent event, GXITableTag table)
In this case, table.getHostField()
returns null
.
public void onNewTableRow(GXRenderEvent event, GXITableRowTag tableRow)
In this case, table.getHostField()
returns
null
.
public void onNewTableCell(GXRenderEvent event, GXITableCellTag tableCell)
Unlike the other table-related event objects,
tableCell.getHostField()
returns the host field the cell is based on.
event
- The event argumentstableCell
- The table tag which has been createdGXIField
Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.