Table component processing method and device

A technology of table components and processing methods, applied in the direction of program control devices, etc., can solve problems such as data incompatibility and poor user experience, and achieve the effect of improving user experience

Active Publication Date: 2014-12-24
SHENZHEN AUDAQUE DATA TECH
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the prior art, because the hiding method adopts the method of setting the column width to 0, the column is hidden visually, but

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Table component processing method and device
  • Table component processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the above objects, features and advantages of the present application more obvious and understandable, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0042] refer to figure 1 , showing a form component processing method of the present application, including:

[0043] In the embodiment of the present invention, a proxy column model, ie, the second column model, is set for the first column model.

[0044] The embodiment of the present invention is mainly used to control the hiding and displaying of columns in the Java Swing table component.

[0045] Step S101, the controller acquires a user control instruction, and the control instruction includes at least a column identifier;

[0046] Further, the controller obtains a user control instruction, and the control instruction includes at least a column identifier including:

[0047] The controller genera...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a table component processing method. The method includes that a control module acquires a user control command at least including column identifiers; the controller publishes attribute change events according to the control command, and the attribute change events correspond to the column identifiers; after monitoring the attribute change events, a first column model finds corresponding columns form a second column model according to the column identifiers and performs corresponding operations; the second column model informs the controller of refreshing an interface according to operated column data. The invention further provides a corresponding device. By the method and device, data excluding hidden columns are provided to the controller through the column models of one proxy, true column hiding is realized since the acquired data excludes data of the hidden columns when the controller refreshes the display interface, and user experience is improved.

Description

technical field [0001] The present application relates to the technical field of swing table display, in particular to a table component processing method and device. Background technique [0002] Java Swing standard components can meet the needs of general desktop programs in practical applications, such as table drawing, editing and other functions. The structure of the table component in the Java Swing standard component is basically the way of controller, model and interface. The controller controls the display of the interface after obtaining data from the column model. [0003] In actual use, users may need to use Java Swing standard components to hide or display a certain column of data in the table component. [0004] In the prior art, the hiding or displaying of columns in tabular data is generally achieved by setting the maximum and bottom widths of the columns to 0 when the controller obtains the user’s hidden instruction; when the controller obtains the user’s d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
Inventor 盘学文
Owner SHENZHEN AUDAQUE DATA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products