%3 ::xo::Table::TABLE::Field ::xo::Table::TABLE::Field get_orderby render render-data renderSortLabels ::xo::Drawable ::xo::Drawable ::xo::Table::TABLE::Field->::xo::Drawable ::xo::Table::TABLE::AnchorField ::xo::Table::TABLE::AnchorField render-data ::xo::Table::TABLE::AnchorField->::xo::Table::TABLE::Field ::xo::Table::TABLE2::AnchorField ::xo::Table::TABLE2::AnchorField ::xo::Table::TABLE2::AnchorField->::xo::Table::TABLE::AnchorField ::xo::Table::TABLE3::AnchorField ::xo::Table::TABLE3::AnchorField ::xo::Table::TABLE3::AnchorField->::xo::Table::TABLE::AnchorField

Class ::xo::Table::TABLE::AnchorField

::xo::Table::TABLE::AnchorField[i] create ...

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xo::Table::TABLE::Field[i]
  • subclass: ::xo::Table::TABLE2::AnchorField[i], ::xo::Table::TABLE3::AnchorField[i]
::xotcl::Class create ::xo::Table::TABLE::AnchorField \
     -superclass ::xo::Table::TABLE::Field

Methods (to be applied on instances)

  • render-data (scripted)

    if {[$line exists ${:name}.href]
        && [set href [$line set ${:name}.href]] ne ""
      } {
      # Default class is from the field definition. To it we
      # append the class coming from the line.
      set CSSclass ${:CSSclass}
      if {[$line exists ${:name}.CSSclass]} {
        set lineCSSclass [$line set ${:name}.CSSclass]
        if {$lineCSSclass ne ""} {
          append CSSclass " " $lineCSSclass
        }
      }
      $line instvar [list ${:name}.title title]
      html::a [:get_local_attributes href title {CSSclass class}] {
        return [next]
      }
    }
    next