#buttons panel & graphql schema

42 messages · Page 1 of 1 (latest)

paper rivet
#

Hi everyone, i should make a buttons panel and in this panel buttons should running a mution in graphql schema and this schema i should make it. I don't ask to give me a code or helping in code. All i want are sources. My english is bad, i search in internet but i don't find. Sources explain how to use graphql schema with button and make graphql will be enough.please hep me🌸

fallen fjordBOT
#

This post has been reserved for your question.

Hey @paper rivet! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

vague beacon
#

Do you mean links when saying sources?

#

What buttons do you mean? What exactly is the issue?

fallen fjordBOT
#

💤 Post marked as dormant

This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.

paper rivet
paper rivet
# vague beacon What buttons do you mean? What exactly is the issue?

I will make a basic button panel in java by extends it from jbutton button. And i should use graphql this is my project but i don't have any lecture about this. So i don't how i can do it so i need to sources to learn. I can make buttons in java i don't have problem with this.

vague beacon
#

oh so you are interested in resources about graphql/what it is?

paper rivet
#

Yes, the teacher says we will make imaginary or real schema and the button will run mutation in the schema but i don't know how make a schema or make the button run mutation in the schema

paper rivet
vague beacon
#

Do you know what graphql is?

paper rivet
#

Nope, i search about this but i don't understand enough

vague beacon
#
#

graphql is a way to write web APIs

#

you can create a "schema" that describes the data you you serve

#

and clients can request parts of that data

paper rivet
paper rivet
#

Because i don't find another mission to schema in this project

vague beacon
#

but the data would change

#

the schema essentially describes the format of the data

#

the schema tells you things like "users consist of a name, an E-mail, a birthday and a gender"

paper rivet
vague beacon
paper rivet
#

Then it is consists of press keys

vague beacon
#

I have no idea how that is related to graphql

paper rivet
#

This is i don't understand too

vague beacon
#

Is there a task description?

paper rivet
#

Thanks for your effort again

paper rivet
vague beacon
#

Can you run it through a translator?

paper rivet
#

Of course

paper rivet
# vague beacon Can you run it through a translator?

It is desired to design a screen with 4x4 buttons on it.

The button on the screen will be created by overriding the standard Java GUI button.

In addition to the standard features of the button object, it will also have the ability to contain a GraphQL schema address.

The information that the button object will be written to this schema will be adjustable as its property.

The button object will have two more properties: active color and passive color.

The button object will have two more properties: active icon and passive icon.

The buttons, arranged on a 4x4 shaped panel, remained in the passive strip and remained passive if they were not pressed before. When the button is pressed, the active color and active icon will appear.

If in the region, for example, after pressing the 1st button, then pressing the 2nd and any subsequent unpressed buttons, the active color and active icon will appear. However, when the 1st button is pressed again, the previously pressed buttons (if any) will become passive and only the button pressed again will be active.

Based on the button, a mutation will be run on a real or imaginary GraphQL update that you specify.

The text values, active color and active icon contents of the buttons can be created dynamically on the screen during design or at run time.

vague beacon
#

I think it means you should cone up with some/any graphql update/mutation and do that when a button is pressed

#

and I think it doesn't even need to send the update to a real server

paper rivet
vague beacon
#

but feel free to research other things if you think it makes sense

paper rivet
fallen fjordBOT
# paper rivet Hımm, thanks for your help😊

If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.