Release Notes > JTGO 4.0 Release Notes > API Changes > New Methods

New methods have been added in the following categories:

Data Source

Data Source Loader

Data Source Output

Data Source Listener

Data Source Object Event and Attribute Value Event

Data Source for Telecom Objects

Adapter

Interactors

Business Model

Object State

Selection Model

Table Component

Table View
Table Adapter

Tree Component

Tree View
Tree Adapter

Network Component

New methods have also been added at the following levels:

Network View
Network Adapter
Network Model
Network Component Configuration
#ZoomInButton {
  actionType: "ZoomIn";
  zoomFactor: 1.1;
}
 
#ZoomOutButton {
  actionType: "ZoomOut";
  zoomFactor: 1.1;
}
#EditLabelButton {
  actionType: "EditLabel";
 
  labelAttribute: "name";
}
#SelectButton {
  actionType: "Select";
  popupMenuFactory: @=selectPopupMenuFactory;
}
#selectPopupMenuFactory {
  class: 'AlarmPopupMenuFactory';
}
View {
  keepingAspectRatio: true;
  maxZoomXFactor: 10;
  maxZoomYFactor: 10;
}
Network {
  zooming: true;
}
Zooming {
  type: "Mixed";
  decorationNames[0]: Name;
  decorationNames[1]: SecondaryStateModifiers;
  decorationNames[2]: InformationIcon;
  decorationNames[3]: InformationWindow;
  visibilityThresholds[0]: 0.2;
  visibilityThresholds[1]: 0.3;
  visibilityThresholds[2]: 0.5;
  visibilityThresholds[3]: 0.2;
}

Equipment Component

New methods have also been added at the following levels:

Equipment View
Equipment Adapter
Equipment Component Configuration

With these two methods, it is now possible to customize the zoom factor using CSS files, as follows:

#ZoomInButton {
  actionType: "ZoomIn";
  zoomFactor: 1.1;
}
 
#ZoomOutButton {
  actionType: "ZoomOut";
  zoomFactor: 1.1;
}
#EditLabelButton {
  actionType: "EditLabel";
  labelAttribute: "name";
}
#SelectButton {
  actionType: "Select";
  popupMenuFactory: @=selectPopupMenuFactory;
}
#selectPopupMenuFactory {
  class: 'AlarmPopupMenuFactory';
}
View {
  keepingAspectRatio: true;
  maxZoomXFactor: 10;
  maxZoomYFactor: 10;
}

Web Components

Web Table
Web Tree
Web Network
Web Equipment

Predefined Business Objects

The rendering of shelves has been improved in the following way:

Shelf Rendering

Styling

Miscellaneous