Class: TableModelEvent
Instance Method Summary collapse
-
#all_rows? ⇒ Boolean
returns true if this is a notification to update all rows, ie a fireTableDataChanged() was called.
- #deleted? ⇒ Boolean
- #inserted? ⇒ Boolean
- #inspect ⇒ Object
- #updated? ⇒ Boolean
Instance Method Details
#all_rows? ⇒ Boolean
returns true if this is a notification to update all rows, ie a fireTableDataChanged() was called
251 252 253 |
# File 'lib/clevic/swing/extensions.rb', line 251 def all_rows? first_row == 0 && last_row == java.lang.Integer::MAX_VALUE end |
#deleted? ⇒ Boolean
241 242 243 |
# File 'lib/clevic/swing/extensions.rb', line 241 def deleted? type == self.class::DELETE end |
#inserted? ⇒ Boolean
245 246 247 |
# File 'lib/clevic/swing/extensions.rb', line 245 def inserted? type == self.class::INSERT end |
#inspect ⇒ Object
233 234 235 |
# File 'lib/clevic/swing/extensions.rb', line 233 def inspect "#<#{first_row..last_row}, #{column}, #{const_lookup( type )} >" end |
#updated? ⇒ Boolean
237 238 239 |
# File 'lib/clevic/swing/extensions.rb', line 237 def updated? type == self.class::UPDATE end |