Class DtLabelView

    • Constructor Detail

      • DtLabelView

        public DtLabelView()
    • Method Detail

      • bind

        protected void bind​(LabelViewModel viewModel,
                            DtLabel nativeControl)
        Description copied from class: View
        Binds the view model and native control together to this view. Override this method to customize the binding.
        bind in class SwtStandardView<LabelViewModel,​DtLabel>
        viewModel - the view model to bind.
        nativeControl - the native control to bind.
      • createControl

        public DtLabel createControl​(org.eclipse.swt.widgets.Composite parent,
                                     LabelViewModel viewModel)
        Description copied from class: SwtStandardView
        Creates a native control for the view without decorations.
        Specified by:
        createControl in class SwtStandardView<LabelViewModel,​DtLabel>
        parent - the parent composite to place a control in.
        viewModel - the view mode to create a control for.
        the newly created control