class Rubyvis::Layout

Public Class Methods

Arc() click to toggle source

Alias for Rubyvis::Layout::Arc

# File lib/rubyvis/layout/arc.rb, line 4
def self.Arc
  Rubyvis::Layout::Arc
end
Cluster() click to toggle source

Alias for Rubyvis::Layout::Cluster

# File lib/rubyvis/layout/cluster.rb, line 4
def self.Cluster
  Rubyvis::Layout::Cluster
end
Grid() click to toggle source

Alias for Rubyvis::Layout::Grid

# File lib/rubyvis/layout/grid.rb, line 4
def self.Grid
  Rubyvis::Layout::Grid
end
Hierarchy() click to toggle source

Alias for Rubyvis::Layout::Hierarchy

# File lib/rubyvis/layout/hierarchy.rb, line 4
def self.Hierarchy
  Rubyvis::Layout::Hierarchy
end
Horizon() click to toggle source

Alias for Rubyvis::Layout::Horizon

# File lib/rubyvis/layout/horizon.rb, line 4
def self.Horizon
  Rubyvis::Layout::Horizon
end
Indent() click to toggle source

Alias for Rubyvis::Layout::Indent

# File lib/rubyvis/layout/indent.rb, line 4
def self.Indent
  Rubyvis::Layout::Indent
end
Matrix() click to toggle source

Alias for Rubyvis::Layout::Matrix

# File lib/rubyvis/layout/matrix.rb, line 4
def self.Matrix
  Rubyvis::Layout::Matrix
end
Network() click to toggle source

Alias for Rubyvis::Layout::Network

# File lib/rubyvis/layout/network.rb, line 4
def self.Network
  Rubyvis::Layout::Network
end
Pack() click to toggle source

Alias for Rubyvis::Layout::Indent

# File lib/rubyvis/layout/pack.rb, line 4
def self.Pack
  Rubyvis::Layout::Pack
end
Partition() click to toggle source

Alias for Rubyvis::Layout::Partition

# File lib/rubyvis/layout/partition.rb, line 4
def self.Partition
  Rubyvis::Layout::Partition
end
Stack() click to toggle source

Alias for Rubyvis::Layout::Stack

# File lib/rubyvis/layout/stack.rb, line 4
def self.Stack
  Rubyvis::Layout::Stack
end
Tree() click to toggle source

Alias for Rubyvis::Layout::Tree

# File lib/rubyvis/layout/tree.rb, line 4
def self.Tree
  Rubyvis::Layout::Tree
end
Treemap() click to toggle source

Alias for Rubyvis::Layout::Treemap

# File lib/rubyvis/layout/treemap.rb, line 4
def self.Treemap
  Rubyvis::Layout::Treemap
end
attr_accessor_dsl(*attr) click to toggle source
# File lib/rubyvis/layout.rb, line 16
def self.attr_accessor_dsl(*attr)
  attr.each  do |sym|
    if sym.is_a? Array
      name,func=sym
    else
      name=sym
      func=nil
    end
    @properties[name]=true
    self.property_method(name,false, func, self)

    remove_method(name.to_s+"=") if public_method_defined? name.to_s+"="
    
    define_method(name.to_s + "=") {|v|
      self.send(name,v)
    }
  end
end

Public Instance Methods

build_properties(s,properties) click to toggle source
# File lib/rubyvis/layout.rb, line 7
def build_properties(s,properties)      
  layout_build_properties(s,properties)
end
layout_build_implied(s) click to toggle source
# File lib/rubyvis/layout.rb, line 13
def layout_build_implied(s)      
  panel_build_implied(s)
end
layout_build_properties(s,properties) click to toggle source
# File lib/rubyvis/layout.rb, line 10
def layout_build_properties(s,properties)
  mark_build_properties(s, properties)
end