lib/clevic/swing/table_view_focus.rb in clevic-0.13.0.b9 vs lib/clevic/swing/table_view_focus.rb in clevic-0.13.0.b10
- old
+ new
@@ -4,11 +4,11 @@
def initialize( table_view )
super()
@table_view = table_view
@table_view.focus_cycle_root = true
end
-
+
# Returns the Component that should receive the focus after aComponent.
# def getComponentAfter(Container aContainer, Component aComponent)
def getComponentAfter(container, component)
@table_view.jtable
end
@@ -28,20 +28,20 @@
# Returns the first Component in the traversal cycle.
# def getFirstComponent(Container aContainer)
def getFirstComponent(container)
@table_view.jtable
end
-
+
# Returns the Component that should receive the focus when a Window is made visible for the first time.
# Component getInitialComponent(Window window)
def getInitialComponent(window)
@table_view.jtable
end
-
+
# Returns the last Component in the traversal cycle.
# def getLastComponent(Container aContainer)
def getLastComponent(container)
@table_view.jtable
end
end
-
+
end