CN107450992A - Title bar and method, storage medium, equipment and the system for playing frame column synchronous communication - Google Patents
Title bar and method, storage medium, equipment and the system for playing frame column synchronous communication Download PDFInfo
- Publication number
- CN107450992A CN107450992A CN201710641535.0A CN201710641535A CN107450992A CN 107450992 A CN107450992 A CN 107450992A CN 201710641535 A CN201710641535 A CN 201710641535A CN 107450992 A CN107450992 A CN 107450992A
- Authority
- CN
- China
- Prior art keywords
- frame column
- title
- current page
- event information
- title bar
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/541—Interprogram communication via adapters, e.g. between incompatible applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of title bar and the method, storage medium, equipment and the system that play frame column synchronous communication, it is related to application-development technologies field.This method includes:Title bar, bullet frame column are disposed as carrying using title element container to the information of title element, and the click event of respective title element is monitored by the data adapter unit corresponding to respective title element container;When some title for listening to title bar is clicked, corresponding event information of clicking on is forwarded in current page, then is forwarded to by current page in the title element container for playing frame column;When some title for listening to bullet frame column is clicked, corresponding event information of clicking on is forwarded in current page, then is forwarded to by current page in the title element container of title bar.The present invention can realize tab bar and play the synchronous communication between frame column, and not only communication-hierarchy level is simple in construction clear, and information easily tracks, and need not introduce third party's communications framework, and resource overhead is low.
Description
Technical field
The present invention relates to application-development technologies field, is specifically a kind of title bar and bullet frame column synchronous communication
Method, storage medium, equipment and system.
Background technology
At present, it would generally be used in various APP (Application, application program) exploitation design and arrive second-level menu,
So-called second-level menu refers to that menu button can pull down menu of selection.In the second-level menu Pages Design of application program, open
Hair personnel can be one title bar of second-level menu Pages Design, and title bar is to be used to the second-level menu page carrying out classification processing
, it is a title per one kind.Due to when title quantity is more, it is necessary to carry out the operation that horizontally slips, and this slip
Operate it is cumbersome be also not easy to check, so, current developer would generally design one and play frame column, that is, click on title bar
The button on right side can eject a combobox, and the content of the panel of combobox is identical with the content in title bar.
Due in the second-level menu page, while title bar be present and play frame column, therefore in order to reach the uniformity of operation, need
Want title bar and play the synchronous communication of progress message between frame column, it is claimed below to meet:When user clicks on certain in title bar
, it is necessary to which the click selected state of the title is synchronized in the bullet frame column of drop-down when one title;When user is in drop-down
Play and clicked in frame column after some title, it is necessary to which the same title the clicks selected state of the title being synchronized in title bar is first
In element.
Traditional mode realized title bar and play frame column synchronous communication is, by introducing a kind of existing inter-component communication
Storehouse EventBus (a kind of communications framework increased income) is come what is communicated.But in practical operation, led to using EventBus
Following defect be present in the mode of letter:
(1) because EventBus communication-hierarchy level structure is more complicated, therefore the problem of the tracking difficulty that message be present is big;
(2) due to needing third party's framework being incorporated into existing system project, and third party's framework generally comprise it is thousands of
Line code even line codes up to ten thousand, this side that thousands of rows line codes up to ten thousand are additionally added to realize a small function as project
Undoubtedly practicality is not high for formula, and the thousands of rows line codes up to ten thousand additionally added can not only increase complexity but also the meeting of project
Causing resource overhead big etc., drawback is present.
The content of the invention
The invention aims to overcome the shortcomings of above-mentioned background technology, there is provided a kind of title bar is synchronous with playing frame column logical
Method, storage medium, equipment and the system of letter, it can realize that tab bar communicates with playing the message synchronization between frame column, not only communicate
Hierarchical structure is simply clear, and information easily tracks, and need not introduce third party's communications framework, and resource overhead is low.
To achieve the above objectives, the present invention adopts the technical scheme that:A kind of title bar is provided with playing frame column synchronous communication
Method, this method comprises the following steps:
Title bar and the setting for playing frame column:Title bar, bullet frame column are configured, makes title bar, play frame column using mark
Element container is inscribed to carry the information of title element, and is supervised by the data adapter unit corresponding to respective title element container
Listen the click event of respective title element;
Circulation of the title bar event to bullet frame column:When the data adapter unit of title bar listens to some title member of title bar
During the click event of element, the click event information that data adapter unit receives is forwarded to by current page by default bridger
In;Current page will click on event information by the way of signal pond is quoted and be forwarded in the title element container on bullet frame column;
Play circulation of the frame column event to title bar:When the data adapter unit for playing frame column listens to some title member on bullet frame column
During the click event of element, the click event information that data adapter unit receives is forwarded to by current page by default bridger
In;Current page will click on event information by the way of signal pond is quoted and be forwarded in the title element container of title bar.
On the basis of above-mentioned technical proposal, the title bar event is into the circulation operation for playing frame column, by default
The click event information that data adapter unit receives is forwarded in current page by bridger, specifically includes following operation:Ought
Preceding page setup for pass through default bridger monitor title bar data adapter unit in click event information, the default bridge
Device is connect to be arranged between current page and the data adapter unit of title bar;Once above-mentioned default bridger listens to title bar
After data adapter unit receives click event information, the click event information is forwarded in current page;
In the circulation operation that frame column event is played to title bar, data adapter unit is received by default bridger
Click event information be forwarded in current page, specifically include following operation:Current page is arranged to by default bridge
The click event information in the data adapter unit on device monitoring bullet frame column is connect, the default bridger is arranged on current page with playing frame
Between the data adapter unit on column;Once the data adapter unit that above-mentioned default bridger listens to bullet frame column receives click event
After information, the click event information is forwarded in current page.
On the basis of above-mentioned technical proposal, the title bar event into the circulation operation for playing frame column, adopt by current page
The mode quoted with signal pond will click on event information and be forwarded in the title element container for playing frame column, specifically include following behaviour
Make:A signal pond is created between the title element container on current page and bullet frame column, the signal pond has the mark for playing frame column
Inscribe the reference of element container and the reference of current page;, will after current page receives the click event information of title bar
Event information is clicked on to be forwarded in signal pond;After signal pond receives the click event information that current page forwards, by this
Event information is clicked on to be forwarded in the title element container for playing frame column;
In the circulation operation that frame column event is played to title bar, current page will click on by the way of signal pond is quoted
Event information is forwarded in the title element container of title bar, specifically includes following operation:In current page and the mark of title bar
A signal pond is created between topic element container, the signal pond has reference and the current page of the title element container of title bar
The reference in face;After the click event information for playing frame column is received once current page, it will click on event information and be forwarded in signal pond;
After signal pond receives the click event information that current page forwards, the click event information is forwarded to the mark of title bar
Inscribe in element container.
The present invention also provides a kind of storage medium, is stored thereon with computer program, the computer program is by processor
The step of method of the above-mentioned title bar with playing frame column synchronous communication is realized during execution.
The present invention also provides a kind of equipment of title bar with playing frame column synchronous communication, including memory, processor and storage
The computer program run on a memory and on the processor, is realized described in the computing device during computer program
The step of above-mentioned title bar and the method for bullet frame column synchronous communication.
The present invention also provides a kind of system of title bar with playing frame column synchronous communication, and the system includes title bar with playing frame column
Setup module, title bar circulation processing module, play frame column circulation processing module;
The title bar is used for playing frame column setup module:Title bar, bullet frame column are configured, makes title bar, play frame
Column carries the information of title element, and the data corresponding to by respective title element container using title element container
Adapter monitors the click event of respective title element;
The title bar circulation processing module is used for:When the data adapter unit of title bar listens to some title of title bar
During the click event of element, the click event information that data adapter unit receives is forwarded to by current page by default bridger
In face;Current page is will click on event information by the way of signal pond is quoted and be forwarded to the title element container for playing frame column
In;
The bullet frame column circulation processing module is used for:When the data adapter unit for playing frame column listens to some title on bullet frame column
During the click event of element, the click event information that data adapter unit receives is forwarded to by current page by default bridger
In face;Current page is set to will click on the title element container that event information is forwarded to title bar by the way of signal pond is quoted
In.
On the basis of above-mentioned technical proposal, the title bar circulation processing module is fitted data by default bridger
The idiographic flow that the click event information that orchestration receives is forwarded in current page is:Current page is arranged to by default
Bridger monitor title bar data adapter unit in click event information, the default bridger be arranged on current page with
Between the data adapter unit of title bar;Once the data adapter unit that above-mentioned default bridger listens to title bar receives click
After event information, the click event information is forwarded in current page.
On the basis of above-mentioned technical proposal, the title bar circulation processing module makes current page be quoted using signal pond
Mode will click on the idiographic flow that event information is forwarded in the title element container for playing frame column and be:In current page with playing frame
Create a signal pond between the title element container on column, the signal pond have the title element container for playing frame column reference and
The reference of current page;After current page receives the click event information of title bar, it will click on event information and be forwarded to letter
In number pond;After signal pond receives the click event information that current page forwards, the click event information is forwarded to bullet
In the title element container on frame column.
On the basis of above-mentioned technical proposal, the bullet frame column circulation processing module is fitted data by default bridger
The idiographic flow that the click event information that orchestration receives is forwarded in current page is:Current page is arranged to by default
Bridger monitor click event information in the data adapter unit for playing frame column, the default bridger be arranged on current page with
Between the data adapter unit for playing frame column;Once the data adapter unit that above-mentioned default bridger listens to bullet frame column receives click
After event information, the click event information is forwarded in current page.
On the basis of above-mentioned technical proposal, the bullet frame column circulation processing module makes current page be quoted using signal pond
Mode will click on the idiographic flow that event information is forwarded in the title element container of title bar and be:In current page and title
Between the title element container on column create a signal pond, the signal pond have the title element container of title bar reference and
The reference of current page;After the click event information for playing frame column is received once current page, it will click on event information and be forwarded to letter
In number pond;After signal pond receives the click event information that current page forwards, the click event information is forwarded to mark
In the title element container for inscribing column.
The beneficial effects of the present invention are:
(1) in the present invention, title bar, bullet frame column are disposed as carrying to the letter of title element using title element container
Cease, and the click event of respective title element is monitored by the data adapter unit corresponding to respective title element container;
When some title for listening to title bar is clicked, corresponding event information of clicking on can be forwarded in current page, then pass through
Current page is crossed to be forwarded in the title element container for playing frame column;When some title for listening to bullet frame column is clicked, also can
Corresponding event information of clicking on is forwarded in current page, then the title element container of title bar is forwarded to by current page
In, it is achieved thereby that the two-way communication between title bar and bullet frame column.
Compared with prior art, the present invention can realize that tab bar communicates with playing the message synchronization between frame column, not only communicate
Hierarchical structure is simply clear, and the tracking difficulty for clicking on event information is small;Moreover, third party's communications framework, Bu Huizeng need not be introduced
Plus item purpose complexity and resource overhead is small.
(2) in the present invention, current page will click on event information and be forwarded to the title element container for playing frame column or title bar
When middle, forwarded using the mode of signal pond reference.The signal pond quote mode, can not only reduce play frame column or
Close coupling relation between the title element container and current page of title bar, additionally it is possible to greatly improve the scalability of program
And maintainability.
Brief description of the drawings
Fig. 1 is the flow chart of method of the title bar with playing frame column synchronous communication in the embodiment of the present invention;
Fig. 2 is the page in the embodiment of the present invention, title bar and the schematic diagram for playing the hierarchical relationship between frame column;
Fig. 3 is the structural representation of equipment of the title bar with playing frame column synchronous communication in the embodiment of the present invention;
Fig. 4 is the structured flowchart of system of the title bar with playing frame column synchronous communication in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of method of title bar with playing frame column synchronous communication, this method bag
Include following steps:
Step S1, setting of the title bar with playing frame column:Title bar, bullet frame column are configured, make title bar, bullet frame column equal
Title element information, and the data adapter unit corresponding to by respective title element container are carried using title element container
To monitor the click event of respective title element.
For example, so that operating system is android system as an example, in one embodiment, the title element is held
Device can be the RecycleVIew containers that android system provides, and the data adapter unit can be that RecycleVIew containers are corresponding
Android adapters Adapter (hereinafter referred to as Adapter).The characteristics of RecycleVIew container maximums is to carry
The element information of same type, and the data of element information are carried out from corresponding Adapter in RecycleVIew containers
Loading.Specifically, storage needs the title element information of the title bar shown in Adapter, then passes through calling
Adapter in RecycleVIew containers sets function setadapter that Adapter is passed into RecycleVIew containers,
RecycleVIew containers can just be showed the title element information of title bar by loading the data in Adapter.
By the description above it can be found that data (title element information) be from Adapter come, that is to say, that
Adapter is the object most understood data (title element information).And when user clicks on title bar, its essence
When namely user operates to data (title element information), now Adapter is can to get the title bar
Click event information.Because RecycleVIew containers are in itself a container, mainly it is responsible for showing view elements,
And for view elements possessed function, such as monitor, then performed in Adapter, therefore, can passed through
Adapter monitors the click event of title element in title bar.Specifically, by by each element in Adapter
Calling to click on to monitor sets function setOnClickListener to set the monitoring of the element in Adapter, that is, sets
The click action listener of the title element of title bar in RecycleVIew containers.By setting monitoring in Adapter
Afterwards, when user clicks on some element (i.e. some title) in RecycleVIew containers, android system meeting
First by the click event capturing and it is forwarded in Adapter, what the title that such Adapter just listens to title bar was pressed
Event.
Due to play frame column be to present with title bar identical data message, the view area for simply playing frame column can be bigger by one
A bit.Therefore, it is also to use title element container for playing frame column based on above-mentioned identical design principle, as RecycleVIew holds
Device carries title element information, and the monitor method for playing the click event on frame column is also and the monitor method of above-mentioned title bar one
Sample, here is omitted.
In addition, it is necessary to, it is emphasized that above-mentioned android system example is only an example, in others system
In system (such as in IOS systems), container control, adapter control and the implementation specifically selected, can be according to other
Situations such as actual function of system, code, interface, specifically design and adjust, and is not limited herein.
Step S2, processing of the title bar event to the circulation of bullet frame column:When the data adapter unit of title bar listens to title bar
Some title element click event when, the click event information for being received data adapter unit by default bridger turns
It is sent in current page (such as current second-level menu page);Current page will click on event letter by the way of signal pond is quoted
Breath is forwarded in the title element container for playing frame column.
It is understood that the hierarchical relationship being only apparent between the page, title bar and bullet frame column can
Know the specific circulation flow for clicking on event information.Just the hierarchical relationship between the page, title bar and bullet frame column is entered below
Row is briefly introduced.As shown in Fig. 2 the solid border in figure represents the page of an application program, also referred to as Fragment is (broken
Piece);Dotted box portion in figure, which represents, plays frame column, the corresponding title element container for playing frame column, and the title on frame column is played for showing
Information;The audio-visual part of oblique line in figure represents title bar, the title element container of corresponding title bar, for showing title bar
Heading message.Can be seen that title bar from above-mentioned hierarchical relationship and play frame column is all between the page.But due to title
Column, the click event information on bullet frame column all are monitored to obtain by data adapter unit corresponding to respective title element container, and
The title element container for playing frame column does not have the data adapter unit for holding title bar, can not be directly from mark so clicking on event information
The data adapter unit on column is inscribed into the title element container for reaching bullet frame column, it is necessary to forwarded by page Fragment,
Rather than directly it is sent to by the data adapter unit of title bar in the title element container for playing frame column.
Based on above-mentioned principle analysis, in the embodiment of the present invention, title bar clicks on event information to the stream for playing the circulation of frame column
Cheng Shi:First data adapter unit circulates into page Fragment corresponding to the title element container from title bar, then the page
Fragment will click on event information and is forwarded in the title element container for playing frame column again.Further, in the embodiment of the present invention,
It is that the click event information that data adapter unit receives is forwarded in current page by default bridger.It is specific next
Say, in step S2, the click event information that data adapter unit receives is forwarded in current page by default bridger
Idiographic flow include:
1st, page Fragment is arranged to monitor the click in the data adapter unit of title bar by default bridger
Event information, the default bridger are arranged between page Fragment and the data adapter unit of title bar;
Once the 2nd, default bridger listen to title bar data adapter unit receive operating system readjustment click thing
After part information, the click event information can be forwarded directly in current page by the bridger.
Further, in the embodiment of the present invention, page Fragment plays frame column will click on event information and be forwarded to
When in title element container, be using signal pond quote by the way of forwarded.The side for why using signal pond to quote
Formula is forwarded, be in order to reduce the close coupling relation between the title element container and page Fragment that play frame column, this
The autgmentability and maintainability that are designed to greatly improve program of sample.Specifically, in step S2, current page is using letter
The mode that number pond is quoted, which will click on the idiographic flow that event information is forwarded in the title element container for playing frame column, to be included:
1st, a signal pond is created between the title element container on page Fragment and bullet frame column, the signal pond has
Play the reference of title element container and page Fragment reference on frame column;
2nd, after page Fragment receives the click event information of title bar, will click on by way of function call
Event information be forwarded in signal pond (due to there is adduction relationship between signal pond and page Fragment, therefore, can be direct
It will click on event information by way of function call to be forwarded in signal pond);Signal pond receives page Fragment forwardings
After the click event information to come over, the click event information is forwarded to the title element for playing frame column by way of function call
In container.
Step S3, the processing that frame column event circulates to title bar is played:Frame column is played when the data adapter unit for playing frame column listens to
Some title element click event when, the click event information for being received data adapter unit by default bridger turns
It is sent in current page (such as current second-level menu page);Current page will click on event letter by the way of signal pond is quoted
Breath is forwarded in the title element container of title bar.
It is understood that title element information is carried using title element container due to playing frame column headings column, and
The click event of respective title element is monitored by the data adapter unit corresponding to respective title element container, therefore,
Play frame column click on event information circulation to the circulation process of title bar can use with identical flowing mode in step S2, i.e., it is first
Circulated from data adapter unit corresponding to the title element container on frame column is played by bridger into page Fragment, then the page
Fragment will click on event information by the way of signal pond is quoted again and be forwarded in the title element container of title bar.Due to
The process that specifically circulated in step 2 (including the detailed process that is forwarded by bridger and is turned using signal pond
The detailed process of hair) it is described in detail, so, related circulation process, whole circulation side are repeated no more in this step
Formula is identical, it will be appreciated that is step S2 contrary operation.
Can ensure that title bar by aforesaid operations and play integrality that communication is synchronized between frame column so that title bar with
Play between frame column can two-way communication, i.e. the click event information of title bar can synchronously circulate to frame column is played, and play the point on frame column
Hitting event information can also synchronously circulate to title bar, so as to reach the purpose of the bi-directional between information.
In addition, it is necessary to explanation is:During practical operation, step S2 and step S3 can simultaneously be performed or entered according to actual conditions
The adjustment of row sequencing, the present embodiment are only an instantiation, are not the limitation to its sequencing.
Method of the corresponding above-mentioned title bar with playing frame column synchronous communication, the embodiment of the present invention also provide a kind of storage and are situated between
Matter, computer program is stored thereon with, the title in the various embodiments described above can be realized when the computer program is executed by processor
The step of column and the method for bullet frame column synchronous communication.It should be noted that the storage medium includes USB flash disk, mobile hard disk, ROM
(Read-Only Memory, read-only storage), RAM (Random Access Memory, random access memory), magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
In addition, shown in Figure 3, method of the corresponding above-mentioned title bar with playing frame column synchronous communication, the embodiment of the present invention
A kind of equipment of title bar with playing frame column synchronous communication is also provided, including memory, processor and storage are on a memory and can
The computer program run on a processor, the title in the various embodiments described above can be realized during the computing device computer program
The step of column and the method for bullet frame column synchronous communication.
Shown in Figure 4, the embodiment of the present invention also provides a kind of system of title bar with playing frame column synchronous communication, the system
Including title bar with playing frame column setup module, title bar circulation processing module, playing frame column circulation processing module.
Wherein, title bar is used for playing frame column setup module:Title bar, bullet frame column are configured, makes title bar, play frame
Column carries the information of title element, and the data corresponding to by respective title element container using title element container
Adapter monitors the click event of respective title element;
Title bar circulation processing module is used for:When the data adapter unit of title bar listens to some title element of title bar
Click event when, the click event information that data adapter unit receives is forwarded to by current page by default bridger
In;Make current page will click on event information by the way of signal pond is quoted to be forwarded in the title element container on bullet frame column;
Frame column circulation processing module is played to be used for:When the data adapter unit for playing frame column listens to some title element on bullet frame column
Click event when, the click event information that data adapter unit receives is forwarded to by current page by default bridger
In;Make current page will click on event information by the way of signal pond is quoted to be forwarded in the title element container of title bar.
It should be noted that:The system that above-described embodiment provides is realizing title bar and is playing the synchronous communication between frame column
When, can be as needed and by above-mentioned function distribution only with the division progress of above-mentioned each functional module for example, in practical application
Completed by difference in functionality module, i.e., the internal structure of system is divided into different functional modules, it is described above complete to complete
Portion or partial function.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.
The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (10)
1. a kind of title bar and the method for playing frame column synchronous communication, it is characterised in that this method comprises the following steps:
Title bar and the setting for playing frame column:Title bar, bullet frame column are configured, makes title bar, play frame column using title member
Plain container is monitored respectively to carry the information of title element by the data adapter unit corresponding to respective title element container
From title element click event;
Circulation of the title bar event to bullet frame column:When the data adapter unit of title bar listens to some title element of title bar
During click event, the click event information that data adapter unit receives is forwarded in current page by default bridger;
Current page will click on event information by the way of signal pond is quoted and be forwarded in the title element container on bullet frame column;
Play circulation of the frame column event to title bar:When the data adapter unit for playing frame column listens to some title element on bullet frame column
During click event, the click event information that data adapter unit receives is forwarded in current page by default bridger;
Current page will click on event information by the way of signal pond is quoted and be forwarded in the title element container of title bar.
2. title bar as claimed in claim 1 and the method for playing frame column synchronous communication, it is characterised in that:The title bar event
Into the circulation operation for playing frame column, the click event information that data adapter unit receives is forwarded to by default bridger and worked as
In the preceding page, following operation is specifically included:
Current page is arranged to monitor the click event information in the data adapter unit of title bar by default bridger, should
Default bridger is arranged between current page and the data adapter unit of title bar;Once above-mentioned default bridger listens to
After the data adapter unit of title bar receives click event information, the click event information is forwarded in current page;
In the circulation operation that frame column event is played to title bar, the point that is received data adapter unit by default bridger
Hit event information to be forwarded in current page, specifically include following operation:
Current page is arranged to monitor the click event information in the data adapter unit for playing frame column by default bridger, should
Default bridger is arranged between current page and the data adapter unit for playing frame column;Once above-mentioned default bridger listens to
After the data adapter unit on bullet frame column receives click event information, the click event information is forwarded in current page.
3. title bar as claimed in claim 1 and the method for playing frame column synchronous communication, it is characterised in that:The title bar event
Into the circulation operation for playing frame column, current page will click on event information by the way of signal pond is quoted and be forwarded to bullet frame column
In title element container, following operation is specifically included:
A signal pond is created between the title element container on current page and bullet frame column, the signal pond has the mark for playing frame column
Inscribe the reference of element container and the reference of current page;, will after current page receives the click event information of title bar
Event information is clicked on to be forwarded in signal pond;After signal pond receives the click event information that current page forwards, by this
Event information is clicked on to be forwarded in the title element container for playing frame column;
In the circulation operation that frame column event is played to title bar, current page will click on event by the way of signal pond is quoted
Information is forwarded in the title element container of title bar, specifically includes following operation:
A signal pond is created between current page and the title element container of title bar, the signal pond has the mark of title bar
Inscribe the reference of element container and the reference of current page;, will after the click event information for playing frame column is received once current page
Event information is clicked on to be forwarded in signal pond;After signal pond receives the click event information that current page forwards, by this
Event information is clicked on to be forwarded in the title element container of title bar.
4. a kind of storage medium, is stored thereon with computer program, it is characterised in that:The computer program is executed by processor
Any one of Shi Shixian the claims 1 to 3 the step of method.
5. a kind of title bar and the equipment for playing frame column synchronous communication, including memory, processor and be stored on the memory
And the computer program run on the processor, it is characterised in that:It is real during computer program described in the computing device
Any one of existing the claims 1 to 3 the step of method.
6. a kind of title bar and the system for playing frame column synchronous communication, it is characterised in that:The system includes title bar and set with playing frame column
Put module, title bar circulation processing module, play frame column circulation processing module;
The title bar is used for playing frame column setup module:Title bar, bullet frame column are configured, make title bar, bullet frame column equal
The information of title element, and the data adaptation corresponding to by respective title element container are carried using title element container
Device monitors the click event of respective title element;
The title bar circulation processing module is used for:When the data adapter unit of title bar listens to some title element of title bar
Click event when, the click event information that data adapter unit receives is forwarded to by current page by default bridger
In;Make current page will click on event information by the way of signal pond is quoted to be forwarded in the title element container on bullet frame column;
The bullet frame column circulation processing module is used for:When the data adapter unit for playing frame column listens to some title element on bullet frame column
Click event when, the click event information that data adapter unit receives is forwarded to by current page by default bridger
In;Make current page will click on event information by the way of signal pond is quoted to be forwarded in the title element container of title bar.
7. title bar as claimed in claim 6 and the system for playing frame column synchronous communication, it is characterised in that the title bar circulation
The click event information that data adapter unit receives is forwarded to the tool in current page by default bridger by processing module
Body flow is:
Current page is arranged to monitor the click event information in the data adapter unit of title bar by default bridger, should
Default bridger is arranged between current page and the data adapter unit of title bar;Once above-mentioned default bridger listens to
After the data adapter unit of title bar receives click event information, the click event information is forwarded in current page.
8. title bar as claimed in claim 6 and the system for playing frame column synchronous communication, it is characterised in that the title bar circulation
Processing module makes current page will click on the title element appearance that event information is forwarded to bullet frame column by the way of signal pond is quoted
Idiographic flow in device is:
A signal pond is created between the title element container on current page and bullet frame column, the signal pond has the mark for playing frame column
Inscribe the reference of element container and the reference of current page;, will after current page receives the click event information of title bar
Event information is clicked on to be forwarded in signal pond;After signal pond receives the click event information that current page forwards, by this
Event information is clicked on to be forwarded in the title element container for playing frame column.
9. title bar as claimed in claim 6 and the system for playing frame column synchronous communication, it is characterised in that bullet frame column circulation
The click event information that data adapter unit receives is forwarded to the tool in current page by default bridger by processing module
Body flow is:
Current page is arranged to monitor the click event information in the data adapter unit for playing frame column by default bridger, should
Default bridger is arranged between current page and the data adapter unit for playing frame column;Once above-mentioned default bridger listens to
After the data adapter unit on bullet frame column receives click event information, the click event information is forwarded in current page.
10. title bar as claimed in claim 6 and the system for playing frame column synchronous communication, it is characterised in that bullet frame column stream
Turning processing module makes current page will click on the title element that event information is forwarded to title bar by the way of signal pond is quoted
Idiographic flow in container is:
A signal pond is created between current page and the title element container of title bar, the signal pond has the mark of title bar
Inscribe the reference of element container and the reference of current page;, will after the click event information for playing frame column is received once current page
Event information is clicked on to be forwarded in signal pond;After signal pond receives the click event information that current page forwards, by this
Event information is clicked on to be forwarded in the title element container of title bar.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710641535.0A CN107450992B (en) | 2017-07-31 | 2017-07-31 | Method, storage medium, device and system for synchronous communication between title bar and popup bar |
PCT/CN2018/081319 WO2019024522A1 (en) | 2017-07-31 | 2018-03-30 | Method, device and system for synchronous communication between title bar and pop-up bar, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710641535.0A CN107450992B (en) | 2017-07-31 | 2017-07-31 | Method, storage medium, device and system for synchronous communication between title bar and popup bar |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107450992A true CN107450992A (en) | 2017-12-08 |
CN107450992B CN107450992B (en) | 2020-05-12 |
Family
ID=60489874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710641535.0A Active CN107450992B (en) | 2017-07-31 | 2017-07-31 | Method, storage medium, device and system for synchronous communication between title bar and popup bar |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107450992B (en) |
WO (1) | WO2019024522A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019024522A1 (en) * | 2017-07-31 | 2019-02-07 | 武汉斗鱼网络科技有限公司 | Method, device and system for synchronous communication between title bar and pop-up bar, and storage medium |
CN112612449A (en) * | 2020-12-17 | 2021-04-06 | 深圳前海微众银行股份有限公司 | Method, device, equipment and storage medium for synchronizing webpage |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914204A (en) * | 2012-12-31 | 2014-07-09 | 北京新媒传信科技有限公司 | Method and device for displaying and switching views |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6496873B1 (en) * | 1999-05-21 | 2002-12-17 | International Business Machines Corporation | Real time device driver interface apparatus and method therefor |
CN105955832B (en) * | 2016-05-12 | 2019-06-21 | 武汉斗鱼网络科技有限公司 | A kind of method and system communicated with each other between the device screen page and subpage frame |
CN106201488B (en) * | 2016-06-30 | 2019-08-30 | 国云科技股份有限公司 | A kind of reusable step window implementation method |
CN106775970B (en) * | 2016-12-01 | 2018-02-09 | 掌阅科技股份有限公司 | Window operation synchronous method, device and the electronic equipment of striding course |
CN107450992B (en) * | 2017-07-31 | 2020-05-12 | 武汉斗鱼网络科技有限公司 | Method, storage medium, device and system for synchronous communication between title bar and popup bar |
-
2017
- 2017-07-31 CN CN201710641535.0A patent/CN107450992B/en active Active
-
2018
- 2018-03-30 WO PCT/CN2018/081319 patent/WO2019024522A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914204A (en) * | 2012-12-31 | 2014-07-09 | 北京新媒传信科技有限公司 | Method and device for displaying and switching views |
Non-Patent Citations (1)
Title |
---|
比尔.菲利普斯等: "《Android编程权威指南 第3版》", 30 June 2017 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019024522A1 (en) * | 2017-07-31 | 2019-02-07 | 武汉斗鱼网络科技有限公司 | Method, device and system for synchronous communication between title bar and pop-up bar, and storage medium |
CN112612449A (en) * | 2020-12-17 | 2021-04-06 | 深圳前海微众银行股份有限公司 | Method, device, equipment and storage medium for synchronizing webpage |
CN112612449B (en) * | 2020-12-17 | 2024-06-18 | 深圳前海微众银行股份有限公司 | Webpage synchronization method and device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107450992B (en) | 2020-05-12 |
WO2019024522A1 (en) | 2019-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10484531B2 (en) | User interface for classroom management | |
US10192456B2 (en) | Stimulating online discussion in interactive learning environments | |
CN104657251B (en) | A kind of electronic equipment use state monitoring method and device | |
CN107295050A (en) | Front end user behavioral statisticses method and device | |
CN106128188A (en) | Desktop education focus analyzes system and the method for analysis thereof | |
CN107277242A (en) | A kind of processing method of displaying information on screen, display methods and display system | |
CN102411540B (en) | Automatic management system of workflow-based common software testing process | |
CN105808070A (en) | Method and device for setting commenting showing effect | |
CN102932238A (en) | Reminding method and equipment of group messages | |
WO2007111648A3 (en) | Modeling interactions with a computer system | |
WO2008148122A3 (en) | Method and apparatus for computer network bandwidth control and congestion management | |
CN104298721B (en) | A kind of arbitrarily a object split screen layout edit methods of the online courseware development based on Web | |
CN107450992A (en) | Title bar and method, storage medium, equipment and the system for playing frame column synchronous communication | |
CN102662664A (en) | Interface animation realization method and system | |
CN106569596A (en) | Gesture control method and equipment | |
CN107911227A (en) | A kind of breakpoint data follow-up method, electronic device and computer-readable recording medium | |
CN109754072A (en) | Processing method, artificial intelligence process device and the Related product of internet off-line model | |
CN110349066A (en) | A kind of children education auxiliary system and method | |
CN106028172A (en) | Audio/video processing method and device | |
CN105979275A (en) | Kindergarten live broadcasting cloud service system | |
CN106095660A (en) | The quality control method of application and device | |
CN104063155A (en) | Content sharing method and device and electronic equipment | |
Robbins | DeBugging Applications with Cdrom | |
CN104598245B (en) | The method, device and mobile terminal of chat | |
WO2004023427A3 (en) | System for providing computer-assisted development |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |